grid.locale-en.js 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  1. ;(function($){
  2. /**
  3. * jqGrid English Translation
  4. * Tony Tomov tony@trirand.com
  5. * http://trirand.com/blog/
  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: "View {0} - {1} of {2}",
  14. emptyrecords: "No records to view",
  15. loadtext: "Loading...",
  16. pgtext : "Page {0} of {1}",
  17. pgfirst : "First Page",
  18. pglast : "Last Page",
  19. pgnext : "Next Page",
  20. pgprev : "Previous Page",
  21. pgrecs : "Records per Page",
  22. showhide: "Toggle Expand Collapse Grid"
  23. },
  24. search : {
  25. caption: "Search...",
  26. Find: "Find",
  27. Reset: "Reset",
  28. odata: [{ oper:'eq', text:'equal'},{ oper:'ne', text:'not equal'},{ oper:'lt', text:'less'},{ oper:'le', text:'less or equal'},{ oper:'gt', text:'greater'},{ oper:'ge', text:'greater or equal'},{ oper:'bw', text:'begins with'},{ oper:'bn', text:'does not begin with'},{ oper:'in', text:'is in'},{ oper:'ni', text:'is not in'},{ oper:'ew', text:'ends with'},{ oper:'en', text:'does not end with'},{ oper:'cn', text:'contains'},{ oper:'nc', text:'does not contain'},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
  29. groupOps: [{ op: "AND", text: "all" },{ op: "OR", text: "any" }],
  30. operandTitle : "Click to select search operation.",
  31. resetTitle : "Reset Search Value"
  32. },
  33. edit : {
  34. addCaption: "Add Record",
  35. editCaption: "Edit Record",
  36. bSubmit: "Submit",
  37. bCancel: "Cancel",
  38. bClose: "Close",
  39. saveData: "Data has been changed! Save changes?",
  40. bYes : "Yes",
  41. bNo : "No",
  42. bExit : "Cancel",
  43. msg: {
  44. required:"Field is required",
  45. number:"Please, enter valid number",
  46. minValue:"value must be greater than or equal to ",
  47. maxValue:"value must be less than or equal to",
  48. email: "is not a valid e-mail",
  49. integer: "Please, enter valid integer value",
  50. date: "Please, enter valid date value",
  51. url: "is not a valid URL. Prefix required ('http://' or 'https://')",
  52. nodefined : " is not defined!",
  53. novalue : " return value is required!",
  54. customarray : "Custom function should return array!",
  55. customfcheck : "Custom function should be present in case of custom checking!"
  56. }
  57. },
  58. view : {
  59. caption: "View Record",
  60. bClose: "Close"
  61. },
  62. del : {
  63. caption: "Delete",
  64. msg: "Delete selected record(s)?",
  65. bSubmit: "Delete",
  66. bCancel: "Cancel"
  67. },
  68. nav : {
  69. edittext: "",
  70. edittitle: "Edit selected row",
  71. addtext:"",
  72. addtitle: "Add new row",
  73. deltext: "",
  74. deltitle: "Delete selected row",
  75. searchtext: "",
  76. searchtitle: "Find records",
  77. refreshtext: "",
  78. refreshtitle: "Reload Grid",
  79. alertcap: "Warning",
  80. alerttext: "Please, select row",
  81. viewtext: "",
  82. viewtitle: "View selected row"
  83. },
  84. col : {
  85. caption: "Select columns",
  86. bSubmit: "Ok",
  87. bCancel: "Cancel"
  88. },
  89. errors : {
  90. errcap : "Error",
  91. nourl : "No url is set",
  92. norecords: "No records to process",
  93. model : "Length of colNames <> colModel!"
  94. },
  95. formatter : {
  96. integer : {thousandsSeparator: ",", defaultValue: '0'},
  97. number : {decimalSeparator:".", thousandsSeparator: ",", decimalPlaces: 2, defaultValue: '0.00'},
  98. currency : {decimalSeparator:".", thousandsSeparator: ",", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'},
  99. date : {
  100. dayNames: [
  101. "Sun", "Mon", "Tue", "Wed", "Thr", "Fri", "Sat",
  102. "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"
  103. ],
  104. monthNames: [
  105. "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec",
  106. "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"
  107. ],
  108. AmPm : ["am","pm","AM","PM"],
  109. S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th';},
  110. srcformat: 'Y-m-d',
  111. newformat: 'n/j/Y',
  112. parseRe : /[#%\\\/:_;.,\t\s-]/,
  113. masks : {
  114. // see http://php.net/manual/en/function.date.php for PHP format used in jqGrid
  115. // and see http://docs.jquery.com/UI/Datepicker/formatDate
  116. // and https://github.com/jquery/globalize#dates for alternative formats used frequently
  117. // one can find on https://github.com/jquery/globalize/tree/master/lib/cultures many
  118. // information about date, time, numbers and currency formats used in different countries
  119. // one should just convert the information in PHP format
  120. ISO8601Long:"Y-m-d H:i:s",
  121. ISO8601Short:"Y-m-d",
  122. // short date:
  123. // n - Numeric representation of a month, without leading zeros
  124. // j - Day of the month without leading zeros
  125. // Y - A full numeric representation of a year, 4 digits
  126. // example: 3/1/2012 which means 1 March 2012
  127. ShortDate: "n/j/Y", // in jQuery UI Datepicker: "M/d/yyyy"
  128. // long date:
  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. LongDate: "l, F d, Y", // in jQuery UI Datepicker: "dddd, MMMM dd, yyyy"
  134. // long date with long time:
  135. // l - A full textual representation of the day of the week
  136. // F - A full textual representation of a month
  137. // d - Day of the month, 2 digits with leading zeros
  138. // Y - A full numeric representation of a year, 4 digits
  139. // g - 12-hour format of an hour without leading zeros
  140. // i - Minutes with leading zeros
  141. // s - Seconds, with leading zeros
  142. // A - Uppercase Ante meridiem and Post meridiem (AM or PM)
  143. FullDateTime: "l, F d, Y g:i:s A", // in jQuery UI Datepicker: "dddd, MMMM dd, yyyy h:mm:ss tt"
  144. // month day:
  145. // F - A full textual representation of a month
  146. // d - Day of the month, 2 digits with leading zeros
  147. MonthDay: "F d", // in jQuery UI Datepicker: "MMMM dd"
  148. // short time (without seconds)
  149. // g - 12-hour format of an hour without leading zeros
  150. // i - Minutes with leading zeros
  151. // A - Uppercase Ante meridiem and Post meridiem (AM or PM)
  152. ShortTime: "g:i A", // in jQuery UI Datepicker: "h:mm tt"
  153. // long time (with seconds)
  154. // g - 12-hour format of an hour without leading zeros
  155. // i - Minutes with leading zeros
  156. // s - Seconds, with leading zeros
  157. // A - Uppercase Ante meridiem and Post meridiem (AM or PM)
  158. LongTime: "g:i:s A", // in jQuery UI Datepicker: "h:mm:ss tt"
  159. SortableDateTime: "Y-m-d\\TH:i:s",
  160. UniversalSortableDateTime: "Y-m-d H:i:sO",
  161. // month with year
  162. // Y - A full numeric representation of a year, 4 digits
  163. // F - A full textual representation of a month
  164. YearMonth: "F, Y" // in jQuery UI Datepicker: "MMMM, yyyy"
  165. },
  166. reformatAfterEdit : false,
  167. userLocalTime : false
  168. },
  169. baseLinkUrl: '',
  170. showAction: '',
  171. target: '',
  172. checkbox : {disabled:true},
  173. idName : 'id'
  174. }
  175. });
  176. })(jQuery);