diff options
author | Andreas Gohr <andi@splitbrain.org> | 2014-02-02 12:38:22 -0800 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2014-02-02 12:38:22 -0800 |
commit | 69736a139a14ee8cb2a439b34d64f964a0519a03 (patch) | |
tree | 1ea14bc2aeae52c2fea54adde609806f89bfc7ac /inc/lang/th | |
parent | 8f8f057a71acccc5537691d6437a3651e68a2ebc (diff) | |
parent | 4d4058eec6b089a303975dfd71f16fd42f55f11b (diff) | |
download | rpg-69736a139a14ee8cb2a439b34d64f964a0519a03.tar.gz rpg-69736a139a14ee8cb2a439b34d64f964a0519a03.tar.bz2 |
Merge pull request #503 from splitbrain/datepickerlocale
localize jQuery UI date picker FS#2912
Diffstat (limited to 'inc/lang/th')
-rw-r--r-- | inc/lang/th/jquery.ui.datepicker.js | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/inc/lang/th/jquery.ui.datepicker.js b/inc/lang/th/jquery.ui.datepicker.js new file mode 100644 index 000000000..aecfd27cc --- /dev/null +++ b/inc/lang/th/jquery.ui.datepicker.js @@ -0,0 +1,23 @@ +/* Thai initialisation for the jQuery UI date picker plugin. */ +/* Written by pipo (pipo@sixhead.com). */ +jQuery(function($){ + $.datepicker.regional['th'] = { + closeText: 'ปิด', + prevText: '« ย้อน', + nextText: 'ถัดไป »', + currentText: 'วันนี้', + monthNames: ['มกราคม','กุมภาพันธ์','มีนาคม','เมษายน','พฤษภาคม','มิถุนายน', + 'กรกฎาคม','สิงหาคม','กันยายน','ตุลาคม','พฤศจิกายน','ธันวาคม'], + monthNamesShort: ['ม.ค.','ก.พ.','มี.ค.','เม.ย.','พ.ค.','มิ.ย.', + 'ก.ค.','ส.ค.','ก.ย.','ต.ค.','พ.ย.','ธ.ค.'], + dayNames: ['อาทิตย์','จันทร์','อังคาร','พุธ','พฤหัสบดี','ศุกร์','เสาร์'], + dayNamesShort: ['อา.','จ.','อ.','พ.','พฤ.','ศ.','ส.'], + dayNamesMin: ['อา.','จ.','อ.','พ.','พฤ.','ศ.','ส.'], + weekHeader: 'Wk', + dateFormat: 'dd/mm/yy', + firstDay: 0, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['th']); +}); |