forked from kbwood/datepick
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjquery.datepick-th.js
More file actions
29 lines (29 loc) · 1.65 KB
/
jquery.datepick-th.js
File metadata and controls
29 lines (29 loc) · 1.65 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/* http://keith-wood.name/datepick.html
Thai localisation for jQuery Datepicker.
Written by pipo (pipo@sixhead.com). */
(function($) {
$.datepick.regionalOptions['th'] = {
monthNames: ['มกราคม','กุมภาพันธ์','มีนาคม','เมษายน','พฤษภาคม','มิถุนายน',
'กรกฎาคม','สิงหาคม','กันยายน','ตุลาคม','พฤศจิกายน','ธันวาคม'],
monthNamesShort: ['ม.ค.','ก.พ.','มี.ค.','เม.ย.','พ.ค.','มิ.ย.',
'ก.ค.','ส.ค.','ก.ย.','ต.ค.','พ.ย.','ธ.ค.'],
dayNames: ['อาทิตย์','จันทร์','อังคาร','พุธ','พฤหัสบดี','ศุกร์','เสาร์'],
dayNamesShort: ['อา.','จ.','อ.','พ.','พฤ.','ศ.','ส.'],
dayNamesMin: ['อา.','จ.','อ.','พ.','พฤ.','ศ.','ส.'],
dateFormat: 'dd/mm/yyyy', firstDay: 0,
renderer: $.datepick.defaultRenderer,
prevText: '« ย้อน', prevStatus: '',
prevJumpText: '<<', prevJumpStatus: '',
nextText: 'ถัดไป »', nextStatus: '',
nextJumpText: '>>', nextJumpStatus: '',
currentText: 'วันนี้', currentStatus: '',
todayText: 'วันนี้', todayStatus: '',
clearText: 'ลบ', clearStatus: '',
closeText: 'ปิด', closeStatus: '',
yearStatus: '', monthStatus: '',
weekText: 'Wk', weekStatus: '',
dayStatus: 'D, M d', defaultStatus: '',
isRTL: false
};
$.datepick.setDefaults($.datepick.regionalOptions['th']);
})(jQuery);