1 | /*
|
---|
2 | * jQuery Mobile Framework : plugin to provide a date and time picker.
|
---|
3 | * Copyright (c) JTSage
|
---|
4 | * CC 3.0 Attribution. May be relicensed without permission/notifcation.
|
---|
5 | * https://github.com/jtsage/jquery-mobile-datebox
|
---|
6 | *
|
---|
7 | * Translation by: tiratat.patana-anake <tiratat.patana-anake@accenture.com>
|
---|
8 | *
|
---|
9 | */
|
---|
10 |
|
---|
11 | jQuery.extend(jQuery.mobile.datebox.prototype.options.lang, {
|
---|
12 | 'th': {
|
---|
13 | setDateButtonLabel: "เลือกวัน",
|
---|
14 | setTimeButtonLabel: "เลือกเวลา",
|
---|
15 | setDurationButtonLabel: "เลือกระยะเวลา",
|
---|
16 | calTodayButtonLabel: "กลับไปวันนี้",
|
---|
17 | titleDateDialogLabel: "เลือกวัน",
|
---|
18 | titleTimeDialogLabel: "เลือกเวลา",
|
---|
19 | daysOfWeek: ["อาทิตย์", "จันทร์", "อังคาร", "พุธ", "พฤหัส", "ศุกร์", "เสาร์"],
|
---|
20 | daysOfWeekShort: ["อา", "จ", "อ", "พ", "พฤ", "ศ", "ส"],
|
---|
21 | monthsOfYear: ["มกราคม", "กุมภาพันธ์", "มีนาคม", "เมษายน", "พฤษภาคม", "มิถุนายน", "กรกฎาคม", "สิงหาคม", "กันยายน", "ตุลาคม", "พฤศจิกายน", "ธันวาคม"],
|
---|
22 | monthsOfYearShort: ["ม.ค.", "ก.พ.", "มี.ค.", "ม.ย.", "พ.ค.", "มิ.ย.", "ก.ค.", "ส.ค.", "ก.ย.", "ต.ค.", "พ.ย.", "ธ.ค."],
|
---|
23 | durationLabel: ["วัน", "ชั่วโมง", "นาที", "วินาที"],
|
---|
24 | durationDays: ["วัน", "วัน"],
|
---|
25 | tooltip: "เปิดตัวเลือกวัน",
|
---|
26 | nextMonth: "เดือนต่อไป",
|
---|
27 | prevMonth: "เดือนก่อน",
|
---|
28 | timeFormat: 24,
|
---|
29 | headerFormat: 'วัน%Aที่ %-d %B %Y',
|
---|
30 | dateFieldOrder: ['d','m','y'],
|
---|
31 | timeFieldOrder: ['h', 'i', 'a'],
|
---|
32 | slideFieldOrder: ['y', 'm', 'd'],
|
---|
33 | dateFormat: "%d/%m/%Y",
|
---|
34 | useArabicIndic: false,
|
---|
35 | isRTL: false,
|
---|
36 | calStartDay: 0,
|
---|
37 | clearButton: "ลบ",
|
---|
38 | durationOrder: ['d', 'h', 'i', 's'],
|
---|
39 | meridiem: ["AM", "PM"],
|
---|
40 | timeOutput: "%k:%M",
|
---|
41 | durationFormat: "%Dd %DA, %Dl:%DM:%DS",
|
---|
42 | calDateListLabel: "วันอื่น ๆ",
|
---|
43 | calHeaderFormat: "%B %Y"
|
---|
44 | }
|
---|
45 | });
|
---|
46 | jQuery.extend(jQuery.mobile.datebox.prototype.options, {
|
---|
47 | useLang: 'th'
|
---|
48 | });
|
---|
49 |
|
---|