@progress/kendo-ui
Version:
This package is part of the [Kendo UI for jQuery](http://www.telerik.com/kendo-ui) suite.
1,856 lines (1,855 loc) • 59.6 kB
JavaScript
//#region ../src/messages/kendo.messages.zh-CN.js
(function($, undefined) {
if (kendo.ui.FlatColorPicker) {
kendo.ui.FlatColorPicker.prototype.options.messages = $.extend(true, kendo.ui.FlatColorPicker.prototype.options.messages, {
"apply": "确定",
"cancel": "取消",
"noColor": "无颜色",
"clearColor": "清除颜色",
"previewInput": "颜色十六进制代码"
});
}
if (kendo.ui.ColorPicker) {
kendo.ui.ColorPicker.prototype.options.messages = $.extend(true, kendo.ui.ColorPicker.prototype.options.messages, {
"apply": "确定",
"cancel": "取消",
"noColor": "无颜色",
"clearColor": "清除颜色",
"previewInput": "颜色十六进制代码"
});
}
if (kendo.ui.ColumnMenu) {
kendo.ui.ColumnMenu.prototype.options.messages = $.extend(true, kendo.ui.ColumnMenu.prototype.options.messages, {
"sortAscending": "升序排列",
"sortDescending": "降序排列",
"filter": "筛选",
"column": "字段列",
"columns": "字段列",
"columnVisibility": "字段列可见性",
"clear": "清空",
"cancel": "取消",
"done": "完成",
"settings": "列设置",
"lock": "锁定",
"unlock": "解锁"
});
}
if (kendo.ui.DateRangePicker) {
kendo.ui.DateRangePicker.prototype.options.messages = $.extend(true, kendo.ui.DateRangePicker.prototype.options.messages, {
"startLabel": "开始",
"endLabel": "结束"
});
}
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": "插入代码块",
"viewHtml": "源代码编辑",
"fontName": "请选择字体",
"fontNameInherit": "(默认字体)",
"fontSize": "请选择字号",
"fontSizeInherit": "(默认字号)",
"formatBlock": "格式",
"formatting": "格式",
"foreColor": "文字颜色",
"backColor": "文字背景色",
"style": "样式",
"emptyFolder": "文件夹为空",
"editAreaTitle": "在可编辑区域可按 F10 跳转工具栏。",
"uploadFile": "上传文件",
"overflowAnchor": "更多功能",
"orderBy": "排序方式:",
"orderBySize": "按大小排序",
"orderByName": "按名称排序",
"invalidFileType": "你上传的文件格式 {0} 是无效的,支持的文件类型为:{1}",
"deleteFile": "你确定要删除【{0}】这个文件吗?",
"overwriteFile": "当前文件夹已存在文件名为【{0}】的文件,是否覆盖?",
"directoryNotFound": "文件夹未找到",
"imageWebAddress": "图片链接地址",
"imageAltText": "图片占位符",
"imageWidth": "图片宽度(单位px)",
"imageHeight": "图片高度(单位px)",
"fileWebAddress": "文件链接地址",
"fileText": "文件显示文字",
"fileTitle": "文件悬停文字",
"linkWebAddress": "链接地址",
"linkText": "链接文字",
"linkToolTip": "链接提示",
"linkOpenInNewWindow": "在新窗口中打开链接",
"dialogUpdate": "更新",
"dialogInsert": "插入",
"dialogButtonSeparator": "或",
"dialogOk": "确定",
"dialogCancel": "取消",
"cleanFormatting": "清除格式",
"createTable": "创建表格",
"createTableHint": "创建一个 {0} 行 {1} 列的表格",
"addColumnLeft": "在左侧插入列",
"addColumnRight": "在右侧插入列",
"addRowAbove": "在上方插入行",
"addRowBelow": "在下方插入行",
"deleteRow": "删除行",
"deleteColumn": "删除列",
"mergeCellsHorizontally": "水平合并单元格",
"mergeCellsVertically": "垂直合并单元格",
"splitCellHorizontally": "水平拆分单元格",
"splitCellVertically": "垂直拆分单元格",
"tableWizard": "表格向导",
"tableTab": "表格",
"cellTab": "单元格",
"accessibilityTab": "可访问性",
"caption": "标题",
"summary": "摘要",
"width": "宽",
"height": "高",
"units": "单位",
"cellSpacing": "单元格间距",
"cellPadding": "单元格内边距",
"cellMargin": "单元格外边距",
"alignment": "对齐",
"background": "背景色",
"cssClass": "样式表",
"id": "ID",
"border": "边框",
"borderStyle": "边框样式",
"collapseBorders": "合并边框",
"wrapText": "文字换行",
"associateCellsWithHeaders": "关联表头与单元格",
"alignLeft": "左对齐",
"alignCenter": "居中对齐",
"alignRight": "右对齐",
"alignLeftTop": "左上对齐",
"alignCenterTop": "中上对齐",
"alignRightTop": "右上对齐",
"alignLeftMiddle": "左中对齐",
"alignCenterMiddle": "居中对齐",
"alignRightMiddle": "右中对齐",
"alignLeftBottom": "左下对齐",
"alignCenterBottom": "中下对齐",
"alignRightBottom": "右下对齐",
"alignRemove": "移除对齐",
"columns": "列",
"rows": "行",
"selectAllCells": "选择所有单元格",
"exportAs": "导出",
"import": "导入",
"print": "打印"
});
}
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": "搜索"
});
}
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": "搜索"
});
}
if (kendo.ui.Filter) {
kendo.ui.Filter.prototype.options.messages = $.extend(true, kendo.ui.Filter.prototype.options.messages, {
"and": "与",
"or": "或",
"apply": "确定",
"close": "关闭",
"addExpression": "添加表达式",
"addGroup": "添加分组",
"fields": "字段",
"operators": "运算符"
});
kendo.ui.Filter.prototype.options.operators = $.extend(true, kendo.ui.Filter.prototype.options.operators, {
"string": {
"eq": "等于",
"neq": "不等于",
"startswith": "开头是",
"contains": "包含",
"doesnotcontain": "不含",
"endswith": "结尾是",
"isnull": "为空",
"isnotnull": "非空",
"isempty": "空字符串",
"isnotempty": "非空字符串",
"isnullorempty": "无值",
"isnotnullorempty": "有值"
},
"number": {
"eq": "等于",
"neq": "不等于",
"gte": "大于等于",
"gt": "大于",
"lte": "小于等于",
"lt": "小于",
"isnull": "为空",
"isnotnull": "非空"
},
"date": {
"eq": "等于",
"neq": "不等于",
"gte": "晚于等于",
"gt": "晚于",
"lte": "早于等于",
"lt": "早于",
"isnull": "为空",
"isnotnull": "非空"
},
"boolean": {
"eq": "等于",
"neq": "不等于"
}
});
}
if (kendo.ui.FilterCell) {
kendo.ui.FilterCell.prototype.options.messages = $.extend(true, kendo.ui.FilterCell.prototype.options.messages, {
"isTrue": "是",
"isFalse": "否",
"filter": "筛选",
"clear": "清空",
"operator": "运算符"
});
kendo.ui.FilterCell.prototype.options.operators = $.extend(true, kendo.ui.FilterCell.prototype.options.operators, {
"string": {
"eq": "等于",
"neq": "不等于",
"startswith": "开头是",
"contains": "包含",
"doesnotcontain": "不含",
"endswith": "结尾是",
"isnull": "为空",
"isnotnull": "非空",
"isempty": "空字符串",
"isnotempty": "非空字符串",
"isnullorempty": "无值",
"isnotnullorempty": "有值"
},
"number": {
"eq": "等于",
"neq": "不等于",
"gte": "大于等于",
"gt": "大于",
"lte": "小于等于",
"lt": "小于",
"isnull": "为空",
"isnotnull": "非空"
},
"date": {
"eq": "等于",
"neq": "不等于",
"gte": "晚于等于",
"gt": "晚于",
"lte": "早于等于",
"lt": "早于",
"isnull": "为空",
"isnotnull": "非空"
},
"enums": {
"eq": "等于",
"neq": "不等于",
"isnull": "为空",
"isnotnull": "非空"
}
});
}
if (kendo.ui.FilterMenu) {
kendo.ui.FilterMenu.prototype.options.messages = $.extend(true, kendo.ui.FilterMenu.prototype.options.messages, {
"info": "筛选条件:",
"title": "筛选条件:",
"isTrue": "是",
"isFalse": "否",
"filter": "筛选",
"clear": "清空",
"and": "并且",
"or": "或者",
"selectValue": "-= 请选择 =-",
"operator": "运算符",
"value": "值",
"additionalValue": "附加值",
"additionalOperator": "附加运算",
"logic": "筛选逻辑",
"cancel": "取消",
"done": "完成",
"into": "在"
});
kendo.ui.FilterMenu.prototype.options.operators = $.extend(true, kendo.ui.FilterMenu.prototype.options.operators, {
"string": {
"eq": "等于",
"neq": "不等于",
"startswith": "开头是",
"contains": "包含",
"doesnotcontain": "不含",
"endswith": "结尾是",
"isnull": "为空",
"isnotnull": "非空",
"isempty": "空字符串",
"isnotempty": "非空字符串",
"isnullorempty": "无值",
"isnotnullorempty": "有值"
},
"number": {
"eq": "等于",
"neq": "不等于",
"gte": "大于等于",
"gt": "大于",
"lte": "小于等于",
"lt": "小于",
"isnull": "为空",
"isnotnull": "非空"
},
"date": {
"eq": "等于",
"neq": "不等于",
"gte": "晚于等于",
"gt": "晚于",
"lte": "早于等于",
"lt": "早于",
"isnull": "为空",
"isnotnull": "非空"
},
"enums": {
"eq": "等于",
"neq": "不等于",
"isnull": "为空",
"isnotnull": "非空"
}
});
}
if (kendo.ui.FilterMultiCheck) {
kendo.ui.FilterMultiCheck.prototype.options.messages = $.extend(true, kendo.ui.FilterMultiCheck.prototype.options.messages, {
"checkAll": "全选",
"clearAll": "全部清除",
"clear": "清除",
"filter": "筛选",
"search": "搜索",
"cancel": "取消",
"selectedItemsFormat": "已选择 {0} 条数据",
"done": "完成",
"into": "在"
});
}
if (kendo.ui.Gantt) {
kendo.ui.Gantt.prototype.options.messages = $.extend(true, kendo.ui.Gantt.prototype.options.messages, {
"actions": {
"addChild": "新增子任务",
"append": "新增任务",
"insertAfter": "插入到后面",
"insertBefore": "插入到前面",
"pdf": "导出 PDF"
},
"cancel": "取消",
"deleteDependencyWindowTitle": "删除从属任务",
"deleteDependencyConfirmation": "你确定要删除这项从属任务吗?",
"deleteTaskWindowTitle": "删除任务",
"deleteTaskConfirmation": "你确定要删除这项任务吗?",
"destroy": "删除",
"editor": {
"assignButton": "资源分配",
"editorTitle": "编辑任务",
"end": "结束时间",
"percentComplete": "完成进度",
"resources": "资源",
"resourcesEditorTitle": "资源编辑",
"resourcesHeader": "资源名称",
"start": "开始时间",
"title": "任务标题",
"unitsHeader": "百分比"
},
"save": "保存",
"views": {
"day": "日视图",
"end": "任务结束",
"month": "月视图",
"start": "任务开始",
"week": "周视图",
"year": "年视图"
}
});
}
if (kendo.ui.GanttTimeline) {
kendo.ui.GanttTimeline.prototype.options.messages = $.extend(true, kendo.ui.GanttTimeline.prototype.options.messages, { "views": {
"day": "日视图",
"week": "周视图",
"month": "月视图",
"year": "年视图",
"start": "任务开始",
"end": "任务结束"
} });
}
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": "导出 Excel",
"pdf": "导出 PDF",
"save": "保存",
"select": "选择",
"update": "更新",
"search": "搜索..."
},
"editable": {
"cancelDelete": "取消删除",
"confirmation": "你确定要删除这条数据吗?",
"confirmDelete": "确定删除"
},
"noRecords": "无相关数据",
"expandCollapseColumnHeader": "...",
"groupHeader": "按 Ctrl + 空格 进行分组",
"ungroupHeader": "按 Ctrl + 空格 取消分组"
});
kendo.ui.Grid.prototype.options = $.extend(true, kendo.ui.Grid.prototype.options, { "noRecords": "无相关数据" });
}
if (kendo.ui.Groupable) {
kendo.ui.Groupable.prototype.options.messages = $.extend(true, kendo.ui.Groupable.prototype.options.messages, { "empty": "将字段列名称拖拽到此处可进行该列的分组显示" });
}
if (kendo.ui.NumericTextBox) {
kendo.ui.NumericTextBox.prototype.options = $.extend(true, kendo.ui.NumericTextBox.prototype.options, {
"upArrowText": "增加",
"downArrowText": "减少"
});
}
if (kendo.ui.MediaPlayer) {
kendo.ui.MediaPlayer.prototype.options.messages = $.extend(true, kendo.ui.MediaPlayer.prototype.options.messages, {
"pause": "暂停",
"play": "播放",
"mute": "静音",
"unmute": "取消静音",
"quality": "画质",
"fullscreen": "全屏"
});
}
if (kendo.ui.Pager) {
kendo.ui.Pager.prototype.options.messages = $.extend(true, kendo.ui.Pager.prototype.options.messages, {
"allPages": "全部",
"display": "{0} - {1} 条 共 {2} 条数据",
"empty": "无相关数据",
"page": "转到第",
"of": "页 共 {0} 页",
"itemsPerPage": "条每页",
"first": "首页",
"previous": "上一页",
"next": "下一页",
"last": "末页",
"refresh": "刷新",
"morePages": "更多..."
});
}
if (kendo.ui.TreeListPager) {
kendo.ui.TreeListPager.prototype.options.messages = $.extend(true, kendo.ui.TreeListPager.prototype.options.messages, {
"allPages": "全部",
"display": "{0} - {1} 条 共 {2} 条数据",
"empty": "无相关数据",
"page": "转到第",
"of": "页 共 {0} 页",
"itemsPerPage": "条每页",
"first": "首页",
"previous": "上一页",
"next": "下一页",
"last": "末页",
"refresh": "刷新",
"morePages": "更多..."
});
}
if (kendo.ui.PivotGrid) {
kendo.ui.PivotGrid.prototype.options.messages = $.extend(true, kendo.ui.PivotGrid.prototype.options.messages, {
"measureFields": "拖拽值字段到此处",
"columnFields": "拖拽列字段到此处",
"rowFields": "拖拽行字段到此处"
});
}
if (kendo.ui.PivotFieldMenu) {
kendo.ui.PivotFieldMenu.prototype.options.messages = $.extend(true, kendo.ui.PivotFieldMenu.prototype.options.messages, {
"info": "筛选条件:",
"sortAscending": "升序排列",
"sortDescending": "降序排列",
"filterFields": "字段筛选",
"filter": "筛选",
"include": "包含字段...",
"title": "包含的字段",
"clear": "清空",
"ok": "确定",
"cancel": "取消",
"operators": {
"contains": "包含",
"doesnotcontain": "不含",
"startswith": "开头是",
"endswith": "结尾是",
"eq": "等于",
"neq": "不等于"
}
});
}
if (kendo.ui.PivotSettingTarget) {
kendo.ui.PivotSettingTarget.prototype.options.messages = $.extend(true, kendo.ui.PivotSettingTarget.prototype.options.messages, { "empty": "拖拽字段到此处" });
}
if (kendo.ui.PivotConfigurator) {
kendo.ui.PivotConfigurator.prototype.options.messages = $.extend(true, kendo.ui.PivotConfigurator.prototype.options.messages, {
"measures": "拖拽值字段到此处",
"columns": "拖拽列字段到此处",
"rows": "拖拽行字段到此处",
"measuresLabel": "值",
"columnsLabel": "列",
"rowsLabel": "行",
"fieldsLabel": "字段"
});
}
if (kendo.ui.RecurrenceEditor) {
kendo.ui.RecurrenceEditor.prototype.options.messages = $.extend(true, kendo.ui.RecurrenceEditor.prototype.options.messages, {
"recurrenceEditorTitle": "周期类型事件编辑",
"frequencies": {
"never": "从不",
"hourly": "每小时",
"daily": "每天",
"weekly": "每周",
"monthly": "每月",
"yearly": "每年"
},
"hourly": {
"repeatEvery": "周期",
"interval": " 小时"
},
"daily": {
"repeatEvery": "周期",
"interval": " 天"
},
"weekly": {
"repeatEvery": "周期",
"repeatOn": "重复于",
"interval": " 周"
},
"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": "周末"
}
});
}
if (kendo.ui.MobileRecurrenceEditor) {
kendo.ui.MobileRecurrenceEditor.prototype.options.messages = $.extend(true, kendo.ui.MobileRecurrenceEditor.prototype.options.messages, {
"recurrenceEditorTitle": "周期类型事件编辑",
"cancel": "取消",
"update": "保存",
"endTitle": "周期截止",
"repeatTitle": "周期模式",
"headerTitle": "周期事件",
"frequencies": {
"never": "从不",
"hourly": "每小时",
"daily": "每天",
"weekly": "每周",
"monthly": "每月",
"yearly": "每年"
},
"hourly": {
"repeatEvery": "周期",
"interval": " 小时"
},
"daily": {
"repeatEvery": "周期",
"interval": " 天"
},
"weekly": {
"repeatEvery": "周期",
"repeatOn": "重复于",
"interval": " 周"
},
"monthly": {
"repeatBy": "重复到:",
"repeatEvery": "周期",
"repeatOn": "重复于",
"interval": " 月",
"dayOfMonth": "几号",
"dayOfWeek": "周几",
"every": "每",
"day": "几号 "
},
"yearly": {
"repeatBy": "重复到:",
"repeatEvery": "周期",
"repeatOn": "重复于",
"interval": " 年",
"dayOfMonth": "几号",
"dayOfWeek": "周几",
"every": "每",
"month": "月",
"day": "天",
"of": " 在 "
},
"end": {
"patterns": {
"never": "从不",
"after": "重复 ",
"on": "止于 "
},
"label": "截止",
"mobileLabel": "截止",
"never": "从不",
"after": "重复 ",
"occurrence": " 次后",
"on": "止于 "
},
"offsetPositions": {
"first": "第一",
"second": "第二",
"third": "第三",
"fourth": "第四",
"last": "最后一"
},
"weekdays": {
"day": "天",
"weekday": "工作日",
"weekend": "周末"
}
});
}
if (kendo.ui.TimezoneEditor) {
kendo.ui.TimezoneEditor.prototype.options = $.extend(true, kendo.ui.TimezoneEditor.prototype.options, { "optionLabel": "无时区" });
}
if (kendo.ui.MobileTimezoneEditor) {
kendo.ui.MobileTimezoneEditor.prototype.options = $.extend(true, kendo.ui.MobileTimezoneEditor.prototype.options, { "optionLabel": "无时区" });
}
if (kendo.ui.Scheduler) {
kendo.ui.Scheduler.prototype.options.messages = $.extend(true, kendo.ui.Scheduler.prototype.options.messages, {
"allDay": "全天",
"date": "日期",
"event": "事件",
"time": "时间",
"showFullDay": "显示全天",
"showWorkDay": "显示工作时间",
"today": "今天",
"pdf": "导出 PDF",
"save": "保存",
"cancel": "取消",
"destroy": "删除",
"resetSeries": "重置周期事件",
"deleteWindowTitle": "删除事件",
"next": "往后",
"previous": "往前",
"ariaSlotLabel": "从 {0:t} 到 {1:t} 的选择",
"ariaEventLabel": "在 {1:D} {2:t} 的 {0}",
"editable": { "confirmation": "你确定要删除这个事件吗?" },
"views": {
"day": "日视图",
"week": "周视图",
"workWeek": "工作日视图",
"agenda": "列表视图",
"month": "月视图",
"timeline": "时间线",
"timelineWeek": "时间线周视图",
"timelineWorkWeek": "时间线工作日视图",
"timelineMonth": "时间线月视图"
},
"recurrenceMessages": {
"deleteWindowTitle": "删除周期类型事件",
"resetSeriesWindowTitle": "重置周期事件",
"deleteWindowOccurrence": "删除当前事件",
"deleteWindowSeries": "删除整个周期事件",
"deleteRecurringConfirmation": "你确定要删除当前事件?",
"deleteSeriesConfirmation": "你确定要删除整个周期事件?",
"editWindowTitle": "编辑周期类型事件",
"editWindowOccurrence": "编辑当前事件",
"editWindowSeries": "编辑整个周期事件",
"deleteRecurring": "你想仅删除当前事件还是整个周期事件?",
"editRecurring": "你想仅编辑当前事件还是整个周期事件?"
},
"editor": {
"title": "事件标题",
"start": "开始时间",
"end": "结束时间",
"allDayEvent": "全天事件",
"description": "描述",
"repeat": "重复",
"timezone": "时区",
"startTimezone": "开始时区",
"endTimezone": "结束时区",
"separateTimezones": "使用独立的开始和结束时区",
"timezoneEditorTitle": "时区设置",
"timezoneEditorButton": "时区选择",
"timezoneTitle": "选择时区",
"noTimezone": "无时区",
"editorTitle": "事件"
}
});
}
if (kendo.ui.DayView) {
kendo.ui.DayView.prototype.options.messages = $.extend(true, kendo.ui.DayView.prototype.options.messages, {
"allDay": "全天",
"showFullDay": "显示全天",
"showWorkDay": "显示工作时间"
});
}
if (kendo.ui.MultiDayView) {
kendo.ui.MultiDayView.prototype.options.messages = $.extend(true, kendo.ui.MultiDayView.prototype.options.messages, {
"allDay": "全天",
"showFullDay": "显示全天",
"showWorkDay": "显示工作时间"
});
}
if (kendo.ui.WeekView) {
kendo.ui.WeekView.prototype.options.messages = $.extend(true, kendo.ui.WeekView.prototype.options.messages, {
"allDay": "全天",
"showFullDay": "显示全天",
"showWorkDay": "显示工作时间"
});
}
if (kendo.ui.WorkWeekView) {
kendo.ui.WorkWeekView.prototype.options.messages = $.extend(true, kendo.ui.WorkWeekView.prototype.options.messages, {
"allDay": "全天",
"showFullDay": "显示全天",
"showWorkDay": "显示工作时间"
});
}
if (kendo.ui.AgendaView) {
kendo.ui.AgendaView.prototype.options.messages = $.extend(true, kendo.ui.AgendaView.prototype.options.messages, {
"event": "事件",
"date": "日期",
"time": "时间",
"allDay": "全天"
});
}
if (kendo.ui.TimelineView) {
kendo.ui.TimelineView.prototype.options.messages = $.extend(true, kendo.ui.TimelineView.prototype.options.messages, {
"defaultRowText": "全部事件",
"showFullDay": "显示全天",
"showWorkDay": "显示工作时间"
});
}
if (kendo.ui.TimelineWeekView) {
kendo.ui.TimelineWeekView.prototype.options.messages = $.extend(true, kendo.ui.TimelineWeekView.prototype.options.messages, {
"defaultRowText": "全部事件",
"showFullDay": "显示全天",
"showWorkDay": "显示工作时间"
});
}
if (kendo.ui.TimelineWorkWeekView) {
kendo.ui.TimelineWorkWeekView.prototype.options.messages = $.extend(true, kendo.ui.TimelineWorkWeekView.prototype.options.messages, {
"defaultRowText": "全部事件",
"showFullDay": "显示全天",
"showWorkDay": "显示工作时间"
});
}
if (kendo.ui.TimelineMonthView) {
kendo.ui.TimelineMonthView.prototype.options.messages = $.extend(true, kendo.ui.TimelineMonthView.prototype.options.messages, {
"defaultRowText": "全部事件",
"showFullDay": "显示全天",
"showWorkDay": "显示工作时间"
});
}
if (kendo.spreadsheet && kendo.spreadsheet.messages.borderPalette) {
kendo.spreadsheet.messages.borderPalette = $.extend(true, kendo.spreadsheet.messages.borderPalette, {
"allBorders": "内外框线",
"insideBorders": "内框线",
"insideHorizontalBorders": "横向内框线",
"insideVerticalBorders": "纵向内框线",
"outsideBorders": "外框线",
"leftBorder": "左框线",
"topBorder": "上框线",
"rightBorder": "右框线",
"bottomBorder": "下框线",
"noBorders": "无框线"
});
}
if (kendo.spreadsheet && kendo.spreadsheet.messages.dialogs) {
kendo.spreadsheet.messages.dialogs = $.extend(true, kendo.spreadsheet.messages.dialogs, {
"apply": "确定",
"save": "保存",
"cancel": "取消",
"remove": "移除",
"retry": "重试",
"revert": "复原",
"okText": "确定",
"formatCellsDialog": {
"title": "单元格格式",
"categories": {
"number": "数字",
"currency": "货币",
"date": "日期"
}
},
"fontFamilyDialog": { "title": "字体" },
"fontSizeDialog": { "title": "字号" },
"bordersDialog": { "title": "边框" },
"alignmentDialog": {
"title": "对齐",
"buttons": {
"justifyLeft": "左对齐",
"justifyCenter": "水平居中",
"justifyRight": "右对齐",
"justifyFull": "两端对齐",
"alignTop": "顶端对齐",
"alignMiddle": "垂直居中",
"alignBottom": "底端对齐"
}
},
"mergeDialog": {
"title": "合并单元格",
"buttons": {
"mergeCells": "全部合并",
"mergeHorizontally": "水平合并",
"mergeVertically": "垂直合并",
"unmerge": "取消合并"
}
},
"freezeDialog": {
"title": "冻结窗格",
"buttons": {
"freezePanes": "冻结上行左列",
"freezeRows": "冻结上部行",
"freezeColumns": "冻结左侧列",
"unfreeze": "取消冻结"
}
},
"confirmationDialog": {
"text": "你确定要删除这张工作表吗?",
"title": "删除工作表"
},
"validationDialog": {
"title": "数据验证",
"hintMessage": "请输入一个{1}的{0}值",
"hintTitle": "验证{0}",
"criteria": {
"any": "任何值",
"number": "数字",
"text": "文本",
"date": "日期",
"custom": "自定义公式",
"list": "序列"
},
"comparers": {
"greaterThan": "大于",
"lessThan": "小于",
"between": "介于",
"notBetween": "不介于",
"equalTo": "等于",
"notEqualTo": "不等于",
"greaterThanOrEqualTo": "大于等于",
"lessThanOrEqualTo": "小于等于"
},
"comparerMessages": {
"greaterThan": "大于{0}",
"lessThan": "小于{0}",
"between": "介于{0}和{1}之间",
"notBetween": "不介于{0}和{1}之间",
"equalTo": "等于{0}",
"notEqualTo": "不等于{0}",
"greaterThanOrEqualTo": "大于等于{0}",
"lessThanOrEqualTo": "小于等于{0}",
"custom": "满足公式{0}"
},
"labels": {
"criteria": "允许",
"comparer": "比较",
"min": "最小值",
"max": "最大值",
"value": "值",
"start": "开始",
"end": "结束",
"onInvalidData": "对无效的数据",
"rejectInput": "拒绝输入",
"showWarning": "显示警告",
"showHint": "选定单元格时显示",
"hintTitle": "选定时的标题",
"hintMessage": "选定时的信息",
"ignoreBlank": "忽略空值",
"showListButton": "显示序列按钮",
"showCalendarButton": "显示日历按钮"
},
"placeholders": {
"typeTitle": "请输入标题",
"typeMessage": "请输入信息"
}
},
"exportAsDialog": {
"title": "导出...",
"defaultFileName": "工作簿",
"xlsx": { "description": "Excel 工作簿(.xlsx)" },
"pdf": {
"description": "便携式文档格式(.pdf)",
"area": {
"workbook": "整个工作簿",
"sheet": "活动工作表",
"selection": "选定区域"
},
"paper": {
"a2": "A2 (420 mm × 594 mm)",
"a3": "A3 (297 mm x 420 mm)",
"a4": "A4 (210 mm x 297 mm)",
"a5": "A5 (148 mm x 210 mm)",
"b3": "B3 (353 mm × 500 mm)",
"b4": "B4 (250 mm x 353 mm)",
"b5": "B5 (176 mm x 250 mm)",
"folio": "Folio (8.5\" x 13\")",
"legal": "Legal (8.5\" x 14\")",
"letter": "Letter (8.5\" x 11\")",
"tabloid": "Tabloid (11\" x 17\")",
"executive": "Executive (7.25\" x 10.5\")"
},
"margin": {
"normal": "普通",
"narrow": "窄",
"wide": "宽"
}
},
"labels": {
"scale": "缩放",
"fit": "调整为一页",
"fileName": "文件名",
"saveAsType": "保存类型",
"exportArea": "导出范围",
"paperSize": "纸张大小",
"margins": "页边距",
"orientation": "纸张方向",
"print": "打印",
"guidelines": "网格线",
"center": "居中方式",
"horizontally": "水平",
"vertically": "垂直"
}
},
"modifyMergedDialog": { "errorMessage": "不能更改已合并单元格的局部。" },
"rangeDisabledDialog": { "errorMessage": "指定范围包含禁用单元格。" },
"intersectsArrayDialog": { "errorMessage": "不能更改数组的一部分" },
"incompatibleRangesDialog": { "errorMessage": "范围不匹配" },
"noFillDirectionDialog": { "errorMessage": "无法判断填充方向" },
"duplicateSheetNameDialog": { "errorMessage": "工作表名称重复" },
"overflowDialog": { "errorMessage": "不能粘贴,因为复制区域和粘贴区域的大小和形状不一样。" },
"useKeyboardDialog": {
"title": "复制和粘贴",
"errorMessage": "不能通过菜单调用这些操作,请使用键盘快捷键代替:",
"labels": {
"forCopy": "为复制",
"forCut": "为剪切",
"forPaste": "为粘贴"
}
},
"unsupportedSelectionDialog": { "errorMessage": "不能在多选的情况下执行该操作。" },
"linkDialog": {
"title": "链接",
"labels": {
"text": "链接文字",
"url": "链接地址",
"removeLink": "移除链接"
}
},
"insertCommentDialog": {
"title": "插入注释",
"labels": {
"comment": "注释",
"removeComment": "移除注释"
}
},
"insertImageDialog": {
"title": "插入图片",
"info": "将图片拖到此处或点击选择",
"typeError": "请选择一个JPG、PNG或GIF格式的图片"
}
});
}
if (kendo.spreadsheet && kendo.spreadsheet.messages.filterMenu) {
kendo.spreadsheet.messages.filterMenu = $.extend(true, kendo.spreadsheet.messages.filterMenu, {
"all": "全部",
"sortAscending": "按A到Z升序排列",
"sortDescending": "按Z到A降序排列",
"filterByValue": "内容筛选",
"filterByCondition": "条件筛选",
"apply": "确定",
"search": "搜索",
"addToCurrent": "添加到当前选择",
"clear": "清空",
"blanks": "(无)",
"operatorNone": "无",
"and": "并且",
"or": "或者",
"operators": {
"string": {
"contains": "文本包含",
"doesnotcontain": "文本不包含",
"startswith": "文本开头是",
"endswith": "文本结尾是",
"matches": "文本等于",
"doesnotmatch": "文本不等于"
},
"date": {
"eq": "日期等于",
"neq": "日期不等于",
"lt": "日期早于",
"gt": "日期晚于"
},
"number": {
"eq": "数字等于",
"neq": "数字不等于",
"gte": "数字大于等于",
"gt": "数字大于",
"lte": "数字小于等于",
"lt": "数字小于"
}
}
});
}
if (kendo.spreadsheet && kendo.spreadsheet.messages.colorPicker) {
kendo.spreadsheet.messages.colorPicker = $.extend(true, kendo.spreadsheet.messages.colorPicker, {
"reset": "无填充颜色",
"customColor": "其他颜色...",
"apply": "确定",
"cancel": "取消"
});
}
if (kendo.spreadsheet && kendo.spreadsheet.messages.toolbar) {
kendo.spreadsheet.messages.toolbar = $.extend(true, kendo.spreadsheet.messages.toolbar, {
"addColumnLeft": "在左侧插入列",
"addColumnRight": "在右侧插入列",
"addRowAbove": "在上面插入行",
"addRowBelow": "在下面插入行",
"alignment": "对齐",
"alignmentButtons": {
"justifyLeft": "左对齐",
"justifyCenter": "水平居中",
"justifyRight": "右对齐",
"justifyFull": "两端对齐",
"alignTop": "顶端对齐",
"alignMiddle": "垂直居中",
"alignBottom": "底端对齐"
},
"backgroundColor": "背景颜色",
"bold": "粗体",
"borders": "边框",
"colorPicker": {
"reset": "无填充颜色",
"customColor": "其他颜色..."
},
"copy": "复制",
"cut": "剪切",
"deleteColumn": "删除整列",
"deleteRow": "删除整行",
"excelImport": "从 Excel 导入...",
"exportAs": "导出为...",
"filter": "筛选",
"fontFamily": "字体",
"fontSize": "字号",
"format": "定制格式...",
"formatTypes": {
"automatic": "自动",
"text": "文本",
"number": "数字",
"percent": "百分比",
"financial": "财务",
"currency": "货币",
"date": "日期",
"time": "时间",
"dateTime": "日期时间",
"duration": "时分秒",
"moreFormats": "更多格式..."
},
"formatDecreaseDecimal": "减少小数位数",
"formatIncreaseDecimal": "增加小数位数",
"freeze": "冻结窗格",
"freezeButtons": {
"freezePanes": "冻结上行左列",
"freezeRows": "冻结上部行",
"freezeColumns": "冻结左侧列",
"unfreeze": "取消冻结"
},
"insertComment": "插入注释",
"insertImage": "插入图片",
"italic": "斜体",
"merge": "合并单元格",
"mergeButtons": {
"mergeCells": "全部合并",
"mergeHorizontally": "水平合并",
"mergeVertically": "垂直合并",
"unmerge": "取消合并"
},
"open": "打开...",
"paste": "粘贴",
"quickAccess": {
"redo": "重做",
"undo": "撤消"
},
"toggleGridlines": "切换网格线",
"saveAs": "另存为...",
"sort": "排序",
"sortAsc": "升序排列",
"sortDesc": "降序排列",
"sortButtons": {
"sortSheetAsc": "表格按A到Z升序排列",
"sortSheetDesc": "表格按Z到A降序排列",
"sortRangeAsc": "选定范围按A到Z升序排列",
"sortRangeDesc": "选定范围按Z到A降序排列"
},
"textColor": "文字颜色",
"textWrap": "文字换行",
"underline": "下划线",
"validation": "数据验证...",
"hyperlink": "链接"
});
}
if (kendo.spreadsheet && kendo.spreadsheet.messages.view) {
kendo.spreadsheet.messages.view = $.extend(true, kendo.spreadsheet.messages.view, {
"nameBox": "文件名框",
"errors": {
"openUnsupported": "不支持的格式,请选择一个后缀名为 .xlsx 的文件。",
"shiftingNonblankCells": "由于数据可能丢失无法插入单元格,请选择另一处插入或者从工作表的尾部删除数据。",
"insertColumnWhenRowIsSelected": "在选择所有列时不能插入列。",
"insertRowWhenColumnIsSelected": "在选择所有行时不能插入行。",
"filterRangeContainingMerges": "无法在包含合并单元格的情况下进行筛选",
"sortRangeContainingMerges": "无法在包含合并单元格的情况下排序",
"cantSortMultipleSelection": "无法在多选的情况下排序",
"cantSortNullRef": "无法在没有选择的情况下排序",
"cantSortMixedCells": "无法在包含有混合形状单元格的情况下排序",
"validationError": "你输入的值不符合当前单元格的验证规则。",
"cannotModifyDisabled": "不能修改被禁用的单元格。"
},
"tabs": {
"home": "开始",
"insert": "插入",
"data": "数据"
}
});
}
if (kendo.spreadsheet && kendo.spreadsheet.messages.workbook) {
kendo.spreadsheet.messages.workbook = $.extend(true, kendo.spreadsheet.messages.workbook, { "defaultSheetName": "工作表" });
}
if (kendo.spreadsheet && kendo.spreadsheet.messages.menus) {
kendo.spreadsheet.messages.menus = $.extend(true, kendo.spreadsheet.messages.menus, {
"cut": "剪切",
"copy": "复制",
"paste": "粘贴",
"merge": "合并单元格",
"unmerge": "取消合并",
"delete": "删除",
"hide": "隐藏",
"unhide": "取消隐藏",
"bringToFront": "置于顶层",
"sendToBack": "置于底层"
});
}
if (kendo.ui.Slider) {
kendo.ui.Slider.prototype.options = $.extend(true, kendo.ui.Slider.prototype.options, {
"increaseButtonTitle": "增加",
"decreaseButtonTitle": "减少",
"dragHandleTitle": "拖动"
});
}
if (kendo.ui.RangeSlider) {
kendo.ui.RangeSlider.prototype.options = $.extend(true, kendo.ui.RangeSlider.prototype.options, {
"leftDragHandleTitle": "拖动",
"rightDragHandleTitle": "拖动"
});
}
if (kendo.ui.ListBox) {
kendo.ui.ListBox.prototype.options.messages = $.extend(true, kendo.ui.ListBox.prototype.options.messages, { "tools": {
"remove": "删除",
"moveUp": "上移",
"moveDown": "下移",
"transferTo": "转移过去",
"transferFrom": "转移回来",
"transferAllTo": "全部转移过去",
"transferAllFrom": "全部转移回来"
} });
}
if (kendo.ui.TreeList) {
kendo.ui.TreeList.prototype.options.messages = $.extend(true, kendo.ui.TreeList.prototype.options.messages, {
"noRows": "无相关数据",
"loading": "载入中...",
"requestFailed": "请求失败!",
"retry": "重试",
"commands": {
"edit": "编辑",
"update": "更新",
"canceledit": "取消",
"create": "新增",
"createchild": "新增子项",
"destroy": "删除",
"excel": "导出 Excel",
"pdf": "导出 PDF",
"save": "保存",
"cancel": "取消"
}
});
}
if (kendo.ui.TreeView) {
kendo.ui.TreeView.prototype.options.messages = $.extend(true, kendo.ui.TreeView.prototype.options.messages, {
"loading": "载入中...",
"requestFailed": "请求失败!",
"retry": "重试"
});
}
if (kendo.ui.PanelBar) {
kendo.ui.PanelBar.prototype.options.messages = $.extend(true, kendo.ui.PanelBar.prototype.options.messages, {
"loading": "载入中...",
"requestFailed": "请求失败!",
"retry": "重试"
});
}
if (kendo.ui.Upload) {
kendo.ui.Upload.prototype.options.localization = $.extend(true, kendo.ui.Upload.prototype.options.localization, {
"select": "选择文件",
"cancel": "取消",
"retry": "重试",
"remove": "移除",
"pause": "暂停",
"resume": "恢复",
"clearSelectedFiles": "清空",
"uploadSelectedFiles": "上传",
"dropFilesHere": "将文件拖拽到此处上传",
"invalidFiles": "文件不符合要求!",
"statusUploading": "上传中...",
"statusUploaded": "上传成功!",
"statusWarning": "上传警告!",
"statusFailed": "上传失败!",
"headerStatusUploading": "上传中...",
"headerStatusPaused": "上传暂停",
"headerStatusUploaded": "上传完成!",
"invalidMaxFileSize": "文件太大!",
"invalidMinFileSize": "文件太小!",
"invalidFileExtension": "不支持的文件格式!"
});
}
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} 不是正确的网址格式!",
"date": "{0} 不是正确的日期格式!",
"dateCompare": "结束日期必须晚于或等于开始日期!"
});
}
if (kendo.ui.progress) {
kendo.ui.progress.messages = $.extend(true, kendo.ui.progress.messages, { "loading": "载入中..." });
}
if (kendo.ui.VirtualList) {
kendo.ui.VirtualList.prototype.options = $.extend(true, kendo.ui.VirtualList.prototype.options, { "placeholderTemplate": "载入中..." });
}
if (kendo.ui.Dialog) {
kendo.ui.Dialog.prototype.options.messages = $.extend(true, kendo.ui.Dialog.prototype.options.messages, { "close": "关闭" });
}
if (kendo.ui.Calendar) {
kendo.ui.Calendar.prototype.options.messages = $.extend(true, kendo.ui.Calendar.prototype.options.messages, { "weekColumnHeader": "周" });
}
if (kendo.ui.MultiViewCalendar) {
kendo.ui.MultiViewCalendar.prototype.options.messages = $.extend(true, kendo.ui.MultiViewCalendar.prototype.options.messages, { "weekColumnHeader": "周" });
}
if (kendo.ui.Alert) {
kendo.ui.Alert.prototype.options.messages = $.extend(true, kendo.ui.Alert.prototype.options.messages, {
"okText": "确定",
"cancel": "取消",
"promptInput": "输入"
});
}
if (kendo.ui.Confirm) {
kendo.ui.Confirm.prototype.options.messages = $.extend(true, kendo.ui.Confirm.prototype.options.messages, {
"okText": "确定",
"cancel": "取消",
"promptInput": "输入"
});
}
if (kendo.ui.Prompt) {
kendo.ui.Prompt.prototype.options.messages = $.extend(true, kendo.ui.Prompt.prototype.options.messages, {
"okText": "确定",
"cancel": "取消",
"promptInput": "输入"
});
}
if (kendo.ui.DateInput) {
kendo.ui.DateInput.prototype.options.messages = $.extend(true, kendo.ui.DateInput.prototype.options.messages, {
"year": "年",
"month": "月",
"day": "日",
"weekday": "星期",
"hour": "时",
"minute": "分",
"second": "秒",
"dayperiod": "上午/下午"
});
}
if (kendo.ui.DropDownTree) {
kendo.ui.DropDownTree.prototype.options.messages = $.extend(true, kendo.ui.DropDownTree.prototype.options.messages, {
"noData": "无相关数据",
"clear": "清空",
"deleteTag": "删除",
"singleTag": "项已选择"
});
kendo.ui.DropDownTree.prototype.options = $.extend(true, kendo.ui.DropDownTree.prototype.options, {
"noDataTemplate": "无相关数据",
"checkAllTemplate": "全选"
});
}
if (kendo.ui.Chat) {
kendo.ui.Chat.prototype.options.messages = $.extend(true, kendo.ui.Chat.prototype.options.messages, { "placeholder": "请输入..." });
}
if (kendo.ui.Switch) {
kendo.ui.Switch.prototype.options.messages = $.extend(true, kendo.ui.Switch.prototype.options.messages, {
"checked": "开",
"unchecked": "关"
});
}
if (kendo.ui.List) {
kendo.ui.List.prototype.options.messages = $.extend(true, kendo.ui.List.prototype.options.messages, {
"noData": "无相关数据",
"clear": "清空"
});
kendo.ui.List.prototype.options = $.extend(true, kendo.ui.List.prototype.options, { "noDataTemplate": "无相关数据" });
}
if (kendo.ui.SelectBox) {
kendo.ui.SelectBox.prototype.options.messages = $.extend(true, kendo.ui.SelectBox.prototype.options.messages, {
"noData": "无相关数据",
"clear": "清空"
});
kendo.ui.SelectBox.prototype.options = $.extend(true, kendo.ui.SelectBox.prototype.options, { "noDataTemplate": "无相关数据" });
}
if (kendo.ui.AutoComplete) {
kendo.ui.AutoComplete.prototype.options.messages = $.extend(true, kendo.ui.AutoComplete.prototype.options.messages, {
"noData": "无相关数据",
"clear": "清空"
});
kendo.ui.AutoComplete.prototype.options = $.extend(true, kendo.ui.AutoComplete.prototype.options, { "noDataTemplate": "无相关数据" });
}
if (kendo.ui.DropDownList) {
kendo.ui.DropDownList.prototype.options.messages = $.extend(true, kendo.ui.DropDownList.prototype.options.messages, {
"noData": "无相关数据",
"clear": "清空"
});
}
if (kendo.ui.ComboBox) {
kendo.ui.ComboBox.prototype.options.messages = $.extend(true, kendo.ui.ComboBox.prototype.options.messages, {
"noData": "无相关数据",
"clear": "清空"
});
kendo.ui.ComboBox.prototype.options = $.extend(true, kendo.ui.ComboBox.prototype.options, { "noDataTemplate": "无相关数据" });
}
if (kendo.ui.MultiColumnComboBox) {
kendo.ui.MultiColumnComboBox.prototype.options.messages = $.extend(true, kendo.ui.MultiColumnComboBox.prototype.options.messages, {
"noData": "无相关数据",
"clear": "清空"
});
kendo.ui.MultiColumnComboBox.prototype.options = $.extend(true, kendo.ui.MultiColumnComboBox.prototype.options, { "noDataTemplate": "无相关数据" });
}
if (kendo.ui.MultiSelect) {
kendo.ui.MultiSelect.prototype.options.messages = $.extend(true, kendo.ui.MultiSelect.prototype.options.messages, {
"noData": "无相关数据",
"clear": "清空",
"deleteTag": "删除",
"singleTag": "项已选择"
});
kendo.ui.MultiSelect.prototype.options = $.extend(true, kendo.ui.MultiSelect.prototype.options, { "noDataTemplate": "无相关数据" });
}
if (kendo.ui.PDFViewer) {
kendo.ui.PDFViewer.prototype.options.messages = $.extend(true, kendo.ui.PDFViewer.prototype.options.messages, {
"defaultFileName": "PDF 文档",
"toolbar": {
"zoom": {
"zoomOut": "缩小",
"zoomIn": "放大",
"actualWidth": "实际宽度",
"autoWidth": "自动宽度",
"fitToWidth": "适应宽度",
"fitToPage": "适应页面"
},
"open": "打开",
"exportAs": "导出",
"download": "下载",
"pager": {
"first": "首页",
"previous": "上一页",
"next": "下一页",
"last": "末页",
"of": "页 共 {0} 页",
"page": "转到第",
"pages": "页"
},
"print": "打印",
"toggleSelection": "启用选择",
"togglePan": "启用平移",
"search": "搜索"
},
"errorMessages": {
"notSupported": "只支持 PDF 文件!",
"parseError": "无法处理 PDF 文件!",
"notFound": "找不到文件!"
},
"dialogs": {
"exportAsDialog": {
"title": "导出...",
"defaultFileName": "PDF 文档",
"pdf": "便携式文档格式(.pdf)",
"png": "便携式网络图形(.png)",
"svg": "可缩放矢量图形(.svg)",
"labels": {
"fileName": "文件名",
"saveAsType": "另存为",
"page": "页"
}
},
"okText": "确定",
"save": "保存",
"cancel": "取消",
"search": {
"inputLabel": "关键字",
"matchCase": "匹配大小写",
"next": "下一个匹配",
"previous": "上一个匹配",
"close": "关闭",
"of": " / "
}
}
});
}
if (kendo.ui.ColorGradient) {
kendo.ui.ColorGradient.prototype.options.messages = $.extend(true, kendo.ui.ColorGradient.prototype.options.messages, {
"contrastRatio": "对比度:",
"fail": "失败",
"pass": "通过",
"hex": "HEX",
"toggleFormat": "切换格式",
"red": "红",
"green": "绿",
"blue": "蓝",
"alpha": "透明度"
});
}
if (kendo.ui.FileManager) {
kendo.ui.FileManager.prototype.options.messages = $.extend(true, kendo.ui.FileManager.prototype.options.messages, {
"toolbar": {
"createFolder": "新建文件夹",
"upload": "上传",
"sortDirection": "排序方向",
"sortDirectionAsc": "升序",
"sortDirectionDesc": "降序",
"sortField": "排序字段",
"nameField": "名称",
"sizeField": "大小",
"typeField": "类型",
"dateModifiedField": "修改日期",
"dateCreatedField": "创建日期",
"listView": "列表视图",
"gridView": "网格视图",
"search": "搜索",
"details": "详情",
"detailsChecked": "是",
"detailsUnchecked": "否",
"Delete": "删除",
"Rename": "重命名"
},
"views": {
"nameField": "名称",
"sizeField": "大小",
"typeField": "类型",
"dateModifiedField": "修改日期",
"dateCreatedField": "创建日期",
"items": "项"
},
"dialogs": {
"upload": {
"title": "上传文件",
"clear": "清空",
"done": "完成"
},
"moveConfirm": {
"title": " ",
"content": "<p class='k-text-center'>是否移动或复制所选文件?</p>",
"okText": "复制",
"cancel": "移动",
"close": "关闭"
},
"deleteConfirm": {
"title": "确认删除",
"content": "<p class='k-text-center'>确定要删除所选文件吗?<br/>此操作无法撤销。</p>",
"okText": "删除",
"cancel": "取消",
"close": "关闭"
},
"renamePrompt": {
"title": "重命名",
"content": "<p class='k-text-center'>请输入新文件名</p>",
"okText": "重命名",
"cancel": "取消",
"close": "关闭"
}
},
"previewPane": {
"noFileSelected": "未选择文件",
"extension": "类型",
"size": "大小",
"created": "创建日期",
"createdUtc": "创建日期 (UTC)",
"modified": "修改日期",
"modifiedUtc": "修改日期 (UTC)",
"items": "项"
}
});
}
if (kendo.ui.FilterCell) {
kendo.ui.FilterCell.prototype.options.operators = $.extend(true, kendo.ui.FilterCell.prototype.options.operators, {
"string": {
"contains": "包含",
"startswith": "开头是",
"eq": "等于",
"neq": "不等于",
"doesnotcontain": "不包含",
"endswith": "结尾是",
"isnull": "为空",
"isnotnull": "不为空",
"isempty": "为空值",
"isnotempty": "不为空值",
"isnullorempty": "有值",
"isnotnullorempty": "没有值"
},
"number": {
"eq": "等于",
"neq": "不等于",
"gte": "大于或等于",
"gt": "大于",
"lte": "小于或等于",
"lt": "小于",
"isnull": "为空",
"isnotnull": "不为空"
},
"date": {
"eq": "等于",
"neq": "不等于",
"gte": "晚于或等于",
"gt": "晚于",
"lte": "早于或等于",
"lt": "早于",
"isnull": "为空",
"isnotnull": "不为空"
},
"enums": {
"eq": "等于",
"neq": "不等于",
"isnull": "为空",
"isnotnull": "不为空"
}
});
}
if (kendo.ui.FilterMenu) {
kendo.ui.FilterMenu.prototype.options.operators = $.extend(true, kendo.ui.FilterMenu.prototype.options.operators, {
"string": {
"contains": "包含",
"startswith": "开头是",
"eq": "等于",
"neq": "不等于",
"doesnotcontain": "不包含",
"endswith": "结尾是",
"isnull": "为空",
"isnotnull": "不为空",
"isempty": "为空值",
"isnotempty": "不为空值",
"isnullorempty": "有值",
"isnotnullorempty": "没有值"
},
"number": {
"eq": "等于",
"neq": "不等于",
"gte": "大于或等于",
"gt": "大于",
"lte": "小于或等于",
"lt": "小于",
"isnull": "为空",
"isnotnull": "不为空"
},
"date": {
"eq": "等于",
"neq": "不等于",
"gte": "晚于或等于",
"gt": "晚于",
"lte": "早于或等于",
"lt": "早于",
"isnull": "为空",
"isnotnull": "不为空"
},
"enums": {
"eq": "等于",
"neq": "不等于",
"isnull": "为空",
"isnotnull": "不为空"
}
});
}
if (kendo.ui.TaskBoard) {
kendo.ui.TaskBoard.prototype.options.messages = $.extend(true, kendo.ui.TaskBoard.prototype.options.messages, {
"edit": "编辑",
"createNewCard": "新建卡片",
"create": "创建",
"search": "搜索",
"previewCard": "预览卡片",
"addCard": "添加卡片",
"editCard": "编辑卡片",
"deleteCard": "删除卡片",
"addColumn": "添加列",
"editColumn": "编辑列",
"deleteColumn": "删除列",
"close": "关闭",
"cancel": "取消",
"delete": "删除",
"saveChanges": "保存更改",
"title": "标题:",
"description": "描述:",
"newColumn": "新列",
"deleteColumnConfirm": "确定要删除此列吗?",
"deleteCardConfirm": "确定要删除此卡片吗?"
});
}
if (kendo.ui.NumericTextBox) {
kendo.ui.NumericTextBox.prototype.options = $.extend(true, kendo.ui.NumericTextBox.prototype.options, {
"upArrowText": "增加值",
"downArrowText": "减少值"
});
}
if (kendo.ui.PivotConfiguratorV2) {
kendo.ui.PivotConfiguratorV2.prototype.options.messages = $.extend(true, kendo.ui.PivotConfiguratorV2.prototype.options.messages, {
"title": "设置",
"cancelButtonText": "取消",
"applyButtonText": "应用",
"measures": "选择一些字段以开始设置",
"columns": "选择一些字段以开始设置",
"rows": "选择一些字段以开始设置"
});
}
if (kendo.ui.PivotFieldMenuV2) {
kendo.ui.PivotFieldMenuV2.prototype.options.messages = $.extend(true, kendo.ui.PivotFieldMenuV2.prototype.options.messages, {
"apply": "应用",
"sortAscending": "升序排序",
"sortDescending": "降序排序",
"filterFields": "字段筛选",
"filter": "筛选",
"include": "包含字段...",
"clear": "清除",
"reset": "重置",
"moveToColumns": "移至列",
"moveToRows": "移至行",
"movePrevious": "前移",
"moveNext": "后移",
"filterOperatorsDropDownLabel": "区域筛选运算符",
"filterValueTextBoxLabel": "区域筛选值",
"operators": {
"contains": "包含",
"doesnotcontain": "不包含",
"startswith": "开头是",
"endswith": "结尾是",
"eq": "等于",
"neq": "不等于"
}
});
}
if (kendo.ui.Slider) {
kendo.ui.Slider.prototype.options = $.extend(true, kendo.ui.Slider.prototype.options, {
"increaseButtonTitle": "增加",
"decreaseButtonTitle": "减少",
"dragHandleTitle": "拖动"
});
}
if (kendo.ui.ListBox) {
kendo.ui.ListBox.prototype.options.messages = $.extend(true, kendo.ui.ListBox.prototype.options.messages, { "tools": {
"remove": "删除",
"moveUp": "上移",
"moveDown": "下移",
"transferTo": "转移到",
"transferFrom": "转移自",
"transferAllTo": "全部转移到",
"transferAllFrom": "全部转移自"
} });
}
if (kendo.ui.Upload) {
kendo.ui.Upload.prototype.options.localization = $.extend(true, kendo.ui.Upload.prototype.options.localization, {
"select": "选择文件...",
"cancel": "取消",
"retry": "重试",
"remove": "移除",
"clearSelectedFiles": "清除",
"uploadSelectedFiles": "上传",
"dropFilesHere": "将文件拖放到此处进行上传",
"statusUploading": "上传中",
"statusUploaded": "已上传",
"statusWarning": "警告",
"statusFailed": "失败",
"headerStatusUploading": "上传中...",
"headerStatusUploaded": "完成",
"headerStatusPaused": "已暂停"
});
}
if (kendo.ui.progress) {
kendo.ui.progress.messages = $.extend(true, kendo.ui.progress.messages, { "loading": "加载中..." });
}
if (kendo.ui.Dialog) {
kendo.ui.Dialog.prototype.options.messages = $.extend(true, kendo.ui.Dialog.prototype.options.messages, { "close": "关闭" });
}
if (kendo.ui.TimePicker) {
kendo.ui.TimePicker.prototype.options.messages = $.extend(true, kendo.ui.TimePicker.prototype.options.messages, {
"set": "设置",
"cancel": "取消",
"hour": "小时",
"minute": "分钟",
"second": "秒",
"millisecond": "毫秒",
"now": "现在"
});
}
if (kendo.ui.DateTimePicker) {
kendo.ui.DateTimePicker.prototype.options.messages = $.extend(true, kendo.ui.DateTimePicker.prototype.options.messages, {
"set": "设置",
"cancel": "取消",
"hour": "小时",
"minute": "分钟",
"second": "秒",
"millisecond": "毫秒",
"now": "现在",
"date": "日期",
"time": "时间",
"today": "今天",
"weekColumnHeader": ""
});
}
if (kendo.ui.Calendar) {
kendo.ui.Calendar.prototype.options.messages = $.extend(true, kendo.ui.Calendar.prototype.options.messages, {
"weekColumnHeader": "",
"today": "今天",
"navigateTo": "导航至: ",
"parentViews": {
"month": "年视图",
"year": "十年视图",
"decade": "世纪视图"
}
});
}
if (kendo.ui.Alert) {
kendo.ui.Alert.prototype.options.messages = $.extend(true, kendo.ui.Alert.prototype.options.messages, { "okText": "确定" });
}
if (kendo.ui.Confirm) {
kendo.ui.Confirm.prototype.options.messages = $.extend(true, kendo.ui.Confirm.prototype.options.messages, {
"okText": "确定",
"cancel": "取消"
});
}
if (kendo.ui.Prompt) {
kendo.ui.Prompt.prototype.options.messages = $.extend(true, kendo.ui.Prompt.prototype.options.messages, {
"okText": "确定",
"cancel": "取消"
});
}
if (kendo.ui.DateInput) {
kendo.ui.DateInput.prototype.options.messages = $.extend(true, kendo.ui.DateInput.prototype.options.messages, {
"year": "年",
"month": "月",
"day": "日",
"weekday": "星期",
"hour": "时",
"minute": "分",
"second": "秒",
"dayperiod": "上午/下午"
});
}
if (kendo.ui.Wizard) {
kendo.ui.Wizard.prototype.options.messages = $.extend(true, kendo.ui.Wizard.prototype.options.messages, {
"reset": "重置",
"previous": "上一步",
"next": "下一步",
"done": "完成",
"step": "步骤",
"of": "/"
});
}
if (kendo.ui.Captcha) {
kendo.ui.Captcha.prototype.options.messages = $.extend(true, kendo.ui.Captcha.prototype.options.messages, {
"reset": "重新生成验证码",
"audio": "播放验证码音频",
"imageAlt": "输入验证码图片中的文字",
"success": "验证成功"
});
}
if (kendo.ui.OrgChart) {
kendo.ui.OrgChart.prototype.options.messages = $.extend(true, kendo.ui.OrgChart.prototype.options.messages, {
"label": "组织架构图",
"edit": "编辑",
"create": "创建",
"destroy": "删除",
"destroyContent": "确定要删除此项及其子项吗?",
"destroyTitle": "删除项目",
"cancel": "取消",
"save": "保存",
"menuLabel": "编辑菜单",
"uploadAvatar": "上传新头像",
"parent": "上级",
"name": "名称",
"title": "职位",
"none": "--无--",
"expand": "展开",
"collapse": "折叠"
});
}
if (kendo.dataviz.ui.Map) {
kendo.dataviz.ui.Map.prototype.options.messages = $.extend(true, kendo.dataviz.ui.Map.prototype.options.messages, { "tileTitle": "地图标题" });
}
if (kendo.dataviz.ui.Sankey) {
kendo.dataviz.ui.Sankey.prototype.options.messages = $.extend(true, kendo.dataviz.ui.Sankey.prototype.options.messages, { "tooltipUnits": "{0} 个单位" });
}
if (kendo.dataviz.u