PageRenderTime 40ms CodeModel.GetById 13ms RepoModel.GetById 0ms app.codeStats 0ms

/files/free-jqgrid/4.13.0/js/i18n/grid.locale-ro.js

https://gitlab.com/Mirros/jsdelivr
JavaScript | 198 lines | 167 code | 1 blank | 30 comment | 7 complexity | 8b26638e0a17dd06b061148ed67883da MD5 | raw file
  1. /**
  2. * @license jqGrid Romanian Translation
  3. * Alexandru Emil Lupu contact@alecslupu.ro
  4. * http://www.alecslupu.ro/
  5. * Dual licensed under the MIT and GPL licenses:
  6. * http://www.opensource.org/licenses/mit-license.php
  7. * http://www.gnu.org/licenses/gpl.html
  8. **/
  9. /*jslint white: true */
  10. /*global jQuery */
  11. (function (factory) {
  12. "use strict";
  13. if (typeof define === "function" && define.amd) {
  14. // AMD. Register as an anonymous module.
  15. define(["jquery"], factory);
  16. } else if (typeof exports === "object") {
  17. // Node/CommonJS
  18. factory(require("jquery"));
  19. } else {
  20. // Browser globals
  21. factory(jQuery);
  22. }
  23. }(function ($) {
  24. "use strict";
  25. var locInfo = {
  26. isRTL: false,
  27. defaults: {
  28. recordtext: "Vizualizare {0} - {1} din {2}",
  29. emptyrecords: "Nu există înregistrări de vizualizat",
  30. loadtext: "Încărcare...",
  31. pgtext: "Pagina {0} din {1}",
  32. pgfirst: "First Page",
  33. pglast: "Last Page",
  34. pgnext: "Next Page",
  35. pgprev: "Previous Page",
  36. pgrecs: "Records per Page",
  37. showhide: "Toggle Expand Collapse Grid",
  38. savetext: "Salvare..."
  39. },
  40. search: {
  41. caption: "Caută...",
  42. Find: "Caută",
  43. Reset: "Resetare",
  44. odata: [
  45. { oper: "eq", text: "egal" },
  46. { oper: "ne", text: "diferit" },
  47. { oper: "lt", text: "mai mic" },
  48. { oper: "le", text: "mai mic sau egal" },
  49. { oper: "gt", text: "mai mare" },
  50. { oper: "ge", text: "mai mare sau egal" },
  51. { oper: "bw", text: "începe cu" },
  52. { oper: "bn", text: "nu începe cu" },
  53. { oper: "in", text: "se găsește în" },
  54. { oper: "ni", text: "nu se găsește în" },
  55. { oper: "ew", text: "se termină cu" },
  56. { oper: "en", text: "nu se termină cu" },
  57. { oper: "cn", text: "conține" },
  58. { oper: "nc", text: "" },
  59. { oper: "nu", text: "is null" },
  60. { oper: "nn", text: "is not null" }
  61. ],
  62. groupOps: [
  63. { op: "AND", text: "toate" },
  64. { op: "OR", text: "oricare" }
  65. ],
  66. addGroupTitle: "Add subgroup",
  67. deleteGroupTitle: "Delete group",
  68. addRuleTitle: "Add rule",
  69. deleteRuleTitle: "Delete rule",
  70. operandTitle: "Click to select search operation.",
  71. resetTitle: "Reset Search Value"
  72. },
  73. edit: {
  74. addCaption: "Adăugare înregistrare",
  75. editCaption: "Modificare înregistrare",
  76. bSubmit: "Salvează",
  77. bCancel: "Anulare",
  78. bClose: "Închide",
  79. saveData: "Informațiile au fost modificate! Salvați modificările?",
  80. bYes: "Da",
  81. bNo: "Nu",
  82. bExit: "Anulare",
  83. msg: {
  84. required: "Câmpul este obligatoriu",
  85. number: "Vă rugăm introduceți un număr valid",
  86. minValue: "valoarea trebuie sa fie mai mare sau egală cu",
  87. maxValue: "valoarea trebuie sa fie mai mică sau egală cu",
  88. email: "nu este o adresă de e-mail validă",
  89. integer: "Vă rugăm introduceți un număr valid",
  90. date: "Vă rugăm să introduceți o dată validă",
  91. url: "Nu este un URL valid. Prefixul este necesar('http://' or 'https://')",
  92. nodefined: " is not defined!",
  93. novalue: " return value is required!",
  94. customarray: "Custom function should return array!",
  95. customfcheck: "Custom function should be present in case of custom checking!"
  96. }
  97. },
  98. view: {
  99. caption: "Vizualizare înregistrare",
  100. bClose: "Închidere"
  101. },
  102. del: {
  103. caption: "Ștegere",
  104. msg: "Ștergeți înregistrarea (înregistrările) selectate?",
  105. bSubmit: "Șterge",
  106. bCancel: "Anulare"
  107. },
  108. nav: {
  109. edittext: "",
  110. edittitle: "Modifică rândul selectat",
  111. addtext: "",
  112. addtitle: "Adaugă rând nou",
  113. deltext: "",
  114. deltitle: "Șterge rândul selectat",
  115. searchtext: "",
  116. searchtitle: "Căutare înregistrări",
  117. refreshtext: "",
  118. refreshtitle: "Reîncarcare Grid",
  119. alertcap: "Avertisment",
  120. alerttext: "Vă rugăm să selectați un rând",
  121. viewtext: "",
  122. viewtitle: "Vizualizează rândul selectat",
  123. savetext: "",
  124. savetitle: "Save row",
  125. canceltext: "",
  126. canceltitle: "Cancel row editing"
  127. },
  128. col: {
  129. caption: "Arată/Ascunde coloanele",
  130. bSubmit: "Salvează",
  131. bCancel: "Anulare"
  132. },
  133. errors: {
  134. errcap: "Eroare",
  135. nourl: "Niciun url nu este setat",
  136. norecords: "Nu sunt înregistrări de procesat",
  137. model: "Lungimea colNames <> colModel!"
  138. },
  139. formatter: {
  140. integer: { thousandsSeparator: " ", defaultValue: "0" },
  141. number: { decimalSeparator: ",", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: "0,00" },
  142. currency: { decimalSeparator: ",", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix: "", defaultValue: "0,00" },
  143. date: {
  144. dayNames: [
  145. "Dum", "Lun", "Mar", "Mie", "Joi", "Vin", "Sâm",
  146. "Duminică", "Luni", "Marți", "Miercuri", "Joi", "Vineri", "Sâmbătă"
  147. ],
  148. monthNames: [
  149. "Ian", "Feb", "Mar", "Apr", "Mai", "Iun", "Iul", "Aug", "Sep", "Oct", "Noi", "Dec",
  150. "Ianuarie", "Februarie", "Martie", "Aprilie", "Mai", "Iunie", "Iulie", "August", "Septembrie", "Octombrie", "Noiembrie", "Decembrie"
  151. ],
  152. AmPm: ["am", "pm", "AM", "PM"],
  153. /*
  154. Here is a problem in romanian:
  155. M / F
  156. 1st = primul / prima
  157. 2nd = Al doilea / A doua
  158. 3rd = Al treilea / A treia
  159. 4th = Al patrulea/ A patra
  160. 5th = Al cincilea / A cincea
  161. 6th = Al șaselea / A șasea
  162. 7th = Al șaptelea / A șaptea
  163. ....
  164. */
  165. S: function (j) {
  166. return j < 11 || j > 13 ? ["st", "nd", "rd", "th"][Math.min((j - 1) % 10, 3)] : "th";
  167. },
  168. srcformat: "Y-m-d",
  169. newformat: "d/m/Y",
  170. masks: {
  171. ShortDate: "n/j/Y",
  172. LongDate: "l, F d, Y",
  173. FullDateTime: "l, F d, Y g:i:s A",
  174. MonthDay: "F d",
  175. ShortTime: "g:i A",
  176. LongTime: "g:i:s A",
  177. YearMonth: "F, Y"
  178. }
  179. }
  180. }
  181. };
  182. $.jgrid = $.jgrid || {};
  183. $.extend(true, $.jgrid, {
  184. defaults: {
  185. locale: "ro"
  186. },
  187. locales: {
  188. // In general the property name is free, but it's recommended to use the names based on
  189. // http://www.iana.org/assignments/language-subtag-registry/language-subtag-registry
  190. // http://rishida.net/utils/subtags/ and RFC 5646. See Appendix A of RFC 5646 for examples.
  191. // One can use the lang attribute to specify language tags in HTML, and the xml:lang attribute for XML
  192. // if it exists. See http://www.w3.org/International/articles/language-tags/#extlang
  193. ro: $.extend({}, locInfo, { name: "română", nameEnglish: "Romanian" }),
  194. "ro-RO": $.extend({}, locInfo, { name: "română (România)", nameEnglish: "Romanian (Romania)" })
  195. }
  196. });
  197. }));