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

/files/free-jqgrid/4.9.1/js/i18n/grid.locale-en.js

https://gitlab.com/Mirros/jsdelivr
JavaScript | 224 lines | 167 code | 1 blank | 56 comment | 2 complexity | 81493c3dae31f53589193d4bbb507a69 MD5 | raw file
  1. /**
  2. * jqGrid English Translation
  3. * Tony Tomov tony@trirand.com
  4. * modified by Oleg Kiriljuk oleg.kiriljuk@ok-soft-gmbh.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. /*jslint white: true */
  11. /*global jQuery */
  12. (function ($) {
  13. "use strict";
  14. var locInfo = {
  15. name: "English (United States)",
  16. nameEnglish: "English (United States)",
  17. isRTL: false,
  18. defaults: {
  19. recordtext: "View {0} - {1} of {2}",
  20. emptyrecords: "No records to view",
  21. loadtext: "Loading...",
  22. pgtext: "Page {0} of {1}",
  23. pgfirst: "First Page",
  24. pglast: "Last Page",
  25. pgnext: "Next Page",
  26. pgprev: "Previous Page",
  27. pgrecs: "Records per Page",
  28. showhide: "Toggle Expand Collapse Grid",
  29. savetext: "Saving..."
  30. },
  31. search: {
  32. caption: "Search...",
  33. Find: "Find",
  34. Reset: "Reset",
  35. odata: [
  36. { oper: "eq", text: "equal" },
  37. { oper: "ne", text: "not equal" },
  38. { oper: "lt", text: "less" },
  39. { oper: "le", text: "less or equal" },
  40. { oper: "gt", text: "greater" },
  41. { oper: "ge", text: "greater or equal" },
  42. { oper: "bw", text: "begins with" },
  43. { oper: "bn", text: "does not begin with" },
  44. { oper: "in", text: "is in" },
  45. { oper: "ni", text: "is not in" },
  46. { oper: "ew", text: "ends with" },
  47. { oper: "en", text: "does not end with" },
  48. { oper: "cn", text: "contains" },
  49. { oper: "nc", text: "does not contain" },
  50. { oper: "nu", text: "is null" },
  51. { oper: "nn", text: "is not null" }
  52. ],
  53. groupOps: [
  54. { op: "AND", text: "all" },
  55. { op: "OR", text: "any" }
  56. ],
  57. operandTitle: "Click to select search operation.",
  58. resetTitle: "Reset Search Value"
  59. },
  60. edit: {
  61. addCaption: "Add Record",
  62. editCaption: "Edit Record",
  63. bSubmit: "Submit",
  64. bCancel: "Cancel",
  65. bClose: "Close",
  66. saveData: "Data has been changed! Save changes?",
  67. bYes: "Yes",
  68. bNo: "No",
  69. bExit: "Cancel",
  70. msg: {
  71. required: "Field is required",
  72. number: "Please, enter valid number",
  73. minValue: "value must be greater than or equal to ",
  74. maxValue: "value must be less than or equal to",
  75. email: "is not a valid e-mail",
  76. integer: "Please, enter valid integer value",
  77. date: "Please, enter valid date value",
  78. url: "is not a valid URL. Prefix required ('http://' or 'https://')",
  79. nodefined: " is not defined!",
  80. novalue: " return value is required!",
  81. customarray: "Custom function should return array!",
  82. customfcheck: "Custom function should be present in case of custom checking!"
  83. }
  84. },
  85. view: {
  86. caption: "View Record",
  87. bClose: "Close"
  88. },
  89. del: {
  90. caption: "Delete",
  91. msg: "Delete selected record(s)?",
  92. bSubmit: "Delete",
  93. bCancel: "Cancel"
  94. },
  95. nav: {
  96. edittext: "",
  97. edittitle: "Edit selected row",
  98. addtext: "",
  99. addtitle: "Add new row",
  100. deltext: "",
  101. deltitle: "Delete selected row",
  102. searchtext: "",
  103. searchtitle: "Find records",
  104. refreshtext: "",
  105. refreshtitle: "Reload Grid",
  106. alertcap: "Warning",
  107. alerttext: "Please, select row",
  108. viewtext: "",
  109. viewtitle: "View selected row"
  110. },
  111. col: {
  112. caption: "Select columns",
  113. bSubmit: "Ok",
  114. bCancel: "Cancel"
  115. },
  116. errors: {
  117. errcap: "Error",
  118. nourl: "No url is set",
  119. norecords: "No records to process",
  120. model: "Length of colNames <> colModel!"
  121. },
  122. formatter: {
  123. integer: {
  124. thousandsSeparator: ",",
  125. defaultValue: "0"
  126. },
  127. number: {
  128. decimalSeparator: ".",
  129. thousandsSeparator: ",",
  130. decimalPlaces: 2,
  131. defaultValue: "0.00"
  132. },
  133. currency: {
  134. decimalSeparator: ".",
  135. thousandsSeparator: ",",
  136. decimalPlaces: 2,
  137. prefix: "",
  138. suffix: "",
  139. defaultValue: "0.00"
  140. },
  141. date: {
  142. dayNames: [
  143. "Sun", "Mon", "Tue", "Wed", "Thr", "Fri", "Sat",
  144. "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"
  145. ],
  146. monthNames: [
  147. "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec",
  148. "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"
  149. ],
  150. AmPm: ["am", "pm", "AM", "PM"],
  151. S: function (j) {
  152. var ending = ["st", "nd", "rd", "th"];
  153. return j < 11 || j > 13 ? ending[Math.min((j - 1) % 10, 3)] : "th";
  154. },
  155. srcformat: "Y-m-d",
  156. newformat: "n/j/Y",
  157. masks: {
  158. // see http://php.net/manual/en/function.date.php for PHP format used in jqGrid
  159. // and see http://docs.jquery.com/UI/Datepicker/formatDate
  160. // and https://github.com/jquery/globalize#dates for alternative formats used frequently
  161. // one can find on https://github.com/jquery/globalize/tree/master/lib/cultures many
  162. // information about date, time, numbers and currency formats used in different countries
  163. // one should just convert the information in PHP format
  164. // short date:
  165. // n - Numeric representation of a month, without leading zeros
  166. // j - Day of the month without leading zeros
  167. // Y - A full numeric representation of a year, 4 digits
  168. // example: 3/1/2012 which means 1 March 2012
  169. ShortDate: "n/j/Y", // in jQuery UI Datepicker: "M/d/yyyy"
  170. // long date:
  171. // l - A full textual representation of the day of the week
  172. // F - A full textual representation of a month
  173. // d - Day of the month, 2 digits with leading zeros
  174. // Y - A full numeric representation of a year, 4 digits
  175. LongDate: "l, F d, Y", // in jQuery UI Datepicker: "dddd, MMMM dd, yyyy"
  176. // long date with long time:
  177. // l - A full textual representation of the day of the week
  178. // F - A full textual representation of a month
  179. // d - Day of the month, 2 digits with leading zeros
  180. // Y - A full numeric representation of a year, 4 digits
  181. // g - 12-hour format of an hour without leading zeros
  182. // i - Minutes with leading zeros
  183. // s - Seconds, with leading zeros
  184. // A - Uppercase Ante meridiem and Post meridiem (AM or PM)
  185. FullDateTime: "l, F d, Y g:i:s A", // in jQuery UI Datepicker: "dddd, MMMM dd, yyyy h:mm:ss tt"
  186. // month day:
  187. // F - A full textual representation of a month
  188. // d - Day of the month, 2 digits with leading zeros
  189. MonthDay: "F d", // in jQuery UI Datepicker: "MMMM dd"
  190. // short time (without seconds)
  191. // g - 12-hour format of an hour without leading zeros
  192. // i - Minutes with leading zeros
  193. // A - Uppercase Ante meridiem and Post meridiem (AM or PM)
  194. ShortTime: "g:i A", // in jQuery UI Datepicker: "h:mm tt"
  195. // long time (with seconds)
  196. // g - 12-hour format of an hour without leading zeros
  197. // i - Minutes with leading zeros
  198. // s - Seconds, with leading zeros
  199. // A - Uppercase Ante meridiem and Post meridiem (AM or PM)
  200. LongTime: "g:i:s A", // in jQuery UI Datepicker: "h:mm:ss tt"
  201. // month with year
  202. // Y - A full numeric representation of a year, 4 digits
  203. // F - A full textual representation of a month
  204. YearMonth: "F, Y" // in jQuery UI Datepicker: "MMMM, yyyy"
  205. }
  206. }
  207. }
  208. };
  209. $.jgrid = $.jgrid || {};
  210. $.extend(true, $.jgrid, {
  211. defaults: {
  212. locale: "en-US"
  213. },
  214. locales: {
  215. // In general the property name is free, but it's recommended to use the names based on
  216. // http://www.iana.org/assignments/language-subtag-registry/language-subtag-registry
  217. // http://rishida.net/utils/subtags/ and RFC 5646. See Appendix A of RFC 5646 for examples.
  218. // One can use the lang attribute to specify language tags in HTML, and the xml:lang attribute for XML
  219. // if it exists. See http://www.w3.org/International/articles/language-tags/#extlang
  220. "en-US": locInfo
  221. }
  222. });
  223. }(jQuery));