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