jsgrid-zh-cn.js 1.6 KB

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