Skip to content

Commit

Permalink
Fixes #6: messages path correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
lichunqiang committed Dec 15, 2015
1 parent f178b82 commit 329339e
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion backend/config/i18n.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
// 'php' output format is for saving messages to php files.
'format' => 'php',
// Root directory containing message translations.
'messagePath' => __DIR__,
'messagePath' => __DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'messages',
// boolean, whether the message file should be overwritten with the merged messages
'overwrite' => true,

Expand Down
Empty file added backend/messages/.gitkeep
Empty file.
2 changes: 1 addition & 1 deletion frontend/config/i18n.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
// 'php' output format is for saving messages to php files.
'format' => 'php',
// Root directory containing message translations.
'messagePath' => __DIR__,
'messagePath' => __DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'messages',
// boolean, whether the message file should be overwritten with the merged messages
'overwrite' => true,

Expand Down
Empty file added frontend/messages/.gitkeep
Empty file.

0 comments on commit 329339e

Please sign in to comment.