formcfg-zh-CN.js
1.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
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: '年'
}
};