diff --git a/common/config/main.php b/common/config/main.php index c8adc95..884a6b2 100755 --- a/common/config/main.php +++ b/common/config/main.php @@ -24,7 +24,11 @@ 'translations' => [ 'core' => [ 'class' => 'yii\i18n\PhpMessageSource', - 'basePath' => '@artbox/core/messages', + 'basePath' => '@artbox/catalog/messages', + ], + 'catalog' => [ + 'class' => 'yii\i18n\PhpMessageSource', + 'basePath' => '@artbox/catalog/messages', ], 'app' => [ 'class' => 'yii\i18n\PhpMessageSource', diff --git a/composer.json b/composer.json index c9d14e9..41f5dbd 100755 --- a/composer.json +++ b/composer.json @@ -55,7 +55,8 @@ ], "autoload": { "psr-4": { - "artbox\\core\\": "artweb/artbox-core/" + "artbox\\core\\": "artweb/artbox-core/", + "artbox\\catalog\\": "artweb/artbox-catalog/" } } } -- libgit2 0.21.4