Skip to content

Commit

Permalink
added translations for hisite and hisite/page
Browse files Browse the repository at this point in the history
  • Loading branch information
hiqsol committed Aug 17, 2016
1 parent e25f3e8 commit 60f9f31
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/config/hisite.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,23 @@
'<_c:[\w\-]+>/<_a:[\w\-]+>/<id:\d+>' => '<_c>/<_a>',
],
],
'i18n' => [
'translations' => [
'hisite' => [
'class' => \yii\i18n\PhpMessageSource::class,
'basePath' => '@hisite/messages',
'fileMap' => [
'hisite' => 'hisite.php',
],
],
'hisite/page' => [
'class' => \yii\i18n\PhpMessageSource::class,
'basePath' => '@hisite/messages',
'fileMap' => [
'page' => 'page.php',
],
],
],
],
],
];
3 changes: 3 additions & 0 deletions src/messages/ru/hisite.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<?php

return [];
3 changes: 3 additions & 0 deletions src/messages/ru/page.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<?php

return [];

0 comments on commit 60f9f31

Please sign in to comment.