summaryrefslogtreecommitdiff
path: root/jqueryui/js/i18n/jquery.ui.datepicker-th.js
diff options
context:
space:
mode:
Diffstat (limited to 'jqueryui/js/i18n/jquery.ui.datepicker-th.js')
-rw-r--r--jqueryui/js/i18n/jquery.ui.datepicker-th.js25
1 files changed, 25 insertions, 0 deletions
diff --git a/jqueryui/js/i18n/jquery.ui.datepicker-th.js b/jqueryui/js/i18n/jquery.ui.datepicker-th.js
new file mode 100644
index 0000000..273f491
--- /dev/null
+++ b/jqueryui/js/i18n/jquery.ui.datepicker-th.js
@@ -0,0 +1,25 @@
+/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat (MIT) */
+/* 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']);
+});
+/* @license-end */