LaravelTest
46 строк · 1.6 Кб
1(function(jsGrid) {2
3jsGrid.locales["zh-cn"] = {4grid: {5noDataContent: "暂无数据",6deleteConfirm: "确认删除?",7pagerFormat: "页码: {first} {prev} {pages} {next} {last} {pageIndex} / {pageCount}",8pagePrevText: "上一页",9pageNextText: "下一页",10pageFirstText: "第一页",11pageLastText: "最后页",12loadMessage: "请稍后...",13invalidMessage: "数据有误!"14},15
16loadIndicator: {17message: "载入中..."18},19
20fields: {21control: {22searchModeButtonTooltip: "切换为搜索",23insertModeButtonTooltip: "切换为新增",24editButtonTooltip: "编辑",25deleteButtonTooltip: "删除",26searchButtonTooltip: "搜索",27clearFilterButtonTooltip: "清空过滤",28insertButtonTooltip: "插入",29updateButtonTooltip: "更新",30cancelEditButtonTooltip: "取消编辑"31}32},33
34validators: {35required: { message: "字段必填" },36rangeLength: { message: "字段值长度超过定义范围" },37minLength: { message: "字段长度过短" },38maxLength: { message: "字段长度过长" },39pattern: { message: "字段值不符合定义规则" },40range: { message: "字段值超过定义范围" },41min: { message: "字段值太小" },42max: { message: "字段值太大" }43}44};45
46}(jsGrid, jQuery));47