[SPIP][PLUGINS] v3.0-->v3.2
[lhc/web/www.git] / www / plugins-dist / jquery_ui / prive / javascript / ui / i18n / datepicker-th.js
1 /* Thai initialisation for the jQuery UI date picker plugin. */
2 /* Written by pipo (pipo@sixhead.com). */
3 ( function( factory ) {
4 if ( typeof define === "function" && define.amd ) {
5
6 // AMD. Register as an anonymous module.
7 define( [ "../widgets/datepicker" ], factory );
8 } else {
9
10 // Browser globals
11 factory( jQuery.datepicker );
12 }
13 }( function( datepicker ) {
14
15 datepicker.regional.th = {
16 closeText: "ปิด",
17 prevText: "« ย้อน",
18 nextText: "ถัดไป »",
19 currentText: "วันนี้",
20 monthNames: [ "มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","พฤษภาคม","มิถุนายน",
21 "กรกฎาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม" ],
22 monthNamesShort: [ "ม.ค.","ก.พ.","มี.ค.","เม.ย.","พ.ค.","มิ.ย.",
23 "ก.ค.","ส.ค.","ก.ย.","ต.ค.","พ.ย.","ธ.ค." ],
24 dayNames: [ "อาทิตย์","จันทร์","อังคาร","พุธ","พฤหัสบดี","ศุกร์","เสาร์" ],
25 dayNamesShort: [ "อา.","จ.","อ.","พ.","พฤ.","ศ.","ส." ],
26 dayNamesMin: [ "อา.","จ.","อ.","พ.","พฤ.","ศ.","ส." ],
27 weekHeader: "Wk",
28 dateFormat: "dd/mm/yy",
29 firstDay: 0,
30 isRTL: false,
31 showMonthAfterYear: false,
32 yearSuffix: "" };
33 datepicker.setDefaults( datepicker.regional.th );
34
35 return datepicker.regional.th;
36
37 } ) );