grid.locale-hr.js 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  1. ;(function($){
  2. /**
  3. * jqGrid Croatian Translation
  4. * Version 1.0.1 (developed for jQuery Grid 4.4)
  5. * msajko@gmail.com
  6. *
  7. * Dual licensed under the MIT and GPL licenses:
  8. * http://www.opensource.org/licenses/mit-license.php
  9. * http://www.gnu.org/licenses/gpl.html
  10. **/
  11. $.jgrid = $.jgrid || {};
  12. $.extend($.jgrid,{
  13. defaults : {
  14. recordtext: "Pregled {0} - {1} od {2}",
  15. emptyrecords: "Nema zapisa",
  16. loadtext: "Učitavam...",
  17. pgtext : "Stranica {0} od {1}"
  18. },
  19. search : {
  20. caption: "Traži...",
  21. Find: "Pretraživanje",
  22. Reset: "Poništi",
  23. odata : ['jednak', 'nije identičan', 'manje', 'manje ili identično','veće','veše ili identično', 'počinje sa','ne počinje sa ','je u','nije u','završava sa','ne završava sa','sadrži','ne sadrži'],
  24. groupOps: [ { op: "I", text: "sve" }, { op: "ILI", text: "bilo koji" } ],
  25. matchText: " podudata se",
  26. rulesText: " pravila"
  27. },
  28. edit : {
  29. addCaption: "Dodaj zapis",
  30. editCaption: "Promijeni zapis",
  31. bSubmit: "Preuzmi",
  32. bCancel: "Odustani",
  33. bClose: "Zatvri",
  34. saveData: "Podaci su promijenjeni! Preuzmi promijene?",
  35. bYes : "Da",
  36. bNo : "Ne",
  37. bExit : "Odustani",
  38. msg: {
  39. required:"Polje je obavezno",
  40. number:"Molim, unesite ispravan broj",
  41. minValue:"Vrijednost mora biti veća ili identična ",
  42. maxValue:"Vrijednost mora biti manja ili identična",
  43. email: "neispravan e-mail",
  44. integer: "Molim, unjeti ispravan cijeli broj (integer)",
  45. date: "Molim, unjeti ispravan datum ",
  46. url: "neispravan URL. Prefiks je obavezan ('http://' or 'https://')",
  47. nodefined : " nije definiran!",
  48. novalue : " zahtjevan podatak je obavezan!",
  49. customarray : "Opcionalna funkcija trebala bi bili polje (array)!",
  50. customfcheck : "Custom function should be present in case of custom checking!"
  51. }
  52. },
  53. view : {
  54. caption: "Otvori zapis",
  55. bClose: "Zatvori"
  56. },
  57. del : {
  58. caption: "Obriši",
  59. msg: "Obriši označen zapis ili više njih?",
  60. bSubmit: "Obriši",
  61. bCancel: "Odustani"
  62. },
  63. nav : {
  64. edittext: " ",
  65. edittitle: "Promijeni obilježeni red",
  66. addtext:" ",
  67. addtitle: "Dodaj novi red",
  68. deltext: " ",
  69. deltitle: "Obriši obilježeni red",
  70. searchtext: " ",
  71. searchtitle: "Potraži zapise",
  72. refreshtext: "",
  73. refreshtitle: "Ponovo preuzmi podatke",
  74. alertcap: "Upozorenje",
  75. alerttext: "Molim, odaberi red",
  76. viewtext: "",
  77. viewtitle: "Pregled obilježenog reda"
  78. },
  79. col : {
  80. caption: "Obilježi kolonu",
  81. bSubmit: "Uredu",
  82. bCancel: "Odustani"
  83. },
  84. errors : {
  85. errcap : "Greška",
  86. nourl : "Nedostaje URL",
  87. norecords: "Bez zapisa za obradu",
  88. model : "colNames i colModel imaju različitu duljinu!"
  89. },
  90. formatter : {
  91. integer : {thousandsSeparator: ".", defaultValue: '0'},
  92. number : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, defaultValue: '0,00'},
  93. currency : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, prefix: "", suffix:" Kn", defaultValue: '0,00'},
  94. date : {
  95. dayNames: [
  96. "Ned", "Pon", "Uto", "Sri", "Čet", "Pet", "Sub",
  97. "Nedjelja", "Ponedjeljak", "Utorak", "Srijeda", "Četvrtak", "Petak", "Subota"
  98. ],
  99. monthNames: [
  100. "Sij", "Vel", "Ožu", "Tra", "Svi", "Lip", "Srp", "Kol", "Ruj", "Lis", "Stu", "Pro",
  101. "Siječanj", "Veljača", "Ožujak", "Travanj", "Svibanj", "Lipanj", "Srpanj", "Kolovoz", "Rujan", "Listopad", "Studeni", "Prosinac"
  102. ],
  103. AmPm : ["am","pm","AM","PM"],
  104. S: function (j) {return ''},
  105. srcformat: 'Y-m-d',
  106. newformat: 'd.m.Y.',
  107. masks : {
  108. // see http://php.net/manual/en/function.date.php for PHP format used in jqGrid
  109. // and see http://docs.jquery.com/UI/Datepicker/formatDate
  110. // and https://github.com/jquery/globalize#dates for alternative formats used frequently
  111. ISO8601Long: "Y-m-d H:i:s",
  112. ISO8601Short: "Y-m-d",
  113. // short date:
  114. // d - Day of the month, 2 digits with leading zeros
  115. // m - Numeric representation of a month, with leading zeros
  116. // Y - A full numeric representation of a year, 4 digits
  117. ShortDate: "d.m.Y.", // in jQuery UI Datepicker: "dd.mm.yy."
  118. // long date:
  119. // l - A full textual representation of the day of the week
  120. // j - Day of the month without leading zeros
  121. // F - A full textual representation of a month
  122. // Y - A full numeric representation of a year, 4 digits
  123. LongDate: "l, j. F Y", // in jQuery UI Datepicker: "dddd, d. MMMM yyyy"
  124. // long date with long time:
  125. // l - A full textual representation of the day of the week
  126. // j - Day of the month without leading zeros
  127. // F - A full textual representation of a month
  128. // Y - A full numeric representation of a year, 4 digits
  129. // H - 24-hour format of an hour with leading zeros
  130. // i - Minutes with leading zeros
  131. // s - Seconds, with leading zeros
  132. FullDateTime: "l, j. F Y H:i:s", // in jQuery UI Datepicker: "dddd, d. MMMM yyyy HH:mm:ss"
  133. // month day:
  134. // d - Day of the month, 2 digits with leading zeros
  135. // F - A full textual representation of a month
  136. MonthDay: "d F", // in jQuery UI Datepicker: "dd MMMM"
  137. // short time (without seconds)
  138. // H - 24-hour format of an hour with leading zeros
  139. // i - Minutes with leading zeros
  140. ShortTime: "H:i", // in jQuery UI Datepicker: "HH:mm"
  141. // long time (with seconds)
  142. // H - 24-hour format of an hour with leading zeros
  143. // i - Minutes with leading zeros
  144. // s - Seconds, with leading zeros
  145. LongTime: "H:i:s", // in jQuery UI Datepicker: "HH:mm:ss"
  146. SortableDateTime: "Y-m-d\\TH:i:s",
  147. UniversalSortableDateTime: "Y-m-d H:i:sO",
  148. // month with year
  149. // F - A full textual representation of a month
  150. // Y - A full numeric representation of a year, 4 digits
  151. YearMonth: "F Y" // in jQuery UI Datepicker: "MMMM yyyy"
  152. },
  153. reformatAfterEdit : false
  154. },
  155. baseLinkUrl: '',
  156. showAction: '',
  157. target: '',
  158. checkbox : {disabled:true},
  159. idName : 'id'
  160. }
  161. });
  162. })(jQuery);