Created
March 19, 2012 08:47
-
-
Save josher19/2103529 to your computer and use it in GitHub Desktop.
Updated Chinese translation of jQuery Mobile datebox plugin
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* jQuery Mobile Framework : plugin to provide a date and time picker. | |
* Copyright (c) JTSage | |
* CC 3.0 Attribution. May be relicensed without permission/notifcation. | |
* https://github.com/jtsage/jquery-mobile-datebox | |
* | |
* Translation Updated by: Joshua S. Weinstein | |
* | |
*/ | |
jQuery.extend(jQuery.mobile.datebox.prototype.options.lang, { | |
'zh-CN': { | |
setDateButtonLabel: "设置日期", | |
setTimeButtonLabel: "设置时间", | |
setDurationButtonLabel: "设置持续时间", | |
calTodayButtonLabel: "选择今天日期", | |
titleDateDialogLabel: "选择日期", | |
titleTimeDialogLabel: "选择时间", | |
daysOfWeek: ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"], | |
daysOfWeekShort: ["日", "一", "二", "三", "四", "五", "六"], | |
monthsOfYear: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"], | |
monthsOfYearShort: ["一", "二", "三", "四", "五", "六", "七", "八", "九", "十", "十一", "十二"], | |
durationLabel: ["天", "小时", "分钟", "秒"], | |
durationDays: ["天", "天"], | |
tooltip: "开放日期选取器", | |
nextMonth: "下个月", | |
prevMonth: "上个月", | |
timeFormat: 24, | |
headerFormat: '%A, %B %-d, %Y', | |
dateFieldOrder: ['m', 'd', 'y'], | |
timeFieldOrder: ['h', 'i', 'a'], | |
slideFieldOrder: ['y', 'm', 'd'], | |
dateFormat: "%Y-%m-%d", | |
useArabicIndic: false, | |
isRTL: false, | |
calStartDay: 0, | |
clearButton: "明确" | |
} | |
}); | |
jQuery.extend(jQuery.mobile.datebox.prototype.options, { | |
useLang: 'zh-CN' | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment