Conditions | 2 |
Paths | 2 |
Total Lines | 12 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
19 | public function bootstrap($app) |
||
20 | { |
||
21 | \Yii::setAlias('@cornernote/dashboard', __DIR__); |
||
22 | |||
23 | if ($app->has('i18n')) { |
||
24 | $app->i18n->translations['dashboard'] = [ |
||
25 | 'class' => 'yii\i18n\PhpMessageSource', |
||
26 | 'sourceLanguage' => 'en', |
||
27 | 'basePath' => '@cornernote/dashboard/messages', |
||
28 | ]; |
||
29 | } |
||
30 | } |
||
31 | } |
||
32 |