grid.locale-tw.js 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. ;(function($){
  2. /**
  3. * jqGrid Chinese (Taiwan) Translation for v4.2
  4. * linquize
  5. * https://github.com/linquize/jqGrid
  6. * Dual licensed under the MIT and GPL licenses:
  7. * http://www.opensource.org/licenses/mit-license.php
  8. * http://www.gnu.org/licenses/gpl.html
  9. *
  10. **/
  11. $.jgrid = $.jgrid || {};
  12. $.extend($.jgrid,{
  13. defaults : {
  14. recordtext: "{0} - {1} 共 {2} 條",
  15. emptyrecords: "沒有記錄",
  16. loadtext: "載入中...",
  17. pgtext : " {0} 共 {1} 頁"
  18. },
  19. search : {
  20. caption: "搜尋...",
  21. Find: "搜尋",
  22. Reset: "重設",
  23. odata: [{ oper:'eq', text:"等於 "},{ oper:'ne', text:"不等於 "},{ oper:'lt', text:"小於 "},{ oper:'le', text:"小於等於 "},{ oper:'gt', text:"大於 "},{ oper:'ge', text:"大於等於 "},{ oper:'bw', text:"開始於 "},{ oper:'bn', text:"不開始於 "},{ oper:'in', text:"在其中 "},{ oper:'ni', text:"不在其中 "},{ oper:'ew', text:"結束於 "},{ oper:'en', text:"不結束於 "},{ oper:'cn', text:"包含 "},{ oper:'nc', text:"不包含 "},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
  24. groupOps: [ { op: "AND", text: "所有" }, { op: "OR", text: "任一" } ],
  25. operandTitle : "Click to select search operation.",
  26. resetTitle : "Reset Search Value"
  27. },
  28. edit : {
  29. addCaption: "新增記錄",
  30. editCaption: "編輯記錄",
  31. bSubmit: "提交",
  32. bCancel: "取消",
  33. bClose: "關閉",
  34. saveData: "資料已改變,是否儲存?",
  35. bYes : "是",
  36. bNo : "否",
  37. bExit : "取消",
  38. msg: {
  39. required:"此欄必要",
  40. number:"請輸入有效的數字",
  41. minValue:"值必須大於等於 ",
  42. maxValue:"值必須小於等於 ",
  43. email: "不是有效的e-mail地址",
  44. integer: "請輸入有效整数",
  45. date: "請輸入有效時間",
  46. url: "網址無效。前綴必須為 ('http://' 或 'https://')",
  47. nodefined : " 未定義!",
  48. novalue : " 需要傳回值!",
  49. customarray : "自訂函數應傳回陣列!",
  50. customfcheck : "自訂檢查應有自訂函數!"
  51. }
  52. },
  53. view : {
  54. caption: "查看記錄",
  55. bClose: "關閉"
  56. },
  57. del : {
  58. caption: "刪除",
  59. msg: "刪除已選記錄?",
  60. bSubmit: "刪除",
  61. bCancel: "取消"
  62. },
  63. nav : {
  64. edittext: "",
  65. edittitle: "編輯已選列",
  66. addtext:"",
  67. addtitle: "新增列",
  68. deltext: "",
  69. deltitle: "刪除已選列",
  70. searchtext: "",
  71. searchtitle: "搜尋記錄",
  72. refreshtext: "",
  73. refreshtitle: "重新整理表格",
  74. alertcap: "警告",
  75. alerttext: "請選擇列",
  76. viewtext: "",
  77. viewtitle: "檢視已選列"
  78. },
  79. col : {
  80. caption: "選擇欄",
  81. bSubmit: "確定",
  82. bCancel: "取消"
  83. },
  84. errors : {
  85. errcap : "錯誤",
  86. nourl : "未設定URL",
  87. norecords: "無需要處理的記錄",
  88. model : "colNames 和 colModel 長度不同!"
  89. },
  90. formatter : {
  91. integer : {thousandsSeparator: " ", defaultValue: '0'},
  92. number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'},
  93. currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'},
  94. date : {
  95. dayNames: [
  96. "日", "一", "二", "三", "四", "五", "六",
  97. "星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"
  98. ],
  99. monthNames: [
  100. "一", "二", "三", "四", "五", "六", "七", "八", "九", "十", "十一", "十二",
  101. "一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"
  102. ],
  103. AmPm : ["上午","下午","上午","下午"],
  104. S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th';},
  105. srcformat: 'Y-m-d',
  106. newformat: 'm-d-Y',
  107. parseRe : /[#%\\\/:_;.,\t\s-]/,
  108. masks : {
  109. ISO8601Long:"Y-m-d H:i:s",
  110. ISO8601Short:"Y-m-d",
  111. ShortDate: "Y/j/n",
  112. LongDate: "l, F d, Y",
  113. FullDateTime: "l, F d, Y g:i:s A",
  114. MonthDay: "F d",
  115. ShortTime: "g:i A",
  116. LongTime: "g:i:s A",
  117. SortableDateTime: "Y-m-d\\TH:i:s",
  118. UniversalSortableDateTime: "Y-m-d H:i:sO",
  119. YearMonth: "F, Y"
  120. },
  121. reformatAfterEdit : false
  122. },
  123. baseLinkUrl: '',
  124. showAction: '',
  125. target: '',
  126. checkbox : {disabled:true},
  127. idName : 'id'
  128. }
  129. });
  130. })(jQuery);