grid.locale-sk.js 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. /**
  2. * jqGrid Slovak Translation
  3. * Milan Cibulka
  4. * http://trirand.com/blog/
  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. /*global jQuery, define */
  10. (function( factory ) {
  11. "use strict";
  12. if ( typeof define === "function" && define.amd ) {
  13. // AMD. Register as an anonymous module.
  14. define([
  15. "jquery",
  16. "../grid.base"
  17. ], factory );
  18. } else {
  19. // Browser globals
  20. factory( jQuery );
  21. }
  22. }(function( $ ) {
  23. $.jgrid = $.jgrid || {};
  24. if(!$.jgrid.hasOwnProperty("regional")) {
  25. $.jgrid.regional = [];
  26. }
  27. $.jgrid.regional["sk"] = {
  28. defaults : {
  29. recordtext: "Zobrazených {0} - {1} z {2} záznamov",
  30. emptyrecords: "Neboli nájdené žiadne záznamy",
  31. loadtext: "Načítám...",
  32. pgtext : "Strana {0} z {1}",
  33. savetext: "Saving...",
  34. pgfirst : "First Page",
  35. pglast : "Last Page",
  36. pgnext : "Next Page",
  37. pgprev : "Previous Page",
  38. pgrecs : "Records per Page",
  39. showhide: "Toggle Expand Collapse Grid",
  40. // mobile
  41. pagerCaption : "Grid::Page Settings",
  42. pageText : "Page:",
  43. recordPage : "Records per Page",
  44. nomorerecs : "No more records...",
  45. scrollPullup: "Pull up to load more...",
  46. scrollPulldown : "Pull down to refresh...",
  47. scrollRefresh : "Release to refresh..."
  48. },
  49. search : {
  50. caption: "Vyhľadávam...",
  51. Find: "Hľadať",
  52. Reset: "Reset",
  53. odata: [{ oper:'eq', text:"rovná sa"},{ oper:'ne', text:"nerovná sa"},{ oper:'lt', text:"menšie"},{ oper:'le', text:"menšie alebo rovnajúce sa"},{ oper:'gt', text:"väčšie"},{ oper:'ge', text:"väčšie alebo rovnajúce sa"},{ oper:'bw', text:"začína s"},{ oper:'bn', text:"nezačína s"},{ oper:'in', text:"je v"},{ oper:'ni', text:"nie je v"},{ oper:'ew', text:"končí s"},{ oper:'en', text:"nekončí s"},{ oper:'cn', text:"obahuje"},{ oper:'nc', text:"neobsahuje"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}, {oper:'bt', text:'between'}],
  54. groupOps: [ { op: "AND", text: "všetkých" }, { op: "OR", text: "niektorého z" } ],
  55. operandTitle : "Click to select search operation.",
  56. resetTitle : "Reset Search Value"
  57. },
  58. edit : {
  59. addCaption: "Pridať záznam",
  60. editCaption: "Editácia záznamov",
  61. bSubmit: "Uložiť",
  62. bCancel: "Storno",
  63. bClose: "Zavrieť",
  64. saveData: "Údaje boli zmenené! Uložiť zmeny?",
  65. bYes : "Ano",
  66. bNo : "Nie",
  67. bExit : "Zrušiť",
  68. msg: {
  69. required:"Pole je požadované",
  70. number:"Prosím, vložte valídne číslo",
  71. minValue:"hodnota musí býť väčšia ako alebo rovná ",
  72. maxValue:"hodnota musí býť menšia ako alebo rovná ",
  73. email: "nie je valídny e-mail",
  74. integer: "Prosím, vložte celé číslo",
  75. date: "Prosím, vložte valídny dátum",
  76. url: "nie je platnou URL. Požadovaný prefix ('http://' alebo 'https://')",
  77. nodefined : " nie je definovaný!",
  78. novalue : " je vyžadovaná návratová hodnota!",
  79. customarray : "Custom function mala vrátiť pole!",
  80. customfcheck : "Custom function by mala byť prítomná v prípade custom checking!"
  81. }
  82. },
  83. view : {
  84. caption: "Zobraziť záznam",
  85. bClose: "Zavrieť"
  86. },
  87. del : {
  88. caption: "Zmazať",
  89. msg: "Zmazať vybraný(é) záznam(y)?",
  90. bSubmit: "Zmazať",
  91. bCancel: "Storno"
  92. },
  93. nav : {
  94. edittext: " ",
  95. edittitle: "Editovať vybraný riadok",
  96. addtext:" ",
  97. addtitle: "Pridať nový riadek",
  98. deltext: " ",
  99. deltitle: "Zmazať vybraný záznam ",
  100. searchtext: " ",
  101. searchtitle: "Nájsť záznamy",
  102. refreshtext: "",
  103. refreshtitle: "Obnoviť tabuľku",
  104. alertcap: "Varovanie",
  105. alerttext: "Prosím, vyberte riadok",
  106. viewtext: "",
  107. viewtitle: "Zobraziť vybraný riadok",
  108. savetext: "",
  109. savetitle: "Save row",
  110. canceltext: "",
  111. canceltitle : "Cancel row editing",
  112. selectcaption : "Actions..."
  113. },
  114. col : {
  115. caption: "Zobrazit/Skrýť stĺpce",
  116. bSubmit: "Uložiť",
  117. bCancel: "Storno"
  118. },
  119. errors : {
  120. errcap : "Chyba",
  121. nourl : "Nie je nastavená url",
  122. norecords: "Žiadne záznamy k spracovaniu",
  123. model : "Dĺžka colNames <> colModel!"
  124. },
  125. formatter : {
  126. integer : {thousandsSeparator: " ", defaultValue: '0'},
  127. number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'},
  128. currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'},
  129. date : {
  130. dayNames: [
  131. "Ne", "Po", "Ut", "St", "Št", "Pi", "So",
  132. "Nedela", "Pondelok", "Utorok", "Streda", "Štvrtok", "Piatek", "Sobota"
  133. ],
  134. monthNames: [
  135. "Jan", "Feb", "Mar", "Apr", "Máj", "Jún", "Júl", "Aug", "Sep", "Okt", "Nov", "Dec",
  136. "Január", "Február", "Marec", "Apríl", "Máj", "Jún", "Júl", "August", "September", "Október", "November", "December"
  137. ],
  138. AmPm : ["do","od","DO","OD"],
  139. S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
  140. srcformat: 'Y-m-d',
  141. newformat: 'd/m/Y',
  142. parseRe : /[#%\\\/:_;.,\t\s-]/,
  143. masks : {
  144. ISO8601Long:"Y-m-d H:i:s",
  145. ISO8601Short:"Y-m-d",
  146. ShortDate: "n/j/Y",
  147. LongDate: "l, F d, Y",
  148. FullDateTime: "l, F d, Y g:i:s A",
  149. MonthDay: "F d",
  150. ShortTime: "g:i A",
  151. LongTime: "g:i:s A",
  152. SortableDateTime: "Y-m-d\\TH:i:s",
  153. UniversalSortableDateTime: "Y-m-d H:i:sO",
  154. YearMonth: "F, Y"
  155. },
  156. reformatAfterEdit : false,
  157. userLocalTime : false
  158. },
  159. baseLinkUrl: '',
  160. showAction: '',
  161. target: '',
  162. checkbox : {disabled:true},
  163. idName : 'id'
  164. },
  165. colmenu : {
  166. sortasc : "Sort Ascending",
  167. sortdesc : "Sort Descending",
  168. columns : "Columns",
  169. filter : "Filter",
  170. grouping : "Group By",
  171. ungrouping : "Ungroup",
  172. searchTitle : "Get items with value that:",
  173. freeze : "Freeze",
  174. unfreeze : "Unfreeze",
  175. reorder : "Move to reorder"
  176. }
  177. };
  178. }));