Skip to content

Commit 1a10c5e

Browse files
committed
Merge pull request #25 from dogrocker/dogrocker-patch-1
Add Thai Translations
2 parents 18537fc + a31975a commit 1a10c5e

File tree

2 files changed

+28
-2
lines changed

2 files changed

+28
-2
lines changed

messages/config.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
'messagePath' => __DIR__,
77
// array, required, list of language codes that the extracted messages
88
// should be translated to. For example, ['zh-CN', 'de'].
9-
'languages' => ['ar', 'de', 'dk', 'en', 'es', 'fa', 'fi', 'fr', 'gr', 'he', 'hr', 'id', 'it', 'ja', 'nl', 'pl', 'pt', 'pt-BR', 'ru', 'sv', 'tr', 'zh-CN', 'zh-TW'],
9+
'languages' => ['ar', 'de', 'dk', 'en', 'es', 'fa', 'fi', 'fr', 'gr', 'he', 'hr', 'id', 'it', 'ja', 'nl', 'pl', 'pt', 'pt-BR', 'ru', 'sv', 'th', 'tr', 'zh-CN', 'zh-TW'],
1010
// string, the name of the function for translating messages.
1111
// Defaults to 'Yii::t'. This is used as a mark to find the messages to be
1212
// translated. You may use a string for single function name or an array for
@@ -48,4 +48,4 @@
4848
// When format is "db", you may specify the following two options
4949
//'db' => 'db',
5050
//'sourceMessageTable' => '{{%source_message}}',
51-
];
51+
];

messages/th/kvcolor.php

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<?php
2+
/**
3+
* Message translations.
4+
*
5+
* This file is automatically generated by 'yii message' command.
6+
* It contains the localizable messages extracted from source code.
7+
* You may modify this file by translating the extracted messages.
8+
*
9+
* Each array element represents the translation (value) of a message (key).
10+
* If the value is empty, the message is considered as not translated.
11+
* Messages that no longer need translation will have their translations
12+
* enclosed between a pair of '@@' marks.
13+
*
14+
* Message string can be used with plural forms format. Check i18n section
15+
* of the guide for details.
16+
*
17+
* NOTE: this file must be saved in UTF-8 encoding.
18+
*/
19+
return [
20+
'Clear Color Selection' => 'ยกเลิกสีที่เลือก',
21+
'No Color Selected' => 'ไม่ได้เลือกสี',
22+
'cancel' => 'ยกเลิก',
23+
'choose' => 'เลือก',
24+
'less' => 'น้อยลง',
25+
'more' => 'เพิ่มเติม',
26+
];

0 commit comments

Comments
 (0)