grid.locale-cn.js 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. ; (function ($) {
  2. /**
  3. * jqGrid Chinese Translation for v3.6
  4. * waiting 2010.01.18
  5. * http://waiting.javaeye.com/
  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. * update 2010.05.04
  11. * add double u3000 SPACE for search:odata to fix SEARCH box display err when narrow width from only use of eq/ne/cn/in/lt/gt operator under IE6/7
  12. **/
  13. $.jgrid = {
  14. defaults: {
  15. recordtext: "检索到 {2} 条记录,显示 第 {0} 条 - 第 {1} 条,查询耗时 {3} 毫秒",
  16. emptyrecords: "无数据显示",
  17. loadtext: "读取中...",
  18. pgtext: " 第 {0} 页 / 共 {1} 页 "
  19. },
  20. search: {
  21. caption: "搜索...",
  22. Find: "查找",
  23. Reset: "重置",
  24. odata: ['等于\u3000\u3000', '不等\u3000\u3000', '小于\u3000\u3000', '小于等于', '大于\u3000\u3000', '大于等于',
  25. '开始于', '不开始于', '属于\u3000\u3000', '不属于', '结束于', '不结束于', '包含\u3000\u3000', '不包含'],
  26. groupOps: [{ op: "AND", text: "所有" }, { op: "OR", text: "任一" }],
  27. matchText: " 匹配",
  28. rulesText: " 规则"
  29. },
  30. edit: {
  31. addCaption: "添加记录",
  32. editCaption: "编辑记录",
  33. bSubmit: "提交",
  34. bCancel: "取消",
  35. bClose: "关闭",
  36. saveData: "数据已改变,是否保存?",
  37. bYes: "是",
  38. bNo: "否",
  39. bExit: "取消",
  40. msg: {
  41. required: "此字段必需",
  42. number: "请输入有效数字",
  43. minValue: "输值必须大于等于 ",
  44. maxValue: "输值必须小于等于 ",
  45. email: "这不是有效的e-mail地址",
  46. integer: "请输入有效整数",
  47. date: "请输入有效时间",
  48. url: "无效网址。前缀必须为 ('http://' 或 'https://')",
  49. nodefined: " 未定义!",
  50. novalue: " 需要返回值!",
  51. customarray: "自定义函数需要返回数组!",
  52. customfcheck: "Custom function should be present in case of custom checking!"
  53. }
  54. },
  55. view: {
  56. caption: "查看记录",
  57. bClose: "关闭"
  58. },
  59. del: {
  60. caption: "删除",
  61. msg: "删除所选记录?",
  62. bSubmit: "删除",
  63. bCancel: "取消"
  64. },
  65. nav: {
  66. edittext: "",
  67. edittitle: "编辑所选记录",
  68. addtext: "",
  69. addtitle: "添加新记录",
  70. deltext: "",
  71. deltitle: "删除所选记录",
  72. searchtext: "",
  73. searchtitle: "查找",
  74. refreshtext: "",
  75. refreshtitle: "刷新表格",
  76. alertcap: "注意",
  77. alerttext: "请选择记录",
  78. viewtext: "",
  79. viewtitle: "查看所选记录"
  80. },
  81. col: {
  82. caption: "选择列",
  83. bSubmit: "确定",
  84. bCancel: "取消"
  85. },
  86. errors: {
  87. errcap: "错误",
  88. nourl: "没有设置url",
  89. norecords: "没有要处理的记录",
  90. model: "colNames 和 colModel 长度不等!"
  91. },
  92. formatter: {
  93. integer: { thousandsSeparator: " ", defaultValue: '0' },
  94. number: { decimalSeparator: ".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00' },
  95. currency: { decimalSeparator: ".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix: "", defaultValue: '0.00' },
  96. date: {
  97. dayNames: [
  98. "Sun", "Mon", "Tue", "Wed", "Thr", "Fri", "Sat",
  99. "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"
  100. ],
  101. monthNames: [
  102. "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec",
  103. "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"
  104. ],
  105. AmPm: ["am", "pm", "AM", "PM"],
  106. S: function (j) { return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th' },
  107. srcformat: 'Y-m-d',
  108. newformat: 'm-d-Y',
  109. masks: {
  110. ISO8601Long: "Y-m-d H:i:s",
  111. ISO8601Short: "Y-m-d",
  112. ShortDate: "Y/j/n",
  113. LongDate: "l, F d, Y",
  114. FullDateTime: "l, F d, Y g:i:s A",
  115. MonthDay: "F d",
  116. ShortTime: "g:i A",
  117. LongTime: "g:i:s A",
  118. SortableDateTime: "Y-m-d\\TH:i:s",
  119. UniversalSortableDateTime: "Y-m-d H:i:sO",
  120. YearMonth: "F, Y"
  121. },
  122. reformatAfterEdit: false
  123. },
  124. baseLinkUrl: '',
  125. showAction: '',
  126. target: '',
  127. checkbox: { disabled: true },
  128. idName: 'id'
  129. }
  130. };
  131. })(jQuery);