PageRenderTime 26ms CodeModel.GetById 14ms RepoModel.GetById 0ms app.codeStats 0ms

/files/free-jqgrid/4.8.0/js/i18n/grid.locale-hr.js

https://gitlab.com/Mirros/jsdelivr
JavaScript | 179 lines | 128 code | 2 blank | 49 comment | 1 complexity | aa7c155c37811238000c4d6abc42c135 MD5 | raw file
  1. /**
  2. * jqGrid Croatian Translation
  3. * Version 1.0.1 (developed for jQuery Grid 4.4)
  4. * msajko@gmail.com
  5. *
  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. isRTL: false,
  16. defaults : {
  17. recordtext: "Pregled {0} - {1} od {2}",
  18. emptyrecords: "Nema zapisa",
  19. loadtext: "Učitavam...",
  20. pgtext : "Stranica {0} od {1}",
  21. pgfirst : "First Page",
  22. pglast : "Last Page",
  23. pgnext : "Next Page",
  24. pgprev : "Previous Page",
  25. pgrecs : "Records per Page",
  26. showhide: "Toggle Expand Collapse Grid",
  27. savetext: "Spremanje..."
  28. },
  29. search : {
  30. caption: "Traži...",
  31. Find: "Pretraživanje",
  32. Reset: "Poništi",
  33. odata: [{ oper:'eq', text:"jednak"},{ oper:'ne', text:"nije identičan"},{ oper:'lt', text:"manje"},{ oper:'le', text:"manje ili identično"},{ oper:'gt', text:"veće"},{ oper:'ge', text:"veće ili identično"},{ oper:'bw', text:"počinje sa"},{ oper:'bn', text:"ne počinje sa "},{ oper:'in', text:"je u"},{ oper:'ni', text:"nije u"},{ oper:'ew', text:"završava sa"},{ oper:'en', text:"ne završava sa"},{ oper:'cn', text:"sadrži"},{ oper:'nc', text:"ne sadrži"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
  34. groupOps: [ { op: "I", text: "sve" }, { op: "ILI", text: "bilo koji" } ],
  35. operandTitle : "Click to select search operation.",
  36. resetTitle : "Reset Search Value"
  37. },
  38. edit : {
  39. addCaption: "Dodaj zapis",
  40. editCaption: "Promijeni zapis",
  41. bSubmit: "Preuzmi",
  42. bCancel: "Odustani",
  43. bClose: "Zatvri",
  44. saveData: "Podaci su promijenjeni! Preuzmi promijene?",
  45. bYes : "Da",
  46. bNo : "Ne",
  47. bExit : "Odustani",
  48. msg: {
  49. required:"Polje je obavezno",
  50. number:"Molim, unesite ispravan broj",
  51. minValue:"Vrijednost mora biti veća ili identična ",
  52. maxValue:"Vrijednost mora biti manja ili identična",
  53. email: "neispravan e-mail",
  54. integer: "Molim, unjeti ispravan cijeli broj (integer)",
  55. date: "Molim, unjeti ispravan datum ",
  56. url: "neispravan URL. Prefiks je obavezan ('http://' or 'https://')",
  57. nodefined : " nije definiran!",
  58. novalue : " zahtjevan podatak je obavezan!",
  59. customarray : "Opcionalna funkcija trebala bi bili polje (array)!",
  60. customfcheck : "Custom function should be present in case of custom checking!"
  61. }
  62. },
  63. view : {
  64. caption: "Otvori zapis",
  65. bClose: "Zatvori"
  66. },
  67. del : {
  68. caption: "Obriši",
  69. msg: "Obriši označen zapis ili više njih?",
  70. bSubmit: "Obriši",
  71. bCancel: "Odustani"
  72. },
  73. nav : {
  74. edittext: "",
  75. edittitle: "Promijeni obilježeni red",
  76. addtext: "",
  77. addtitle: "Dodaj novi red",
  78. deltext: "",
  79. deltitle: "Obriši obilježeni red",
  80. searchtext: "",
  81. searchtitle: "Potraži zapise",
  82. refreshtext: "",
  83. refreshtitle: "Ponovo preuzmi podatke",
  84. alertcap: "Upozorenje",
  85. alerttext: "Molim, odaberi red",
  86. viewtext: "",
  87. viewtitle: "Pregled obilježenog reda"
  88. },
  89. col : {
  90. caption: "Obilježi kolonu",
  91. bSubmit: "Uredu",
  92. bCancel: "Odustani"
  93. },
  94. errors : {
  95. errcap : "Greška",
  96. nourl : "Nedostaje URL",
  97. norecords: "Bez zapisa za obradu",
  98. model : "colNames i colModel imaju različitu duljinu!"
  99. },
  100. formatter : {
  101. integer : {thousandsSeparator: ".", defaultValue: '0'},
  102. number : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, defaultValue: '0,00'},
  103. currency : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'},
  104. date : {
  105. dayNames: [
  106. "Ned", "Pon", "Uto", "Sri", "Čet", "Pet", "Sub",
  107. "Nedjelja", "Ponedjeljak", "Utorak", "Srijeda", "Četvrtak", "Petak", "Subota"
  108. ],
  109. monthNames: [
  110. "Sij", "Velj", "Ožu", "Tra", "Svi", "Lip", "Srp", "Kol", "Ruj", "Lis", "Stu", "Pro",
  111. "Siječanj", "Veljača", "Ožujak", "Travanj", "Svibanj", "Lipanj", "Srpanj", "Kolovoz", "Rujan", "Listopad", "Studeni", "Prosinac"
  112. ],
  113. AmPm : ["am","pm","AM","PM"],
  114. S: function () {return '';},
  115. srcformat: 'Y-m-d',
  116. newformat: 'd.m.Y.',
  117. masks : {
  118. // see http://php.net/manual/en/function.date.php for PHP format used in jqGrid
  119. // and see http://docs.jquery.com/UI/Datepicker/formatDate
  120. // and https://github.com/jquery/globalize#dates for alternative formats used frequently
  121. // short date:
  122. // d - Day of the month, 2 digits with leading zeros
  123. // m - Numeric representation of a month, with leading zeros
  124. // Y - A full numeric representation of a year, 4 digits
  125. ShortDate: "d.m.Y.", // in jQuery UI Datepicker: "dd.mm.yy."
  126. // long date:
  127. // l - A full textual representation of the day of the week
  128. // j - Day of the month without leading zeros
  129. // F - A full textual representation of a month
  130. // Y - A full numeric representation of a year, 4 digits
  131. LongDate: "l, j. F Y", // in jQuery UI Datepicker: "dddd, d. MMMM yyyy"
  132. // long date with long time:
  133. // l - A full textual representation of the day of the week
  134. // j - Day of the month without leading zeros
  135. // F - A full textual representation of a month
  136. // Y - A full numeric representation of a year, 4 digits
  137. // H - 24-hour format of an hour with leading zeros
  138. // i - Minutes with leading zeros
  139. // s - Seconds, with leading zeros
  140. FullDateTime: "l, j. F Y H:i:s", // in jQuery UI Datepicker: "dddd, d. MMMM yyyy HH:mm:ss"
  141. // month day:
  142. // d - Day of the month, 2 digits with leading zeros
  143. // F - A full textual representation of a month
  144. MonthDay: "d F", // in jQuery UI Datepicker: "dd MMMM"
  145. // short time (without seconds)
  146. // H - 24-hour format of an hour with leading zeros
  147. // i - Minutes with leading zeros
  148. ShortTime: "H:i", // in jQuery UI Datepicker: "HH:mm"
  149. // long time (with seconds)
  150. // H - 24-hour format of an hour with leading zeros
  151. // i - Minutes with leading zeros
  152. // s - Seconds, with leading zeros
  153. LongTime: "H:i:s", // in jQuery UI Datepicker: "HH:mm:ss"
  154. // month with year
  155. // F - A full textual representation of a month
  156. // Y - A full numeric representation of a year, 4 digits
  157. YearMonth: "F Y" // in jQuery UI Datepicker: "MMMM yyyy"
  158. }
  159. }
  160. }
  161. };
  162. $.jgrid = $.jgrid || {};
  163. $.extend(true, $.jgrid, {
  164. defaults: {
  165. locale: "hr"
  166. },
  167. locales: {
  168. // In general the property name is free, but it's recommended to use the names based on
  169. // http://www.iana.org/assignments/language-subtag-registry/language-subtag-registry
  170. // http://rishida.net/utils/subtags/ and RFC 5646. See Appendix A of RFC 5646 for examples.
  171. // One can use the lang attribute to specify language tags in HTML, and the xml:lang attribute for XML
  172. // if it exists. See http://www.w3.org/International/articles/language-tags/#extlang
  173. hr: $.extend({}, locInfo, { name: "hrvatski", nameEnglish: "Croatian" }),
  174. "hr-HR": $.extend({}, locInfo, { name: "hrvatski (Hrvatska)", nameEnglish: "Croatian (Croatia)" })
  175. }
  176. });
  177. }(jQuery));