PageRenderTime 46ms CodeModel.GetById 16ms RepoModel.GetById 1ms app.codeStats 0ms

/public/assets/theme/assets/global/plugins/jqgrid/js/i18n/grid.locale-en.js

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