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 |
|
---|