ultimix

- Main Page
- Data Structures
- Files
- Examples

- File List
- Globals

grid.locale-cn.js
Go to the documentation of this file.
1 ;(function($){
13 $.jgrid = {
14 defaults : {
15 recordtext: "{0} - {1}\u3000共 {2} 条", // 共字前是全角空格
16 emptyrecords: "无数据显示",
17 loadtext: "读取中...",
18 pgtext : " {0} 共 {1} 页"
19 },
20 search : {
21 caption: "搜索...",
22 Find: "查找",
23 Reset: "重置",
24 odata : ['等于\u3000\u3000', '不等\u3000\u3000', '小于\u3000\u3000', '小于等于','大于\u3000\u3000','大于等于',
25 '开始于','不开始于','属于\u3000\u3000','不属于','结束于','不结束于','包含\u3000\u3000','不包含'],
26 groupOps: [ { op: "AND", text: "所有" }, { op: "OR", text: "任一" } ],
27 matchText: " 匹配",
28 rulesText: " 规则"
29 },
30 edit : {
31 addCaption: "添加记录",
32 editCaption: "编辑记录",
33 bSubmit: "提交",
34 bCancel: "取消",
35 bClose: "关闭",
36 saveData: "数据已改变，是否保存？",
37 bYes : "是",
38 bNo : "否",
39 bExit : "取消",
40 msg: {
41 required:"此字段必需",
42 number:"请输入有效数字",
43 minValue:"输值必须大于等于 ",
44 maxValue:"输值必须小于等于 ",
45 email: "这不是有效的e-mail地址",
46 integer: "请输入有效整数",
47 date: "请输入有效时间",
48 url: "无效网址。前缀必须为 ('http://' 或 'https://')",
49 nodefined : " 未定义！",
50 novalue : " 需要返回值！",
51 customarray : "自定义函数需要返回数组！",
52 customfcheck : "Custom function should be present in case of custom checking!"
53
54 }
55 },
56 view : {
57 caption: "查看记录",
58 bClose: "关闭"
59 },
60 del : {
61 caption: "删除",
62 msg: "删除所选记录？",
63 bSubmit: "删除",
64 bCancel: "取消"
65 },
66 nav : {
67 edittext: "",
68 edittitle: "编辑所选记录",
69 addtext:"",
70 addtitle: "添加新记录",
71 deltext: "",
72 deltitle: "删除所选记录",
73 searchtext: "",
74 searchtitle: "查找",
75 refreshtext: "",
76 refreshtitle: "刷新表格",
77 alertcap: "注意",
78 alerttext: "请选择记录",
79 viewtext: "",
80 viewtitle: "查看所选记录"
81 },
82 col : {
83 caption: "选择列",
84 bSubmit: "确定",
85 bCancel: "取消"
86 },
87 errors : {
88 errcap : "错误",
89 nourl : "没有设置url",
90 norecords: "没有要处理的记录",
91 model : "colNames 和 colModel 长度不等！"
92 },
93 formatter : {
94 integer : {thousandsSeparator: " ", defaultValue: '0'},
95 number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'},
96 currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'},
97 date : {
98 dayNames: [
99 "Sun", "Mon", "Tue", "Wed", "Thr", "Fri", "Sat",
100 "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"
101 ],
102 monthNames: [
103 "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec",
104 "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"
105 ],
106 AmPm : ["am","pm","AM","PM"],
107 S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
108 srcformat: 'Y-m-d',
109 newformat: 'm-d-Y',
110 masks : {
111 ISO8601Long:"Y-m-d H:i:s",
112 ISO8601Short:"Y-m-d",
113 ShortDate: "Y/j/n",
114 LongDate: "l, F d, Y",
115 FullDateTime: "l, F d, Y g:i:s A",
116 MonthDay: "F d",
117 ShortTime: "g:i A",
118 LongTime: "g:i:s A",
119 SortableDateTime: "Y-m-d\\TH:i:s",
120 UniversalSortableDateTime: "Y-m-d H:i:sO",
121 YearMonth: "F, Y"
122 },
123 reformatAfterEdit : false
124 },
125 baseLinkUrl: '',
126 showAction: '',
127 target: '',
128 checkbox : {disabled:true},
129 idName : 'id'
130 }
131 };
132 })(jQuery);