Skip to content

Commit

Permalink
changed Plugin according to changed PluginManager
Browse files Browse the repository at this point in the history
  • Loading branch information
hiqsol committed Nov 25, 2015
1 parent 40a8984 commit 13e7b47
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions src/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,18 @@ class Plugin extends \hiqdev\pluginmanager\Plugin
'class' => 'hipanel\modules\hosting\Module',
],
],
'translations' => [
'hipanel/hosting' => [
'class' => 'yii\i18n\PhpMessageSource',
'basePath' => '@hipanel/modules/hosting/messages',
'fileMap' => [
'hipanel/hosting' => 'hosting.php',
]
]
]
'components' => [
'i18n' => [
'translations' => [
'hipanel/hosting' => [
'class' => 'yii\i18n\PhpMessageSource',
'basePath' => '@hipanel/modules/hosting/messages',
'fileMap' => [
'hipanel/hosting' => 'hosting.php',
],
],
],
],
],
];
}

0 comments on commit 13e7b47

Please sign in to comment.