Skip to content

Commit

Permalink
Updated translations
Browse files Browse the repository at this point in the history
  • Loading branch information
SilverFire committed Jun 14, 2016
1 parent 7ed5adc commit a2ee6d6
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/config/hisite.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,17 @@
'dashboard' => \hipanel\modules\dashboard\SidebarMenu::class,
],
],
'i18n' => [
'translations' => [
'hipanel/dashboard' => [
'class' => 'yii\i18n\PhpMessageSource',
'basePath' => '@hipanel/modules/dashboard/messages',
'fileMap' => [
'hipanel/dashboard' => 'dashboard.php',
],
],
],
],
],
'modules' => [
'dashboard' => [
Expand Down
7 changes: 7 additions & 0 deletions src/messages/ru/dashboard.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?php

return [
'Dashboard' => 'Главная',
'{0, plural, other{total}}' => '{0, plural, other{всего}}',
'{0, plural, other{# own}}' => '{0, plural, one{# свой} other{# своих}}',
];

0 comments on commit a2ee6d6

Please sign in to comment.