source: pro-violet-viettel/docs/Space/assets/js/jqGrid/i18n/grid.locale-cn.js @ 290

Last change on this file since 290 was 290, checked in by lamdt, 11 years ago
File size: 4.4 KB
Line 
1;(function($){
2/**
3 * jqGrid Chinese Translation for v4.2
4 * henryyan 2011.11.30
5 * http://www.wsria.com
6 * Dual licensed under the MIT and GPL licenses:
7 * http://www.opensource.org/licenses/mit-license.php
8 * http://www.gnu.org/licenses/gpl.html
9 *
10 * update 2011.11.30
11 *              add double u3000 SPACE for search:odata to fix SEARCH box display err when narrow width from only use of eq/ne/cn/in/lt/gt operator under IE6/7
12**/
13$.jgrid = $.jgrid || {};
14$.extend($.jgrid,{
15        defaults : {
16                recordtext: "{0} - {1}\u3000共 {2} 条",       // 共字前是党角空栌
17                emptyrecords: "无数据星瀺",
18                loadtext: "读取䞭...",
19                pgtext : " {0} 共 {1} 页"
20        },
21        search : {
22                caption: "搜玢...",
23                Find: "查扟",
24                Reset: "重眮",
25                odata : [{oper:'eq', text:'等于\u3000\u3000'},{oper:'ne', text: '侍等\u3000\u3000'}, { oper:'lt', text:'小于\u3000\u3000'},{ oper:'le', text: '小于等于'},{ oper:'gt', text:'倧于\u3000\u3000'},{ oper:'ge', text:'倧于等于'},
26                        {oper:'bw', text:'匀始于'},{ oper:'bn', text:'䞍匀始于'},{ oper:'in', text:'属于\u3000\u3000'},{ oper:'ni', text:'䞍属于'},{ oper:'ew', text:'结束于'},{ oper:'en', text:'䞍结束于'},{ oper:'cn', text:'包含\u3000\u3000'},{ oper:'nc', text:'䞍包含'},{ oper:'nu', text:'空倌于\u3000\u3000'},{ oper:'nn', text:'非空倌'}],
27                groupOps: [     { op: "AND", text: "所有" },  { op: "OR",  text: "任䞀" }   ]
28        },
29        edit : {
30                addCaption: "添加记圕",
31                editCaption: "猖蟑记圕",
32                bSubmit: "提亀",
33                bCancel: "取消",
34                bClose: "关闭",
35                saveData: "数据已改变是吊保存",
36                bYes : "是",
37                bNo : "吊",
38                bExit : "取消",
39                msg: {
40                        required:"歀字段必需",
41                        number:"请蟓入有效数字",
42                        minValue:"蟓倌必须倧于等于 ",
43                        maxValue:"蟓倌必须小于等于 ",
44                        email: "这䞍是有效的e-mail地址",
45                        integer: "请蟓入有效敎数",
46                        date: "请蟓入有效时闎",
47                        url: "无效眑址。前猀必须䞺 ('http://' 或 'https://')",
48                        nodefined : " 未定义",
49                        novalue : " 需芁返回倌",
50                        customarray : "自定义凜数需芁返回数组",
51                        customfcheck : "Custom function should be present in case of custom checking!"
52                       
53                }
54        },
55        view : {
56                caption: "查看记圕",
57                bClose: "关闭"
58        },
59        del : {
60                caption: "删陀",
61                msg: "删陀所选记圕",
62                bSubmit: "删陀",
63                bCancel: "取消"
64        },
65        nav : {
66                edittext: "",
67                edittitle: "猖蟑所选记圕",
68                addtext:"",
69                addtitle: "添加新记圕",
70                deltext: "",
71                deltitle: "删陀所选记圕",
72                searchtext: "",
73                searchtitle: "查扟",
74                refreshtext: "",
75                refreshtitle: "刷新衚栌",
76                alertcap: "泚意",
77                alerttext: "请选择记圕",
78                viewtext: "",
79                viewtitle: "查看所选记圕"
80        },
81        col : {
82                caption: "选择列",
83                bSubmit: "确定",
84                bCancel: "取消"
85        },
86        errors : {
87                errcap : "错误",
88                nourl : "没有讟眮url",
89                norecords: "没有芁倄理的记圕",
90                model : "colNames 和 colModel 长床䞍等"
91        },
92        formatter : {
93                integer : {thousandsSeparator: " ", defaultValue: '0'},
94                number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'},
95                currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'},
96                date : {
97                        dayNames:   [
98                                "Sun", "Mon", "Tue", "Wed", "Thr", "Fri", "Sat",
99                         "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"
100                        ],
101                        monthNames: [
102                                "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec",
103                                "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"
104                        ],
105                        AmPm : ["am","pm","AM","PM"],
106                        S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
107                        srcformat: 'Y-m-d',
108                        newformat: 'm-d-Y',
109                        parseRe : /[Tt\\\/:_;.,\t\s-]/,
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);
Note: See TracBrowser for help on using the repository browser.