agenda-libre-ruby/public/webshims/shims/i18n/formcfg-ch-CN.js

65 lines
1.8 KiB
JavaScript

webshims.validityMessages['zh-CN'] = {
"typeMismatch": {
"email": "请输入电子邮件地址。",
"url": "请输入一个 URL。"
},
"badInput": {
"number": "值无效。",
"date": "值无效。",
"time": "值无效。",
"range": "值无效。",
"datetime-local": "值无效。"
},
"tooLong": "值无效。",
"patternMismatch": "请匹配要求的格式: {%title}。",
"valueMissing": {
"defaultMessage": "请填写此字段。",
"checkbox": "若要继续,请检选此检查框。",
"select": "请选择列表中的一项。",
"radio": "请选择一个选项。"
},
"rangeUnderflow": {
"defaultMessage": "值无效。",
"date": "值无效。",
"time": "值无效。",
"datetime-local": "值无效。"
},
"rangeOverflow": {
"defaultMessage": "值无效。",
"date": "值无效。",
"time": "值无效。",
"datetime-local": "值无效。"
},
"stepMismatch": "值无效。"
};
webshims.formcfg['zh-CN'] = {
numberFormat: {
".": ".",
",": ","
},
numberSigns: '.',
dateSigns: '-',
timeSigns: ":. ",
dFormat: "-",
patterns: {
d: "yy-mm-dd"
},
date: {
closeText: '关闭',
prevText: '<上月',
nextText: '下月>',
currentText: '今天',
monthNames: ['一月','二月','三月','四月','五月','六月',
'七月','八月','九月','十月','十一月','十二月'],
monthNamesShort: ['一月','二月','三月','四月','五月','六月',
'七月','八月','九月','十月','十一月','十二月'],
dayNames: ['星期日','星期一','星期二','星期三','星期四','星期五','星期六'],
dayNamesShort: ['周日','周一','周二','周三','周四','周五','周六'],
dayNamesMin: ['日','一','二','三','四','五','六'],
weekHeader: '周',
firstDay: 1,
isRTL: false,
showMonthAfterYear: true,
yearSuffix: '年'
}
};