source: trunk/template-common/lib/ui/i18n/ui.datepicker-th.js @ 4918

Last change on this file since 4918 was 4918, checked in by nikrou, 14 years ago

Feature 1442 : update jquery

  • update jquery to 1.4.1
  • update jquery ui to 1.7.2
  • Property svn:eol-style set to LF
File size: 1.2 KB
Line 
1/* Thai initialisation for the jQuery UI date picker plugin. */
2/* Written by pipo (pipo@sixhead.com). */
3jQuery(function($){
4        $.datepicker.regional['th'] = {
5                closeText: 'ปิด',
6                prevText: '« ย้อน',
7                nextText: 'ถัดไป »',
8                currentText: 'วันนี้',
9                monthNames: ['มกราคม','กุมภาพันธ์','มีนาคม','เมษายน','พฤษภาคม','มิถุนายน',
10                'กรกฏาคม','สิงหาคม','กันยายน','ตุลาคม','พฤศจิกายน','ธันวาคม'],
11                monthNamesShort: ['ม.ค.','ก.พ.','มี.ค.','เม.ย.','พ.ค.','มิ.ย.',
12                'ก.ค.','ส.ค.','ก.ย.','ต.ค.','พ.ย.','ธ.ค.'],
13                dayNames: ['อาทิตย์','จันทร์','อังคาร','พุธ','พฤหัสบดี','ศุกร์','เสาร์'],
14                dayNamesShort: ['อา.','จ.','อ.','พ.','พฤ.','ศ.','ส.'],
15                dayNamesMin: ['อา.','จ.','อ.','พ.','พฤ.','ศ.','ส.'],
16                dateFormat: 'dd/mm/yy', firstDay: 0,
17                isRTL: false};
18        $.datepicker.setDefaults($.datepicker.regional['th']);
19});
Note: See TracBrowser for help on using the repository browser.