From 61227ce7a0f7c186d1265bb62a528b009c99bb54 Mon Sep 17 00:00:00 2001 From: andryeyev Date: Thu, 26 Nov 2015 15:57:14 +0200 Subject: [PATCH] + fix login/translate --- common/config/main.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/common/config/main.php b/common/config/main.php index a288bcf..21154a7 100644 --- a/common/config/main.php +++ b/common/config/main.php @@ -27,7 +27,7 @@ return [ ], 'i18n' => [ 'translations' => [ - 'app*' => [ + '*' => [ 'class' => 'yii\i18n\PhpMessageSource', 'basePath' => '@common/translation', 'fileMap' => [ @@ -35,6 +35,14 @@ return [ 'app/error' => 'error.php', ], ], + 'app' => [ + 'class' => 'yii\i18n\PhpMessageSource', + 'basePath' => '@common/translation', + 'fileMap' => [ + 'app' => 'app.php', + 'app/error' => 'error.php', + ], + ] ], ], 'authManager' => [ -- libgit2 0.21.4