-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
46a64a4
commit 48e82c6
Showing
4 changed files
with
379 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,190 @@ | ||
/** | ||
* 直接将zh.json 复制进来,修改copySuccess,pageLength,select | ||
*/ | ||
(function($) { | ||
// Disable search and ordering by default | ||
$.extend($.fn.dataTable.defaults, { | ||
language: { | ||
'processing': '处理中...', | ||
'lengthMenu': '显示 _MENU_ 项结果', | ||
'zeroRecords': '没有匹配结果', | ||
'info': '显示第 _START_ 至 _END_ 项结果,共 _TOTAL_ 项', | ||
'infoEmpty': '显示第 0 至 0 项结果,共 0 项', | ||
'infoFiltered': '(由 _MAX_ 项结果过滤)', | ||
'search': '搜索:', | ||
'emptyTable': '表中数据为空', | ||
'paginate': { | ||
'first': '首页', | ||
'previous': '上页', | ||
'next': '下页', | ||
'last': '末页', | ||
}, | ||
'aria': { | ||
'sortAscending': ': 以升序排列此列', | ||
'sortDescending': ': 以降序排列此列', | ||
}, | ||
'autoFill': { | ||
'cancel': '取消', | ||
'fill': '用 <i>%d<\/i> 填充所有单元格', | ||
'fillHorizontal': '水平填充单元格', | ||
'fillVertical': '垂直填充单元格', | ||
}, | ||
'buttons': { | ||
'collection': '集合 <span class="ui-button-icon-primary ui-icon ui-icon-triangle-1-s"><\/span>', | ||
'colvis': '列可见性', | ||
'colvisRestore': '恢复列可见性', | ||
'copy': '复制', | ||
'copyKeys': '按 ctrl 或者 u2318 + C 将表数据复制到剪贴板。<br \/><br \/>要取消,请单击此消息或按Escape键。', | ||
'copyTitle': '复制到剪贴板', | ||
'csv': 'CSV', | ||
'excel': 'Excel', | ||
'pdf': 'PDF', | ||
'copySuccess': { | ||
'0': '', | ||
'1': '已将 1 行复制到剪贴板', | ||
'_': '已将 %d 行复制到剪贴板', | ||
}, | ||
'pageLength': { | ||
'0': '显示所有行', | ||
'-1': '显示所有行', | ||
'_': '显示 %d 行', | ||
}, | ||
'print': '打印', | ||
}, | ||
'searchBuilder': { | ||
'add': '添加搜索条件', | ||
'button': { | ||
'0': '搜索生成器', | ||
'_': '搜索生成器 (%d)', | ||
}, | ||
'clearAll': '全部清除', | ||
'condition': '条件', | ||
'data': '数据', | ||
'deleteTitle': '删除过滤规则', | ||
'leftTitle': 'Outdent 条件', | ||
'logicAnd': 'And', | ||
'logicOr': 'Or', | ||
'rightTitle': 'Indent 条件', | ||
'title': { | ||
'0': '搜索生成器', | ||
'_': '搜索生成器 (%d)', | ||
}, | ||
'value': '值', | ||
'conditions': { | ||
'date': { | ||
'notBetween': '日期条件查询为notBetween条件名称:不介于2个日期之间', | ||
'notEmpty': '日期条件查询为notEmpty条件名称:日期不为空', | ||
'after': '大于', | ||
'before': '小于', | ||
'between': '之间', | ||
'empty': '空', | ||
'equals': '等于', | ||
'not': '不等于', | ||
}, | ||
'string': { | ||
'contains': '文本包含', | ||
'empty': '文本为空', | ||
'endsWith': '文本以某某结尾', | ||
'equals': '文本等于', | ||
'not': '文本不等于', | ||
'notEmpty': '文本不为空', | ||
'startsWith': '文本从某某开始', | ||
}, | ||
}, | ||
}, | ||
'searchPanes': { | ||
'collapse': { | ||
'0': '搜索栏', | ||
'_': '搜索栏(%d)', | ||
}, | ||
'title': '应用的过滤器 - %d', | ||
'clearMessage': '全部清除', | ||
'count': '计数', | ||
'countFiltered': '过滤计数', | ||
'emptyPanes': '没有搜索栏', | ||
'loadMessage': '正在加载搜索栏', | ||
}, | ||
'select': { | ||
'cells': { | ||
'0': '', | ||
'1': '选择了1个单元格', | ||
'_': '选择了%d个单元格', | ||
}, | ||
'columns': { | ||
'0': '', | ||
'1': '选择了1列', | ||
'_': '选择了%d列', | ||
}, | ||
'rows': { | ||
'0': '', | ||
'1': '选择了1行', | ||
'_': '选择了多行', | ||
}, | ||
}, | ||
'decimal': '用于标记小数位的字符', | ||
'loadingRecords': '数据加载提示信息,例如:数据加载中...', | ||
'infoThousands': ',', | ||
'thousands': ',', | ||
'datetime': { | ||
'amPm': [ | ||
'上午', | ||
'下午', | ||
], | ||
'minutes': '分', | ||
'months': { | ||
'0': '1月', | ||
'1': '2月', | ||
'10': '11月', | ||
'11': '12月', | ||
'2': '3月', | ||
'3': '4月', | ||
'4': '5月', | ||
'5': '6月', | ||
'6': '7月', | ||
'7': '8月', | ||
'8': '9月', | ||
'9': '10月', | ||
}, | ||
'seconds': '秒', | ||
'unknown': '未知', | ||
'weekdays': [ | ||
'周日', | ||
'周一', | ||
'周二', | ||
'周三', | ||
'周四', | ||
'周五', | ||
'周六', | ||
], | ||
}, | ||
'editor': { | ||
'close': '关闭', | ||
'create': { | ||
'button': '新建', | ||
'submit': '创建', | ||
'title': '新建记录', | ||
}, | ||
'edit': { | ||
'button': '编辑', | ||
'submit': '更新', | ||
'title': '编辑记录', | ||
}, | ||
'multi': { | ||
'info': '所选项目包含不同的输入值。要编辑此输入的所有项目,并将其设置为相同的值,请单击或点击此处,否则它们将保留各自的原值。', | ||
'noMulti': '此输入可以单独编辑,但不能作为组的一部分进行编辑。', | ||
'restore': '撤销更改', | ||
'title': '多个值', | ||
}, | ||
'remove': { | ||
'button': '删除', | ||
'confirm': { | ||
'_': '确定删除 %d 行吗?', | ||
'1': '确定删除此行吗?', | ||
}, | ||
'submit': '删除', | ||
'title': '删除记录', | ||
}, | ||
}, | ||
} | ||
}); | ||
})($); |
Oops, something went wrong.