jsgrid-zh-tw.js 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. (function(jsGrid) {
  2. jsGrid.locales["zh-tw"] = {
  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));