From 643bda1f4aeb7f3afe4b63d23763c40c6187c972 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mindaugas=20Kasparavi=C4=8Dius?= Date: Tue, 14 Apr 2015 17:05:41 +0300 Subject: [PATCH] Added translation support for Lithuanian language. --- messages/config.php | 2 +- messages/lt/kveditable.php | 24 ++++++++++++++++++++++++ 2 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 messages/lt/kveditable.php diff --git a/messages/config.php b/messages/config.php index d4811b3..a28e5e4 100644 --- a/messages/config.php +++ b/messages/config.php @@ -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 diff --git a/messages/lt/kveditable.php b/messages/lt/kveditable.php new file mode 100644 index 0000000..1a4ca6d --- /dev/null +++ b/messages/lt/kveditable.php @@ -0,0 +1,24 @@ + 'Išsaugoti', + 'Reset' => 'Atstatyti', + 'Edit' => 'Redaguoti', + '(not set)' => 'Nenustatyta', +];