Skip to content

Commit

Permalink
Added translation support for Lithuanian language.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mindaugas Kasparavičius committed Apr 14, 2015
1 parent eddb718 commit 643bda1
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
2 changes: 1 addition & 1 deletion messages/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
'messagePath' => __DIR__ . DIRECTORY_SEPARATOR . 'messages',
// array, required, list of language codes that the extracted messages
// should be translated to. For example, ['zh-CN', 'de'].
'languages' => ['da', 'en', 'ru','it', 'es'],
'languages' => ['da', 'en', 'ru','it', 'es', 'lt'],
// string, the name of the function for translating messages.
// Defaults to 'Yii::t'. This is used as a mark to find the messages to be
// translated. You may use a string for single function name or an array for
Expand Down
24 changes: 24 additions & 0 deletions messages/lt/kveditable.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?php
/**
* Message translations.
*
* This file is automatically generated by 'yii message' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
*
* Each array element represents the translation (value) of a message (key).
* If the value is empty, the message is considered as not translated.
* Messages that no longer need translation will have their translations
* enclosed between a pair of '@@' marks.
*
* Message string can be used with plural forms format. Check i18n section
* of the guide for details.
*
* NOTE: this file must be saved in UTF-8 encoding.
*/
return [
'Apply' => 'Išsaugoti',
'Reset' => 'Atstatyti',
'Edit' => 'Redaguoti',
'(not set)' => 'Nenustatyta',
];

0 comments on commit 643bda1

Please sign in to comment.