grid.locale-bs.js 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230
  1. /**
  2. * @license jqGrid Bosnian Translation
  3. * by Nimesin info@nimesin.com
  4. *
  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, module, require */
  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 module === "object" && module.exports) {
  17. // Node/CommonJS
  18. module.exports = function (root, $) {
  19. if ($ === undefined) {
  20. // require("jquery") returns a factory that requires window to
  21. // build a jQuery instance, we normalize how we use modules
  22. // that require this pattern but the window provided is a noop
  23. // if it's defined (how jquery works)
  24. $ = typeof window !== "undefined" ?
  25. require("jquery") :
  26. require("jquery")(root || window);
  27. }
  28. factory($);
  29. return $;
  30. };
  31. } else {
  32. // Browser globals
  33. factory(jQuery);
  34. }
  35. }(function ($) {
  36. "use strict";
  37. var locInfo = {
  38. isRTL: false,
  39. defaults: {
  40. recordtext: "Pregled {0} - {1} od {2}",
  41. emptyrecords: "Nema zapisa",
  42. loadtext: "Učitavam...",
  43. pgtext: "Stranica {0} od {1}",
  44. pgfirst: "Prva stranica",
  45. pglast: "Zadnja stranica",
  46. pgnext: "Slijedeća stranica",
  47. pgprev: "Prethodna stranica",
  48. pgrecs: "zapisa po stranici",
  49. showhide: "Promijeni širenje/skupljanje grida",
  50. savetext: "Spremanje..."
  51. },
  52. search: {
  53. caption: "Traži...",
  54. Find: "Pretraživanje",
  55. Reset: "Poništi",
  56. odata: [
  57. { oper: "eq", text: "jednak" },
  58. { oper: "ne", text: "nije jednak" },
  59. { oper: "lt", text: "manje" },
  60. { oper: "le", text: "manje ili jednako" },
  61. { oper: "gt", text: "veće" },
  62. { oper: "ge", text: "veće ili jednako" },
  63. { oper: "bw", text: "počinje sa" },
  64. { oper: "bn", text: "ne počinje sa " },
  65. { oper: "in", text: "je u" },
  66. { oper: "ni", text: "nije u" },
  67. { oper: "ew", text: "završava sa" },
  68. { oper: "en", text: "ne završava sa" },
  69. { oper: "cn", text: "sadrži" },
  70. { oper: "nc", text: "ne sadrži" },
  71. { oper: "nu", text: "je prazno" },
  72. { oper: "nn", text: "nije prazno" }
  73. ],
  74. groupOps: [
  75. { op: "AND", text: "sve" },
  76. { op: "OR", text: "bilo koji" }
  77. ],
  78. addGroupTitle: "Dodaj podgrupu",
  79. deleteGroupTitle: "Obriši grupu",
  80. addRuleTitle: "Dodaj pravilo",
  81. deleteRuleTitle: "Obriši pravilo",
  82. operandTitle: "Pritisnite za promjenu operacije traženja.",
  83. resetTitle: "Vrati vrijednosti na zadane"
  84. },
  85. edit: {
  86. addCaption: "Dodaj zapis",
  87. editCaption: "Promijeni zapis",
  88. bSubmit: "Preuzmi",
  89. bCancel: "Odustani",
  90. bClose: "Zatvori",
  91. saveData: "Podaci su promijenjeni! Preuzmi promjene?",
  92. bYes: "Da",
  93. bNo: "Ne",
  94. bExit: "Odustani",
  95. msg: {
  96. required: "Polje je obavezno",
  97. number: "Molim, unesite ispravan broj",
  98. minValue: "Vrijednost mora biti veća ili identična ",
  99. maxValue: "Vrijednost mora biti manja ili identična",
  100. email: "neispravan e-mail",
  101. integer: "Molim, unijeti ispravan cijeli broj (integer)",
  102. date: "Molim, unijeti ispravan datum ",
  103. url: "neispravan URL. Prefiks je obavezan ('http://' or 'https://')",
  104. nodefined: " nije definiran!",
  105. novalue: " zahtjevan podatak je obavezan!",
  106. customarray: "Opcionalna funkcija trebala bi bili polje (array)!",
  107. customfcheck: "Kod korisničke provjere, korisnička funkcija treba biti prisutna!"
  108. }
  109. },
  110. view: {
  111. caption: "Otvori zapis",
  112. bClose: "Zatvori"
  113. },
  114. del: {
  115. caption: "Obriši",
  116. msg: "Obriši označen zapis ili više njih?",
  117. bSubmit: "Obriši",
  118. bCancel: "Odustani"
  119. },
  120. nav: {
  121. edittext: "",
  122. edittitle: "Promijeni obilježeni red",
  123. addtext: "",
  124. addtitle: "Dodaj novi red",
  125. deltext: "",
  126. deltitle: "Obriši obilježeni red",
  127. searchtext: "",
  128. searchtitle: "Potraži zapise",
  129. refreshtext: "",
  130. refreshtitle: "Ponovo preuzmi podatke",
  131. alertcap: "Upozorenje",
  132. alerttext: "Molim, odaberi red",
  133. viewtext: "",
  134. viewtitle: "Pregled obilježenog reda",
  135. savetext: "",
  136. savetitle: "Spremi red",
  137. canceltext: "",
  138. canceltitle: "Prekini promjenu reda"
  139. },
  140. col: {
  141. caption: "Obilježi kolonu",
  142. bSubmit: "U redu",
  143. bCancel: "Odustani"
  144. },
  145. errors: {
  146. errcap: "Greška",
  147. nourl: "Nedostaje URL",
  148. norecords: "Bez zapisa za obradu",
  149. model: "colNames i colModel imaju različitu duljinu!"
  150. },
  151. formatter: {
  152. integer: { thousandsSeparator: ".", defaultValue: "0" },
  153. number: { decimalSeparator: ",", thousandsSeparator: ".", decimalPlaces: 2, defaultValue: "0,00" },
  154. currency: { decimalSeparator: ",", thousandsSeparator: ".", decimalPlaces: 2, prefix: "", suffix: "", defaultValue: "0,00" },
  155. date: {
  156. dayNames: [
  157. "Ned", "Pon", "Uto", "Sri", "Čet", "Pet", "Sub",
  158. "Nedjelja", "Ponedjeljak", "Utorak", "Srijeda", "Četvrtak", "Petak", "Subota"
  159. ],
  160. monthNames: [
  161. "Sij", "Velj", "Ožu", "Tra", "Svi", "Lip", "Srp", "Kol", "Ruj", "Lis", "Stu", "Pro",
  162. "Siječanj", "Veljača", "Ožujak", "Travanj", "Svibanj", "Lipanj", "Srpanj", "Kolovoz", "Rujan", "Listopad", "Studeni", "Prosinac"
  163. ],
  164. AmPm: ["am", "pm", "AM", "PM"],
  165. S: function () { return ""; },
  166. srcformat: "Y-m-d",
  167. newformat: "d.m.Y.",
  168. masks: {
  169. // see http://php.net/manual/en/function.date.php for PHP format used in jqGrid
  170. // and see http://docs.jquery.com/UI/Datepicker/formatDate
  171. // and https://github.com/jquery/globalize#dates for alternative formats used frequently
  172. // short date:
  173. // d - Day of the month, 2 digits with leading zeros
  174. // m - Numeric representation of a month, with leading zeros
  175. // Y - A full numeric representation of a year, 4 digits
  176. ShortDate: "d.m.Y.", // in jQuery UI Datepicker: "dd.mm.yy."
  177. // long date:
  178. // l - A full textual representation of the day of the week
  179. // j - Day of the month without leading zeros
  180. // F - A full textual representation of a month
  181. // Y - A full numeric representation of a year, 4 digits
  182. LongDate: "l, j. F Y", // in jQuery UI Datepicker: "dddd, d. MMMM yyyy"
  183. // long date with long time:
  184. // l - A full textual representation of the day of the week
  185. // j - Day of the month without leading zeros
  186. // F - A full textual representation of a month
  187. // Y - A full numeric representation of a year, 4 digits
  188. // H - 24-hour format of an hour with leading zeros
  189. // i - Minutes with leading zeros
  190. // s - Seconds, with leading zeros
  191. FullDateTime: "l, j. F Y H:i:s", // in jQuery UI Datepicker: "dddd, d. MMMM yyyy HH:mm:ss"
  192. // month day:
  193. // d - Day of the month, 2 digits with leading zeros
  194. // F - A full textual representation of a month
  195. MonthDay: "d F", // in jQuery UI Datepicker: "dd MMMM"
  196. // short time (without seconds)
  197. // H - 24-hour format of an hour with leading zeros
  198. // i - Minutes with leading zeros
  199. ShortTime: "H:i", // in jQuery UI Datepicker: "HH:mm"
  200. // long time (with seconds)
  201. // H - 24-hour format of an hour with leading zeros
  202. // i - Minutes with leading zeros
  203. // s - Seconds, with leading zeros
  204. LongTime: "H:i:s", // in jQuery UI Datepicker: "HH:mm:ss"
  205. // month with year
  206. // F - A full textual representation of a month
  207. // Y - A full numeric representation of a year, 4 digits
  208. YearMonth: "F Y" // in jQuery UI Datepicker: "MMMM yyyy"
  209. }
  210. }
  211. }
  212. };
  213. $.jgrid = $.jgrid || {};
  214. $.extend(true, $.jgrid, {
  215. defaults: {
  216. locale: "bs"
  217. },
  218. locales: {
  219. // In general the property name is free, but it's recommended to use the names based on
  220. // http://www.iana.org/assignments/language-subtag-registry/language-subtag-registry
  221. // http://rishida.net/utils/subtags/ and RFC 5646. See Appendix A of RFC 5646 for examples.
  222. // One can use the lang attribute to specify language tags in HTML, and the xml:lang attribute for XML
  223. // if it exists. See http://www.w3.org/International/articles/language-tags/#extlang
  224. bs: $.extend({}, locInfo, { name: "bosanski", nameEnglish: "Bosnian" }),
  225. "bs-BA": $.extend({}, locInfo, { name: "bosanski (Bosna)", nameEnglish: "Bosnian (Bosnia)" })
  226. }
  227. });
  228. }));