grid.locale-hr.js 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  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: [{ 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'}],
  24. groupOps: [ { op: "I", text: "sve" }, { op: "ILI", text: "bilo koji" } ],
  25. operandTitle : "Click to select search operation.",
  26. resetTitle : "Reset Search Value"
  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:"", 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", "Velj", "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. parseRe : /[#%\\\/:_;.,\t\s-]/,
  108. masks : {
  109. // see http://php.net/manual/en/function.date.php for PHP format used in jqGrid
  110. // and see http://docs.jquery.com/UI/Datepicker/formatDate
  111. // and https://github.com/jquery/globalize#dates for alternative formats used frequently
  112. ISO8601Long: "Y-m-d H:i:s",
  113. ISO8601Short: "Y-m-d",
  114. // short date:
  115. // d - Day of the month, 2 digits with leading zeros
  116. // m - Numeric representation of a month, with leading zeros
  117. // Y - A full numeric representation of a year, 4 digits
  118. ShortDate: "d.m.Y.", // in jQuery UI Datepicker: "dd.mm.yy."
  119. // long date:
  120. // l - A full textual representation of the day of the week
  121. // j - Day of the month without leading zeros
  122. // F - A full textual representation of a month
  123. // Y - A full numeric representation of a year, 4 digits
  124. LongDate: "l, j. F Y", // in jQuery UI Datepicker: "dddd, d. MMMM yyyy"
  125. // long date with long time:
  126. // l - A full textual representation of the day of the week
  127. // j - Day of the month without leading zeros
  128. // F - A full textual representation of a month
  129. // Y - A full numeric representation of a year, 4 digits
  130. // H - 24-hour format of an hour with leading zeros
  131. // i - Minutes with leading zeros
  132. // s - Seconds, with leading zeros
  133. FullDateTime: "l, j. F Y H:i:s", // in jQuery UI Datepicker: "dddd, d. MMMM yyyy HH:mm:ss"
  134. // month day:
  135. // d - Day of the month, 2 digits with leading zeros
  136. // F - A full textual representation of a month
  137. MonthDay: "d F", // in jQuery UI Datepicker: "dd MMMM"
  138. // short time (without seconds)
  139. // H - 24-hour format of an hour with leading zeros
  140. // i - Minutes with leading zeros
  141. ShortTime: "H:i", // in jQuery UI Datepicker: "HH:mm"
  142. // long time (with seconds)
  143. // H - 24-hour format of an hour with leading zeros
  144. // i - Minutes with leading zeros
  145. // s - Seconds, with leading zeros
  146. LongTime: "H:i:s", // in jQuery UI Datepicker: "HH:mm:ss"
  147. SortableDateTime: "Y-m-d\\TH:i:s",
  148. UniversalSortableDateTime: "Y-m-d H:i:sO",
  149. // month with year
  150. // F - A full textual representation of a month
  151. // Y - A full numeric representation of a year, 4 digits
  152. YearMonth: "F Y" // in jQuery UI Datepicker: "MMMM yyyy"
  153. },
  154. reformatAfterEdit : false
  155. },
  156. baseLinkUrl: '',
  157. showAction: '',
  158. target: '',
  159. checkbox : {disabled:true},
  160. idName : 'id'
  161. }
  162. });
  163. })(jQuery);