kendo.messages.zh-CN.js
17.3 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
/**
* Kendo UI v2016.1.112 (http://www.telerik.com/kendo-ui)
* Copyright 2016 Telerik AD. All rights reserved.
*
* Kendo UI commercial licenses may be obtained at
* http://www.telerik.com/purchase/license-agreement/kendo-ui-complete
* If you do not own a commercial license, this file shall be governed by the trial license terms.
*/
(function(f){
if (typeof define === 'function' && define.amd) {
define([ "./kendo.core" ], f);
} else {
f();
}
}(function(){
(function ($, undefined) {
/* FlatColorPicker messages */
if (kendo.ui.FlatColorPicker) {
kendo.ui.FlatColorPicker.prototype.options.messages =
$.extend(true, kendo.ui.FlatColorPicker.prototype.options.messages,{
"apply": "确定",
"cancel": "取消"
});
}
/* ColorPicker messages */
if (kendo.ui.ColorPicker) {
kendo.ui.ColorPicker.prototype.options.messages =
$.extend(true, kendo.ui.ColorPicker.prototype.options.messages,{
"apply": "确定",
"cancel": "取消"
});
}
/* ColumnMenu messages */
if (kendo.ui.ColumnMenu) {
kendo.ui.ColumnMenu.prototype.options.messages =
$.extend(true, kendo.ui.ColumnMenu.prototype.options.messages,{
"sortAscending": "升序",
"sortDescending": "降序",
"filter": "过滤",
"columns": "列",
"done": "完成",
"settings": "列设置",
"lock": "锁定",
"unlock": "解除锁定"
});
}
/* Editor messages */
if (kendo.ui.Editor) {
kendo.ui.Editor.prototype.options.messages =
$.extend(true, kendo.ui.Editor.prototype.options.messages,{
"bold": "粗体",
"italic": "斜体",
"underline": "下划线",
"strikethrough": "删除线",
"superscript": "上标",
"subscript": "下标",
"justifyCenter": "居中",
"justifyLeft": "左对齐",
"justifyRight": "右对齐",
"justifyFull": "两端对齐",
"insertUnorderedList": "插入无序列表",
"insertOrderedList": "插入有序列表",
"indent": "增加缩进",
"outdent": "减少缩进",
"createLink": "插入链接",
"unlink": "移除链接",
"insertImage": "插入图片",
"insertFile": "插入文件",
"insertHtml": "插入 HTML",
"viewHtml": "查看 HTML",
"fontName": "选择字体",
"fontNameInherit": "(继承的字体)",
"fontSize": "选择字号",
"fontSizeInherit": "(继承的字号)",
"formatBlock": "格式化块",
"formatting": "格式化",
"foreColor": "颜色",
"backColor": "背景色",
"style": "风格",
"emptyFolder": "文件夹为空",
"uploadFile": "上传",
"orderBy": "排序条件:",
"orderBySize": "大小",
"orderByName": "名字",
"invalidFileType": "选中的文件 \"{0}\" 非法,支持的文件类型为 {1}。",
"deleteFile": '您确定要删除 \"{0}\"?',
"overwriteFile": '当前文件夹已存在文件名为 \"{0}\" 的文件,您确定要覆盖么?',
"directoryNotFound": "此文件夹未找到",
"imageWebAddress": "图片地址",
"imageAltText": "替代文本",
"imageWidth": "宽度 (px)",
"imageHeight": "高度 (px)",
"fileWebAddress": "文件地址",
"fileTitle": "标题",
"linkWebAddress": "链接地址",
"linkText": "链接文字",
"linkToolTip": "链接提示",
"linkOpenInNewWindow": "在新窗口中打开",
"dialogUpdate": "上传",
"dialogInsert": "插入",
"dialogButtonSeparator": "或",
"dialogCancel": "取消",
"createTable": "创建表格",
"addColumnLeft": "左侧添加列",
"addColumnRight": "右侧添加列",
"addRowAbove": "上方添加行",
"addRowBelow": "下方添加行",
"deleteRow": "删除行",
"deleteColumn": "删除列"
});
}
/* FileBrowser messages */
if (kendo.ui.FileBrowser) {
kendo.ui.FileBrowser.prototype.options.messages =
$.extend(true, kendo.ui.FileBrowser.prototype.options.messages,{
"uploadFile": "上传",
"orderBy": "排序条件",
"orderByName": "名称",
"orderBySize": "大小",
"directoryNotFound": "此文件夹未找到",
"emptyFolder": "文件夹为空",
"deleteFile": '您确定要删除 \"{0}\"?',
"invalidFileType": "选中的文件 \"{0}\" 非法,支持的文件类型为 {1}。",
"overwriteFile": "当前文件夹已存在文件名为 \"{0}\" 的文件,您确定要覆盖么?",
"dropFilesHere": "拖拽要上传的文件到此处",
"search": "搜索"
});
}
/* FilterCell messages */
if (kendo.ui.FilterCell) {
kendo.ui.FilterCell.prototype.options.messages =
$.extend(true, kendo.ui.FilterCell.prototype.options.messages,{
"isTrue": "为真",
"isFalse": "为假",
"filter": "过滤",
"clear": "清除",
"operator": "运算符"
});
}
/* FilterMenu messages */
if (kendo.ui.FilterMenu) {
kendo.ui.FilterMenu.prototype.options.messages =
$.extend(true, kendo.ui.FilterMenu.prototype.options.messages,{
"info": "显示符合以下条件的行",
"isTrue": "为真",
"isFalse": "为假",
"filter": "过滤",
"clear": "清除",
"and": "并且",
"or": "或",
"selectValue": "-选择-",
"operator": "运算符",
"value": "值",
"cancel": "取消"
});
}
/* Filter cell operator messages */
if (kendo.ui.FilterCell) {
kendo.ui.FilterCell.prototype.options.operators =
$.extend(true, kendo.ui.FilterCell.prototype.options.operators,{
"string": {
"eq": "等于",
"neq": "不等于",
"startswith": "开头为",
"contains": "包含",
"doesnotcontain": "不包含",
"endswith": "结尾为"
},
"number": {
"eq": "等于",
"neq": "不等于",
"gte": "大于等于",
"gt": "大于",
"lte": "小于等于",
"lt": "小于"
},
"date": {
"eq": "等于",
"neq": "不等于",
"gte": "大于等于",
"gt": "大于",
"lte": "小于等于",
"lt": "小于"
},
"enums": {
"eq": "等于",
"neq": "不等于"
}
});
}
/* Filter menu operator messages */
if (kendo.ui.FilterMenu) {
kendo.ui.FilterMenu.prototype.options.operators =
$.extend(true, kendo.ui.FilterMenu.prototype.options.operators,{
"string": {
"eq": "等于",
"neq": "不等于",
"startswith": "开头为",
"contains": "包含",
"doesnotcontain": "不包含",
"endswith": "结尾为"
},
"number": {
"eq": "等于",
"neq": "不等于",
"gte": "大于等于",
"gt": "大于",
"lte": "小于等于",
"lt": "小于"
},
"date": {
"eq": "等于",
"neq": "不等于",
"gte": "大于等于",
"gt": "大于",
"lte": "小于等于",
"lt": "小于"
},
"enums": {
"eq": "等于",
"neq": "不等于"
}
});
}
/* Gantt messages */
if (kendo.ui.Gantt) {
kendo.ui.Gantt.prototype.options.messages =
$.extend(true, kendo.ui.Gantt.prototype.options.messages,{
"views": {
"day": "日",
"week": "周",
"month": "月"
},
"actions": {
"append": "添加任务",
"addChild": "添加子任务",
"insertBefore": "添加到前面",
"insertAfter": "添加到后面"
}
});
}
/* Grid messages */
if (kendo.ui.Grid) {
kendo.ui.Grid.prototype.options.messages =
$.extend(true, kendo.ui.Grid.prototype.options.messages,{
"commands": {
"cancel": "取消",
"canceledit": "取消",
"create": "新增",
"destroy": "删除",
"edit": "编辑",
"excel": "Export to Excel",
"pdf": "Export to PDF",
"save": "保存",
"select": "选择",
"update": "更新"
},
"editable": {
"cancelDelete": "取消",
"confirmation": "确定要删除吗?",
"confirmDelete": "删除"
},
"noRecords": "没有可用的记录。"
});
}
/* Groupable messages */
if (kendo.ui.Groupable) {
kendo.ui.Groupable.prototype.options.messages =
$.extend(true, kendo.ui.Groupable.prototype.options.messages,{
"empty": "拖拽列标题到此处按列组合显示"
});
}
/* ImageBrowser messages */
if (kendo.ui.ImageBrowser) {
kendo.ui.ImageBrowser.prototype.options.messages =
$.extend(true, kendo.ui.ImageBrowser.prototype.options.messages,{
"uploadFile": "上传",
"orderBy": "排序条件",
"orderByName": "名称",
"orderBySize": "大小",
"directoryNotFound": "此文件夹未找到",
"emptyFolder": "文件夹为空",
"deleteFile": '您确定要删除 \"{0}\"?',
"invalidFileType": "选中的文件 \"{0}\" 非法,支持的文件类型为 {1}。",
"overwriteFile": "当前文件夹已存在文件名为 \"{0}\" 的文件,您确定要覆盖么?",
"dropFilesHere": "拖拽要上传的文件到此处",
"search": "搜索"
});
}
/* NumericTextBox messages */
if (kendo.ui.NumericTextBox) {
kendo.ui.NumericTextBox.prototype.options =
$.extend(true, kendo.ui.NumericTextBox.prototype.options,{
"upArrowText": "增加",
"downArrowText": "减少"
});
}
/* Pager messages */
if (kendo.ui.Pager) {
kendo.ui.Pager.prototype.options.messages =
$.extend(true, kendo.ui.Pager.prototype.options.messages,{
"allPages": "All",
"display": "显示条目 {0} - {1} 共 {2}",
"empty": "没有可显示的记录。",
"page": "页",
"of": "共 {0}",
"itemsPerPage": "每页",
"first": "首页",
"last": "末页",
"next": "下一页",
"previous": "上一页",
"refresh": "刷新",
"morePages": "更多..."
});
}
/* PivotGrid messages */
if (kendo.ui.PivotGrid) {
kendo.ui.PivotGrid.prototype.options.messages =
$.extend(true, kendo.ui.PivotGrid.prototype.options.messages,{
"measureFields": "拖放数据字段于此",
"columnFields": "拖放列字段于此",
"rowFields": "拖放行字段于此"
});
}
/* RecurrenceEditor messages */
if (kendo.ui.RecurrenceEditor) {
kendo.ui.RecurrenceEditor.prototype.options.messages =
$.extend(true, kendo.ui.RecurrenceEditor.prototype.options.messages,{
"frequencies": {
"never": "从不",
"hourly": "每小时",
"daily": "每天",
"weekly": "每周",
"monthly": "每月",
"yearly": "每年"
},
"hourly": {
"repeatEvery": "重复周期: ",
"interval": " 小时"
},
"daily": {
"repeatEvery": "重复周期: ",
"interval": " 天"
},
"weekly": {
"interval": " 周",
"repeatEvery": "重复周期: ",
"repeatOn": "重复于:"
},
"monthly": {
"repeatEvery": "重复周期: ",
"repeatOn": "重复于:",
"interval": " 月",
"day": "日期"
},
"yearly": {
"repeatEvery": "重复周期: ",
"repeatOn": "重复于: ",
"interval": " 年",
"of": " 月份: "
},
"end": {
"label": "截止时间:",
"mobileLabel": "截止时间",
"never": "从不",
"after": "重复 ",
"occurrence": " 次后",
"on": "止于 "
},
"offsetPositions": {
"first": "第一",
"second": "第二",
"third": "第三",
"fourth": "第四",
"last": "最后"
},
"weekdays": {
"day": "天",
"weekday": "工作日",
"weekend": "周末"
}
});
}
/* Scheduler messages */
if (kendo.ui.Scheduler) {
kendo.ui.Scheduler.prototype.options.messages =
$.extend(true, kendo.ui.Scheduler.prototype.options.messages,{
"today": "今天",
"save": "保存",
"cancel": "取消",
"destroy": "删除",
"allDay": "整天",
"date": "日期",
"event": "事件",
"time": "時間",
"showFullDay": "顯示整天",
"showWorkDay": "顯示營業時間",
"deleteWindowTitle": "删除事件",
"ariaSlotLabel": "选择从 {0:t} 到 {1:t}",
"ariaEventLabel": "{0} on {1:D} at {2:t}",
"editable": {
"confirmation": "你確定你要刪除這個活動?"
},
"views": {
"day": "日",
"week": "周",
"workWeek": "工作日",
"agenda": "日程",
"month": "月"
},
"recurrenceMessages": {
"deleteWindowTitle": "删除周期条目",
"deleteWindowOccurrence": "删除当前事件",
"deleteWindowSeries": "删除序列",
"editWindowTitle": "修改周期条目",
"editWindowOccurrence": "修改当前事件",
"editWindowSeries": "修改序列",
"deleteRecurring": "你想刪除僅此事件發生或整個系列?",
"editRecurring": "你想,僅編輯此次事件發生或整個系列?"
},
"editor": {
"title": "标题",
"start": "起始",
"end": "终止",
"allDayEvent": "全天事件",
"description": "描述",
"repeat": "重复",
"timezone": " ",
"startTimezone": "起始时区",
"endTimezone": "终止时区",
"separateTimezones": "使用独立的起始和终止时区",
"timezoneEditorTitle": "时区",
"timezoneEditorButton": "时区",
"timezoneTitle": "选择时区",
"noTimezone": "无",
"editorTitle": "事件"
}
});
}
/* Slider messages */
if (kendo.ui.Slider) {
kendo.ui.Slider.prototype.options =
$.extend(true, kendo.ui.Slider.prototype.options,{
"increaseButtonTitle": "增加",
"decreaseButtonTitle": "减少"
});
}
/* TreeView messages */
if (kendo.ui.TreeView) {
kendo.ui.TreeView.prototype.options.messages =
$.extend(true, kendo.ui.TreeView.prototype.options.messages,{
"loading": "加载中...",
"requestFailed": "加载失败",
"retry": "重试"
});
}
/* Upload messages */
if (kendo.ui.Upload) {
kendo.ui.Upload.prototype.options.localization =
$.extend(true, kendo.ui.Upload.prototype.options.localization,{
"select": "选择...",
"cancel": "取消",
"retry": "重试",
"remove": "移除",
"uploadSelectedFiles": "上传文件",
"dropFilesHere": "拖拽要上传的文件到此处",
"statusUploading": "上传中",
"statusUploaded": "已上传",
"statusWarning": "警告",
"statusFailed": "失败",
"headerStatusUploading": "上传...",
"headerStatusUploaded": "完成"
});
}
/* Validator messages */
if (kendo.ui.Validator) {
kendo.ui.Validator.prototype.options.messages =
$.extend(true, kendo.ui.Validator.prototype.options.messages,{
"required": "{0} 为必填项",
"pattern": "{0} 非法",
"min": "{0} 应该大于或等于 {1}",
"max": "{0} 应该小于或等于 {1}",
"step": "{0} 非法",
"email": "{0} 不是合法的邮件地址",
"url": "{0} 不是合法的URL",
"date": "{0} 不是合法的日期"
});
}
})(window.kendo.jQuery);
}));