You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

196 lines
5.3 KiB

2 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. /*
  2. This file is part of Ext JS 3.4
  3. Copyright (c) 2011-2013 Sencha Inc
  4. Contact: http://www.sencha.com/contact
  5. GNU General Public License Usage
  6. This file may be used under the terms of the GNU General Public License version 3.0 as
  7. published by the Free Software Foundation and appearing in the file LICENSE included in the
  8. packaging of this file.
  9. Please review the following information to ensure the GNU General Public License version 3.0
  10. requirements will be met: http://www.gnu.org/copyleft/gpl.html.
  11. If you are unsure which license is appropriate for your use, please contact the sales department
  12. at http://www.sencha.com/contact.
  13. Build date: 2013-04-03 15:07:25
  14. */
  15. /**
  16. * List compiled by mystix on the extjs.com forums.
  17. * Thank you Mystix!
  18. */
  19. /* Slovak Translation by Michal Thomka
  20. * 14 April 2007
  21. */
  22. Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Nahrávam...</div>';
  23. if(Ext.View){
  24. Ext.View.prototype.emptyText = "";
  25. }
  26. if(Ext.grid.GridPanel){
  27. Ext.grid.GridPanel.prototype.ddText = "{0} označených riadkov";
  28. }
  29. if(Ext.TabPanelItem){
  30. Ext.TabPanelItem.prototype.closeText = "Zavrieť túto záložku";
  31. }
  32. if(Ext.form.Field){
  33. Ext.form.Field.prototype.invalidText = "Hodnota v tomto poli je nesprávna";
  34. }
  35. if(Ext.LoadMask){
  36. Ext.LoadMask.prototype.msg = "Nahrávam...";
  37. }
  38. Date.monthNames = [
  39. "Január",
  40. "Február",
  41. "Marec",
  42. "Apríl",
  43. "Máj",
  44. "Jún",
  45. "Júl",
  46. "August",
  47. "September",
  48. "Október",
  49. "November",
  50. "December"
  51. ];
  52. Date.dayNames = [
  53. "Nedeľa",
  54. "Pondelok",
  55. "Utorok",
  56. "Streda",
  57. "Štvrtok",
  58. "Piatok",
  59. "Sobota"
  60. ];
  61. if(Ext.MessageBox){
  62. Ext.MessageBox.buttonText = {
  63. ok : "OK",
  64. cancel : "Zrušiť",
  65. yes : "Áno",
  66. no : "Nie"
  67. };
  68. }
  69. if(Ext.util.Format){
  70. Ext.util.Format.date = function(v, format){
  71. if(!v) return "";
  72. if(!(v instanceof Date)) v = new Date(Date.parse(v));
  73. return v.dateFormat(format || "d.m.Y");
  74. };
  75. }
  76. if(Ext.DatePicker){
  77. Ext.apply(Ext.DatePicker.prototype, {
  78. todayText : "Dnes",
  79. minText : "Tento dátum je menší ako minimálny možný dátum",
  80. maxText : "Tento dátum je väčší ako maximálny možný dátum",
  81. disabledDaysText : "",
  82. disabledDatesText : "",
  83. monthNames : Date.monthNames,
  84. dayNames : Date.dayNames,
  85. nextText : 'Ďalší Mesiac (Control+Doprava)',
  86. prevText : 'Predch. Mesiac (Control+Doľava)',
  87. monthYearText : 'Vyberte Mesiac (Control+Hore/Dole pre posun rokov)',
  88. todayTip : "{0} (Medzerník)",
  89. format : "d.m.Y"
  90. });
  91. }
  92. if(Ext.PagingToolbar){
  93. Ext.apply(Ext.PagingToolbar.prototype, {
  94. beforePageText : "Strana",
  95. afterPageText : "z {0}",
  96. firstText : "Prvá Strana",
  97. prevText : "Predch. Strana",
  98. nextText : "Ďalšia Strana",
  99. lastText : "Posledná strana",
  100. refreshText : "Obnoviť",
  101. displayMsg : "Zobrazujem {0} - {1} z {2}",
  102. emptyMsg : 'Žiadne dáta'
  103. });
  104. }
  105. if(Ext.form.TextField){
  106. Ext.apply(Ext.form.TextField.prototype, {
  107. minLengthText : "Minimálna dĺžka pre toto pole je {0}",
  108. maxLengthText : "Maximálna dĺžka pre toto pole je {0}",
  109. blankText : "Toto pole je povinné",
  110. regexText : "",
  111. emptyText : null
  112. });
  113. }
  114. if(Ext.form.NumberField){
  115. Ext.apply(Ext.form.NumberField.prototype, {
  116. minText : "Minimálna hodnota pre toto pole je {0}",
  117. maxText : "Maximálna hodnota pre toto pole je {0}",
  118. nanText : "{0} je nesprávne číslo"
  119. });
  120. }
  121. if(Ext.form.DateField){
  122. Ext.apply(Ext.form.DateField.prototype, {
  123. disabledDaysText : "Zablokované",
  124. disabledDatesText : "Zablokované",
  125. minText : "Dátum v tomto poli musí byť až po {0}",
  126. maxText : "Dátum v tomto poli musí byť pred {0}",
  127. invalidText : "{0} nie je správny dátum - musí byť vo formáte {1}",
  128. format : "d.m.Y"
  129. });
  130. }
  131. if(Ext.form.ComboBox){
  132. Ext.apply(Ext.form.ComboBox.prototype, {
  133. loadingText : "Nahrávam...",
  134. valueNotFoundText : undefined
  135. });
  136. }
  137. if(Ext.form.VTypes){
  138. Ext.apply(Ext.form.VTypes, {
  139. emailText : 'Toto pole musí byť e-mailová adresa vo formáte "user@example.com"',
  140. urlText : 'Toto pole musí byť URL vo formáte "http:/'+'/www.example.com"',
  141. alphaText : 'Toto pole može obsahovať iba písmená a znak _',
  142. alphanumText : 'Toto pole može obsahovať iba písmená, čísla a znak _'
  143. });
  144. }
  145. if(Ext.grid.GridView){
  146. Ext.apply(Ext.grid.GridView.prototype, {
  147. sortAscText : "Zoradiť vzostupne",
  148. sortDescText : "Zoradiť zostupne",
  149. lockText : "Zamknúť stľpec",
  150. unlockText : "Odomknúť stľpec",
  151. columnsText : "Stľpce"
  152. });
  153. }
  154. if(Ext.grid.PropertyColumnModel){
  155. Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
  156. nameText : "Názov",
  157. valueText : "Hodnota",
  158. dateFormat : "d.m.Y"
  159. });
  160. }
  161. if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
  162. Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
  163. splitTip : "Potiahnite pre zmenu rozmeru",
  164. collapsibleSplitTip : "Potiahnite pre zmenu rozmeru. Dvojklikom schováte."
  165. });
  166. }