grid.locale-tw.js 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  1. /**
  2. * jqGrid Chinese (Taiwan) Translation for v4.2
  3. * linquize
  4. * https://github.com/linquize/jqGrid
  5. * Dual licensed under the MIT and GPL licenses:
  6. * http://www.opensource.org/licenses/mit-license.php
  7. * http://www.gnu.org/licenses/gpl.html
  8. *
  9. **/
  10. /*global jQuery, define */
  11. (function( factory ) {
  12. "use strict";
  13. if ( typeof define === "function" && define.amd ) {
  14. // AMD. Register as an anonymous module.
  15. define([
  16. "jquery",
  17. "../grid.base"
  18. ], factory );
  19. } else {
  20. // Browser globals
  21. factory( jQuery );
  22. }
  23. }(function( $ ) {
  24. $.jgrid = $.jgrid || {};
  25. if(!$.jgrid.hasOwnProperty("regional")) {
  26. $.jgrid.regional = [];
  27. }
  28. $.jgrid.regional["tw"] = {
  29. defaults : {
  30. recordtext: "{0} - {1} 共 {2} 條",
  31. emptyrecords: "沒有記錄",
  32. loadtext: "載入中...",
  33. pgtext : " {0} 共 {1} 頁",
  34. savetext: "Saving...",
  35. pgfirst : "First Page",
  36. pglast : "Last Page",
  37. pgnext : "Next Page",
  38. pgprev : "Previous Page",
  39. pgrecs : "Records per Page",
  40. showhide: "Toggle Expand Collapse Grid",
  41. // mobile
  42. pagerCaption : "Grid::Page Settings",
  43. pageText : "Page:",
  44. recordPage : "Records per Page",
  45. nomorerecs : "No more records...",
  46. scrollPullup: "Pull up to load more...",
  47. scrollPulldown : "Pull down to refresh...",
  48. scrollRefresh : "Release to refresh..."
  49. },
  50. search : {
  51. caption: "搜尋...",
  52. Find: "搜尋",
  53. Reset: "重設",
  54. 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'}, {oper:'bt', text:'between'}],
  55. groupOps: [ { op: "AND", text: "所有" }, { op: "OR", text: "任一" } ],
  56. operandTitle : "Click to select search operation.",
  57. resetTitle : "Reset Search Value"
  58. },
  59. edit : {
  60. addCaption: "新增記錄",
  61. editCaption: "編輯記錄",
  62. bSubmit: "提交",
  63. bCancel: "取消",
  64. bClose: "關閉",
  65. saveData: "資料已改變,是否儲存?",
  66. bYes : "是",
  67. bNo : "否",
  68. bExit : "取消",
  69. msg: {
  70. required:"此欄必要",
  71. number:"請輸入有效的數字",
  72. minValue:"值必須大於等於 ",
  73. maxValue:"值必須小於等於 ",
  74. email: "不是有效的e-mail地址",
  75. integer: "請輸入有效整数",
  76. date: "請輸入有效時間",
  77. url: "網址無效。前綴必須為 ('http://' 或 'https://')",
  78. nodefined : " 未定義!",
  79. novalue : " 需要傳回值!",
  80. customarray : "自訂函數應傳回陣列!",
  81. customfcheck : "自訂檢查應有自訂函數!"
  82. }
  83. },
  84. view : {
  85. caption: "查看記錄",
  86. bClose: "關閉"
  87. },
  88. del : {
  89. caption: "刪除",
  90. msg: "刪除已選記錄?",
  91. bSubmit: "刪除",
  92. bCancel: "取消"
  93. },
  94. nav : {
  95. edittext: "",
  96. edittitle: "編輯已選列",
  97. addtext:"",
  98. addtitle: "新增列",
  99. deltext: "",
  100. deltitle: "刪除已選列",
  101. searchtext: "",
  102. searchtitle: "搜尋記錄",
  103. refreshtext: "",
  104. refreshtitle: "重新整理表格",
  105. alertcap: "警告",
  106. alerttext: "請選擇列",
  107. viewtext: "",
  108. viewtitle: "檢視已選列",
  109. savetext: "",
  110. savetitle: "Save row",
  111. canceltext: "",
  112. canceltitle : "Cancel row editing",
  113. selectcaption : "Actions..."
  114. },
  115. col : {
  116. caption: "選擇欄",
  117. bSubmit: "確定",
  118. bCancel: "取消"
  119. },
  120. errors : {
  121. errcap : "錯誤",
  122. nourl : "未設定URL",
  123. norecords: "無需要處理的記錄",
  124. model : "colNames 和 colModel 長度不同!"
  125. },
  126. formatter : {
  127. integer : {thousandsSeparator: " ", defaultValue: '0'},
  128. number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'},
  129. currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'},
  130. date : {
  131. dayNames: [
  132. "日", "一", "二", "三", "四", "五", "六",
  133. "星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"
  134. ],
  135. monthNames: [
  136. "一", "二", "三", "四", "五", "六", "七", "八", "九", "十", "十一", "十二",
  137. "一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"
  138. ],
  139. AmPm : ["上午","下午","上午","下午"],
  140. S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th';},
  141. srcformat: 'Y-m-d',
  142. newformat: 'm-d-Y',
  143. parseRe : /[#%\\\/:_;.,\t\s-]/,
  144. masks : {
  145. ISO8601Long:"Y-m-d H:i:s",
  146. ISO8601Short:"Y-m-d",
  147. ShortDate: "Y/j/n",
  148. LongDate: "l, F d, Y",
  149. FullDateTime: "l, F d, Y g:i:s A",
  150. MonthDay: "F d",
  151. ShortTime: "g:i A",
  152. LongTime: "g:i:s A",
  153. SortableDateTime: "Y-m-d\\TH:i:s",
  154. UniversalSortableDateTime: "Y-m-d H:i:sO",
  155. YearMonth: "F, Y"
  156. },
  157. reformatAfterEdit : false,
  158. userLocalTime : false
  159. },
  160. baseLinkUrl: '',
  161. showAction: '',
  162. target: '',
  163. checkbox : {disabled:true},
  164. idName : 'id'
  165. },
  166. colmenu : {
  167. sortasc : "Sort Ascending",
  168. sortdesc : "Sort Descending",
  169. columns : "Columns",
  170. filter : "Filter",
  171. grouping : "Group By",
  172. ungrouping : "Ungroup",
  173. searchTitle : "Get items with value that:",
  174. freeze : "Freeze",
  175. unfreeze : "Unfreeze",
  176. reorder : "Move to reorder"
  177. }
  178. };
  179. }));