[101] | 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: Ethan Chen <ethan42411@gmail.com>
|
---|
| 8 | *
|
---|
| 9 | */
|
---|
| 10 |
|
---|
| 11 | jQuery.extend(jQuery.mobile.datebox.prototype.options.lang, {
|
---|
| 12 | 'zh-TW': {
|
---|
| 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, %B %-d, %Y',
|
---|
| 30 | dateFieldOrder: ['m', 'd', 'y'],
|
---|
| 31 | timeFieldOrder: ['h', 'i', 'a'],
|
---|
| 32 | slideFieldOrder: ['y', 'm', 'd'],
|
---|
| 33 | dateFormat: "%Y-%m-%d",
|
---|
| 34 | useArabicIndic: false,
|
---|
| 35 | isRTL: false,
|
---|
| 36 | calStartDay: 0,
|
---|
| 37 | clearButton: "清除",
|
---|
| 38 | durationOrder: ['d', 'h', 'i', 's'],
|
---|
| 39 | meridiem: ["上午", "下午"],
|
---|
| 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: 'zh-TW'
|
---|
| 48 | });
|
---|
| 49 |
|
---|