grid.locale-hr.js 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  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. /*global jQuery, define */
  11. (function( factory ) {
  12. "use strict";
  13. if ( typeof define === "function" && define.amd ) {
  14. // AMD. Register as an anonymous module.
  15. define([
  16. "jquery",
  17. "../grid.base"
  18. ], factory );
  19. } else {
  20. // Browser globals
  21. factory( jQuery );
  22. }
  23. }(function( $ ) {
  24. $.jgrid = $.jgrid || {};
  25. if(!$.jgrid.hasOwnProperty("regional")) {
  26. $.jgrid.regional = [];
  27. }
  28. $.jgrid.regional["hr"] = {
  29. defaults : {
  30. recordtext: "Pregled {0} - {1} od {2}",
  31. emptyrecords: "Nema zapisa",
  32. loadtext: "Učitavam...",
  33. pgtext : "Stranica {0} od {1}",
  34. savetext: "Saving...",
  35. pgfirst : "First Page",
  36. pglast : "Last Page",
  37. pgnext : "Next Page",
  38. pgprev : "Previous Page",
  39. pgrecs : "Records per Page",
  40. showhide: "Toggle Expand Collapse Grid",
  41. // mobile
  42. pagerCaption : "Grid::Page Settings",
  43. pageText : "Page:",
  44. recordPage : "Records per Page",
  45. nomorerecs : "No more records...",
  46. scrollPullup: "Pull up to load more...",
  47. scrollPulldown : "Pull down to refresh...",
  48. scrollRefresh : "Release to refresh..."
  49. },
  50. search : {
  51. caption: "Traži...",
  52. Find: "Pretraživanje",
  53. Reset: "Poništi",
  54. 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'}, {oper:'bt', text:'between'}],
  55. groupOps: [ { op: "I", text: "sve" }, { op: "ILI", text: "bilo koji" } ],
  56. operandTitle : "Click to select search operation.",
  57. resetTitle : "Reset Search Value"
  58. },
  59. edit : {
  60. addCaption: "Dodaj zapis",
  61. editCaption: "Promijeni zapis",
  62. bSubmit: "Preuzmi",
  63. bCancel: "Odustani",
  64. bClose: "Zatvri",
  65. saveData: "Podaci su promijenjeni! Preuzmi promijene?",
  66. bYes : "Da",
  67. bNo : "Ne",
  68. bExit : "Odustani",
  69. msg: {
  70. required:"Polje je obavezno",
  71. number:"Molim, unesite ispravan broj",
  72. minValue:"Vrijednost mora biti veća ili identična ",
  73. maxValue:"Vrijednost mora biti manja ili identična",
  74. email: "neispravan e-mail",
  75. integer: "Molim, unjeti ispravan cijeli broj (integer)",
  76. date: "Molim, unjeti ispravan datum ",
  77. url: "neispravan URL. Prefiks je obavezan ('http://' or 'https://')",
  78. nodefined : " nije definiran!",
  79. novalue : " zahtjevan podatak je obavezan!",
  80. customarray : "Opcionalna funkcija trebala bi bili polje (array)!",
  81. customfcheck : "Custom function should be present in case of custom checking!"
  82. }
  83. },
  84. view : {
  85. caption: "Otvori zapis",
  86. bClose: "Zatvori"
  87. },
  88. del : {
  89. caption: "Obriši",
  90. msg: "Obriši označen zapis ili više njih?",
  91. bSubmit: "Obriši",
  92. bCancel: "Odustani"
  93. },
  94. nav : {
  95. edittext: "",
  96. edittitle: "Promijeni obilježeni red",
  97. addtext: "",
  98. addtitle: "Dodaj novi red",
  99. deltext: "",
  100. deltitle: "Obriši obilježeni red",
  101. searchtext: "",
  102. searchtitle: "Potraži zapise",
  103. refreshtext: "",
  104. refreshtitle: "Ponovo preuzmi podatke",
  105. alertcap: "Upozorenje",
  106. alerttext: "Molim, odaberi red",
  107. viewtext: "",
  108. viewtitle: "Pregled obilježenog reda",
  109. savetext: "",
  110. savetitle: "Save row",
  111. canceltext: "",
  112. canceltitle : "Cancel row editing",
  113. selectcaption : "Actions..."
  114. },
  115. col : {
  116. caption: "Obilježi kolonu",
  117. bSubmit: "Uredu",
  118. bCancel: "Odustani"
  119. },
  120. errors : {
  121. errcap : "Greška",
  122. nourl : "Nedostaje URL",
  123. norecords: "Bez zapisa za obradu",
  124. model : "colNames i colModel imaju različitu duljinu!"
  125. },
  126. formatter : {
  127. integer : {thousandsSeparator: ".", defaultValue: '0'},
  128. number : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, defaultValue: '0,00'},
  129. currency : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'},
  130. date : {
  131. dayNames: [
  132. "Ned", "Pon", "Uto", "Sri", "Čet", "Pet", "Sub",
  133. "Nedjelja", "Ponedjeljak", "Utorak", "Srijeda", "Četvrtak", "Petak", "Subota"
  134. ],
  135. monthNames: [
  136. "Sij", "Velj", "Ožu", "Tra", "Svi", "Lip", "Srp", "Kol", "Ruj", "Lis", "Stu", "Pro",
  137. "Siječanj", "Veljača", "Ožujak", "Travanj", "Svibanj", "Lipanj", "Srpanj", "Kolovoz", "Rujan", "Listopad", "Studeni", "Prosinac"
  138. ],
  139. AmPm : ["am","pm","AM","PM"],
  140. S: function (j) {return ''},
  141. srcformat: 'Y-m-d',
  142. newformat: 'd.m.Y.',
  143. parseRe : /[#%\\\/:_;.,\t\s-]/,
  144. masks : {
  145. // see http://php.net/manual/en/function.date.php for PHP format used in jqGrid
  146. // and see http://docs.jquery.com/UI/Datepicker/formatDate
  147. // and https://github.com/jquery/globalize#dates for alternative formats used frequently
  148. ISO8601Long: "Y-m-d H:i:s",
  149. ISO8601Short: "Y-m-d",
  150. // short date:
  151. // d - Day of the month, 2 digits with leading zeros
  152. // m - Numeric representation of a month, with leading zeros
  153. // Y - A full numeric representation of a year, 4 digits
  154. ShortDate: "d.m.Y.", // in jQuery UI Datepicker: "dd.mm.yy."
  155. // long date:
  156. // l - A full textual representation of the day of the week
  157. // j - Day of the month without leading zeros
  158. // F - A full textual representation of a month
  159. // Y - A full numeric representation of a year, 4 digits
  160. LongDate: "l, j. F Y", // in jQuery UI Datepicker: "dddd, d. MMMM yyyy"
  161. // long date with long time:
  162. // l - A full textual representation of the day of the week
  163. // j - Day of the month without leading zeros
  164. // F - A full textual representation of a month
  165. // Y - A full numeric representation of a year, 4 digits
  166. // H - 24-hour format of an hour with leading zeros
  167. // i - Minutes with leading zeros
  168. // s - Seconds, with leading zeros
  169. FullDateTime: "l, j. F Y H:i:s", // in jQuery UI Datepicker: "dddd, d. MMMM yyyy HH:mm:ss"
  170. // month day:
  171. // d - Day of the month, 2 digits with leading zeros
  172. // F - A full textual representation of a month
  173. MonthDay: "d F", // in jQuery UI Datepicker: "dd MMMM"
  174. // short time (without seconds)
  175. // H - 24-hour format of an hour with leading zeros
  176. // i - Minutes with leading zeros
  177. ShortTime: "H:i", // in jQuery UI Datepicker: "HH:mm"
  178. // long time (with seconds)
  179. // H - 24-hour format of an hour with leading zeros
  180. // i - Minutes with leading zeros
  181. // s - Seconds, with leading zeros
  182. LongTime: "H:i:s", // in jQuery UI Datepicker: "HH:mm:ss"
  183. SortableDateTime: "Y-m-d\\TH:i:s",
  184. UniversalSortableDateTime: "Y-m-d H:i:sO",
  185. // month with year
  186. // F - A full textual representation of a month
  187. // Y - A full numeric representation of a year, 4 digits
  188. YearMonth: "F Y" // in jQuery UI Datepicker: "MMMM yyyy"
  189. },
  190. reformatAfterEdit : false,
  191. userLocalTime : false
  192. },
  193. baseLinkUrl: '',
  194. showAction: '',
  195. target: '',
  196. checkbox : {disabled:true},
  197. idName : 'id'
  198. },
  199. colmenu : {
  200. sortasc : "Sort Ascending",
  201. sortdesc : "Sort Descending",
  202. columns : "Columns",
  203. filter : "Filter",
  204. grouping : "Group By",
  205. ungrouping : "Ungroup",
  206. searchTitle : "Get items with value that:",
  207. freeze : "Freeze",
  208. unfreeze : "Unfreeze",
  209. reorder : "Move to reorder"
  210. }
  211. };
  212. }));