Commit 61227ce7a0f7c186d1265bb62a528b009c99bb54

Authored by andryeyev
1 parent 280e92c2

+ fix login/translate

Showing 1 changed file with 9 additions and 1 deletions   Show diff stats
common/config/main.php
... ... @@ -27,7 +27,7 @@ return [
27 27 ],
28 28 'i18n' => [
29 29 'translations' => [
30   - 'app*' => [
  30 + '*' => [
31 31 'class' => 'yii\i18n\PhpMessageSource',
32 32 'basePath' => '@common/translation',
33 33 'fileMap' => [
... ... @@ -35,6 +35,14 @@ return [
35 35 'app/error' => 'error.php',
36 36 ],
37 37 ],
  38 + 'app' => [
  39 + 'class' => 'yii\i18n\PhpMessageSource',
  40 + 'basePath' => '@common/translation',
  41 + 'fileMap' => [
  42 + 'app' => 'app.php',
  43 + 'app/error' => 'error.php',
  44 + ],
  45 + ]
38 46 ],
39 47 ],
40 48 'authManager' => [
... ...