Theme Inspinia
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

grid.locale-cn.js 7.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. ;(function($){
  2. /**
  3. * jqGrid Chinese Translation
  4. * 咖啡兔 yanhonglei@gmail.com
  5. * http://www.kafeitu.me
  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. $.jgrid = $.jgrid || {};
  11. $.extend($.jgrid,{
  12. defaults : {
  13. recordtext: "{0} - {1}\u3000共 {2} 条", // 共字前是全角空格
  14. emptyrecords: "无数据显示",
  15. loadtext: "读取中...",
  16. pgtext : " {0} 共 {1} 页"
  17. },
  18. search : {
  19. caption: "搜索...",
  20. Find: "查找",
  21. Reset: "重置",
  22. odata: [{ oper:'eq', text:'等于\u3000\u3000'},{ oper:'ne', text:'不等\u3000\u3000'},{ oper:'lt', text:'小于\u3000\u3000'},{ oper:'le', text:'小于等于'},{ oper:'gt', text:'大于\u3000\u3000'},{ oper:'ge', text:'大于等于'},{ oper:'bw', text:'开始于'},{ oper:'bn', text:'不开始于'},{ oper:'in', text:'属于\u3000\u3000'},{ oper:'ni', text:'不属于'},{ oper:'ew', text:'结束于'},{ oper:'en', text:'不结束于'},{ oper:'cn', text:'包含\u3000\u3000'},{ oper:'nc', text:'不包含'},{ oper:'nu', text:'不存在'},{ oper:'nn', text:'存在'}],
  23. groupOps: [ { op: "AND", text: "所有" }, { op: "OR", text: "任一" } ],
  24. operandTitle : "Click to select search operation.",
  25. resetTitle : "Reset Search Value"
  26. },
  27. edit : {
  28. addCaption: "添加记录",
  29. editCaption: "编辑记录",
  30. bSubmit: "提交",
  31. bCancel: "取消",
  32. bClose: "关闭",
  33. saveData: "数据已改变,是否保存?",
  34. bYes : "是",
  35. bNo : "否",
  36. bExit : "取消",
  37. msg: {
  38. required:"此字段必需",
  39. number:"请输入有效数字",
  40. minValue:"输值必须大于等于 ",
  41. maxValue:"输值必须小于等于 ",
  42. email: "这不是有效的e-mail地址",
  43. integer: "请输入有效整数",
  44. date: "请输入有效时间",
  45. url: "无效网址。前缀必须为 ('http://' 或 'https://')",
  46. nodefined : " 未定义!",
  47. novalue : " 需要返回值!",
  48. customarray : "自定义函数需要返回数组!",
  49. customfcheck : "必须有自定义函数!"
  50. }
  51. },
  52. view : {
  53. caption: "查看记录",
  54. bClose: "关闭"
  55. },
  56. del : {
  57. caption: "删除",
  58. msg: "删除所选记录?",
  59. bSubmit: "删除",
  60. bCancel: "取消"
  61. },
  62. nav : {
  63. edittext: "",
  64. edittitle: "编辑所选记录",
  65. addtext:"",
  66. addtitle: "添加新记录",
  67. deltext: "",
  68. deltitle: "删除所选记录",
  69. searchtext: "",
  70. searchtitle: "查找",
  71. refreshtext: "",
  72. refreshtitle: "刷新表格",
  73. alertcap: "注意",
  74. alerttext: "请选择记录",
  75. viewtext: "",
  76. viewtitle: "查看所选记录"
  77. },
  78. col : {
  79. caption: "选择列",
  80. bSubmit: "确定",
  81. bCancel: "取消"
  82. },
  83. errors : {
  84. errcap : "错误",
  85. nourl : "没有设置url",
  86. norecords: "没有要处理的记录",
  87. model : "colNames 和 colModel 长度不等!"
  88. },
  89. formatter : {
  90. integer : {thousandsSeparator: ",", defaultValue: '0'},
  91. number : {decimalSeparator:".", thousandsSeparator: ",", decimalPlaces: 2, defaultValue: '0.00'},
  92. currency : {decimalSeparator:".", thousandsSeparator: ",", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'},
  93. date : {
  94. dayNames: [
  95. "日", "一", "二", "三", "四", "五", "六",
  96. "星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六",
  97. ],
  98. monthNames: [
  99. "一", "二", "三", "四", "五", "六", "七", "八", "九", "十", "十一", "十二",
  100. "一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"
  101. ],
  102. AmPm : ["am","pm","上午","下午"],
  103. S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th';},
  104. srcformat: 'Y-m-d',
  105. newformat: 'Y-m-d',
  106. parseRe : /[#%\\\/:_;.,\t\s-]/,
  107. masks : {
  108. // see http://php.net/manual/en/function.date.php for PHP format used in jqGrid
  109. // and see http://docs.jquery.com/UI/Datepicker/formatDate
  110. // and https://github.com/jquery/globalize#dates for alternative formats used frequently
  111. // one can find on https://github.com/jquery/globalize/tree/master/lib/cultures many
  112. // information about date, time, numbers and currency formats used in different countries
  113. // one should just convert the information in PHP format
  114. ISO8601Long:"Y-m-d H:i:s",
  115. ISO8601Short:"Y-m-d",
  116. // short date:
  117. // n - Numeric representation of a month, without leading zeros
  118. // j - Day of the month without leading zeros
  119. // Y - A full numeric representation of a year, 4 digits
  120. // example: 3/1/2012 which means 1 March 2012
  121. ShortDate: "n/j/Y", // in jQuery UI Datepicker: "M/d/yyyy"
  122. // long date:
  123. // l - A full textual representation of the day of the week
  124. // F - A full textual representation of a month
  125. // d - Day of the month, 2 digits with leading zeros
  126. // Y - A full numeric representation of a year, 4 digits
  127. LongDate: "l, F d, Y", // in jQuery UI Datepicker: "dddd, MMMM dd, yyyy"
  128. // long date with long time:
  129. // l - A full textual representation of the day of the week
  130. // F - A full textual representation of a month
  131. // d - Day of the month, 2 digits with leading zeros
  132. // Y - A full numeric representation of a year, 4 digits
  133. // g - 12-hour format of an hour without leading zeros
  134. // i - Minutes with leading zeros
  135. // s - Seconds, with leading zeros
  136. // A - Uppercase Ante meridiem and Post meridiem (AM or PM)
  137. FullDateTime: "l, F d, Y g:i:s A", // in jQuery UI Datepicker: "dddd, MMMM dd, yyyy h:mm:ss tt"
  138. // month day:
  139. // F - A full textual representation of a month
  140. // d - Day of the month, 2 digits with leading zeros
  141. MonthDay: "F d", // in jQuery UI Datepicker: "MMMM dd"
  142. // short time (without seconds)
  143. // g - 12-hour format of an hour without leading zeros
  144. // i - Minutes with leading zeros
  145. // A - Uppercase Ante meridiem and Post meridiem (AM or PM)
  146. ShortTime: "g:i A", // in jQuery UI Datepicker: "h:mm tt"
  147. // long time (with seconds)
  148. // g - 12-hour format of an hour without leading zeros
  149. // i - Minutes with leading zeros
  150. // s - Seconds, with leading zeros
  151. // A - Uppercase Ante meridiem and Post meridiem (AM or PM)
  152. LongTime: "g:i:s A", // in jQuery UI Datepicker: "h:mm:ss tt"
  153. SortableDateTime: "Y-m-d\\TH:i:s",
  154. UniversalSortableDateTime: "Y-m-d H:i:sO",
  155. // month with year
  156. // Y - A full numeric representation of a year, 4 digits
  157. // F - A full textual representation of a month
  158. YearMonth: "F, Y" // in jQuery UI Datepicker: "MMMM, yyyy"
  159. },
  160. reformatAfterEdit : false
  161. },
  162. baseLinkUrl: '',
  163. showAction: '',
  164. target: '',
  165. checkbox : {disabled:true},
  166. idName : 'id'
  167. }
  168. });
  169. })(jQuery);