Upgrade to ExtJS 4.0.2 - Released 06/09/2011
[extjs.git] / locale / ext-lang-cs.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  * Czech Translations
17  * Translated by Tomáš Korčák (72)
18  * 2008/02/08 18:02, Ext-2.0.1
19  */
20 Ext.onReady(function() {
21     if (Ext.Updater) {
22         Ext.Updater.defaults.indicatorText = '<div class="loading-indicator">Prosím čekejte...</div>';
23     }
24
25     if(Ext.view.View){
26         Ext.view.View.prototype.emptyText = "";
27     }
28
29     if(Ext.grid.Panel){
30         Ext.grid.Panel.prototype.ddText = "{0} vybraných řádků";
31     }
32
33     if(Ext.TabPanelItem){
34         Ext.TabPanelItem.prototype.closeText = "Zavřít záložku";
35     }
36
37     if(Ext.form.field.Base){
38         Ext.form.field.Base.prototype.invalidText = "Hodnota v tomto poli je neplatná";
39     }
40
41     if(Ext.LoadMask){
42         Ext.LoadMask.prototype.msg = "Prosím čekejte...";
43     }
44
45     if(Ext.Date) {
46         Ext.Date.monthNames = [
47         "Leden",
48         "Únor",
49         "Březen",
50         "Duben",
51         "Květen",
52         "Červen",
53         "Červenec",
54         "Srpen",
55         "Září",
56         "Říjen",
57         "Listopad",
58         "Prosinec"
59         ];
60
61         Ext.Date.shortMonthNames = {
62             "Leden"     : "Led",
63             "Únor"      : "Úno",
64             "Březen"    : "Bře",
65             "Duben"     : "Dub",
66             "Květen"    : "Kvě",
67             "Červen"    : "Čer",
68             "Červenec"  : "Čvc",
69             "Srpen"     : "Srp",
70             "Září"      : "Zář",
71             "Říjen"     : "Říj",
72             "Listopad"  : "Lis",
73             "Prosinec"  : "Pro"
74         };
75
76
77         Ext.Date.getShortMonthName = function(month) {
78             return Ext.Date.shortMonthNames[Ext.Date.monthNames[month]];
79         };
80
81         Ext.Date.monthNumbers = {
82             "Leden"      : 0,
83             "Únor"       : 1,
84             "Březen"     : 2,
85             "Duben"      : 3,
86             "Květen"     : 4,
87             "Červen"     : 5,
88             "Červenec"   : 6,
89             "Srpen"      : 7,
90             "Září"       : 8,
91             "Říjen"      : 9,
92             "Listopad"   : 10,
93             "Prosinec"   : 11
94         };
95
96
97         Ext.Date.getMonthNumber = function(name) {
98             return Ext.Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1).toLowerCase()];
99         };
100
101         Ext.Date.dayNames = [
102         "Neděle",
103         "Pondělí",
104         "Úterý",
105         "Středa",
106         "Čtvrtek",
107         "Pátek",
108         "Sobota"
109         ];
110
111         Ext.Date.getShortDayName = function(day) {
112             return Ext.Date.dayNames[day].substring(0, 3);
113         };
114     }
115     if(Ext.MessageBox){
116         Ext.MessageBox.buttonText = {
117             ok     : "OK",
118             cancel : "Storno",
119             yes    : "Ano",
120             no     : "Ne"
121         };
122     }
123
124     if(Ext.util.Format){
125         Ext.apply(Ext.util.Format, {
126             thousandSeparator: '.',
127             decimalSeparator: ',',
128             currencySign: '\u004b\u010d', // Czech Koruny
129             dateFormat: 'd.m.Y'
130         });
131     }
132
133     if(Ext.picker.Date){
134         Ext.apply(Ext.picker.Date.prototype, {
135             todayText         : "Dnes",
136             minText           : "Datum nesmí být starší než je minimální",
137             maxText           : "Datum nesmí být dřívější než je maximální",
138             disabledDaysText  : "",
139             disabledDatesText : "",
140             monthNames  : Ext.Date.monthNames,
141             dayNames            : Ext.Date.dayNames,
142             nextText          : 'Následující měsíc (Control+Right)',
143             prevText          : 'Předcházející měsíc (Control+Left)',
144             monthYearText     : 'Zvolte měsíc (ke změně let použijte Control+Up/Down)',
145             todayTip          : "{0} (Spacebar)",
146             format            : "d.m.Y",
147             startDay          : 1
148         });
149     }
150
151     if(Ext.picker.Month) {
152         Ext.apply(Ext.picker.Month.prototype, {
153             okText            : "&#160;OK&#160;",
154             cancelText        : "Storno"
155         });
156     }
157
158     if(Ext.toolbar.Paging){
159         Ext.apply(Ext.PagingToolbar.prototype, {
160             beforePageText : "Strana",
161             afterPageText  : "z {0}",
162             firstText      : "První strana",
163             prevText       : "Přecházející strana",
164             nextText       : "Následující strana",
165             lastText       : "Poslední strana",
166             refreshText    : "Aktualizovat",
167             displayMsg     : "Zobrazeno {0} - {1} z celkových {2}",
168             emptyMsg       : 'Žádné záznamy nebyly nalezeny'
169         });
170     }
171
172     if(Ext.form.field.Text){
173         Ext.apply(Ext.form.field.Text.prototype, {
174             minLengthText : "Pole nesmí mít méně {0} znaků",
175             maxLengthText : "Pole nesmí být delší než {0} znaků",
176             blankText     : "This field is required",
177             regexText     : "",
178             emptyText     : null
179         });
180     }
181
182     if(Ext.form.field.Number){
183         Ext.apply(Ext.form.field.Number.prototype, {
184             minText : "Hodnota v tomto poli nesmí být menší než {0}",
185             maxText : "Hodnota v tomto poli nesmí být větší než {0}",
186             nanText : "{0} není platné číslo"
187         });
188     }
189
190     if(Ext.form.field.Date){
191         Ext.apply(Ext.form.field.Date.prototype, {
192             disabledDaysText  : "Neaktivní",
193             disabledDatesText : "Neaktivní",
194             minText           : "Datum v tomto poli nesmí být starší než {0}",
195             maxText           : "Datum v tomto poli nesmí být novější než {0}",
196             invalidText       : "{0} není platným datem - zkontrolujte zda-li je ve formátu {1}",
197             format            : "d.m.Y",
198             altFormats        : "d/m/Y|d-m-y|d-m-Y|d/m|d-m|dm|dmy|dmY|d|Y-m-d"
199         });
200     }
201
202     if(Ext.form.field.ComboBox){
203         Ext.apply(Ext.form.field.ComboBox.prototype, {
204             loadingText       : "Prosím čekejte...",
205             valueNotFoundText : undefined
206         });
207     }
208
209     if(Ext.form.field.VTypes){
210         Ext.apply(Ext.form.field.VTypes, {
211             emailText    : 'V tomto poli může být vyplněna pouze emailová adresa ve formátu "uživatel@doména.cz"',
212             urlText      : 'V tomto poli může být vyplněna pouze URL (adresa internetové stránky) ve formátu "http:/'+'/www.doména.cz"',
213             alphaText    : 'Toto pole může obsahovat pouze písmena abecedy a znak _',
214             alphanumText : 'Toto pole může obsahovat pouze písmena abecedy, čísla a znak _'
215         });
216     }
217
218     if(Ext.form.field.HtmlEditor){
219         Ext.apply(Ext.form.field.HtmlEditor.prototype, {
220             createLinkText : 'Zadejte URL adresu odkazu:',
221             buttonTips : {
222                 bold : {
223                     title: 'Tučné (Ctrl+B)',
224                     text: 'Označí vybraný text tučně.',
225                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
226                 },
227                 italic : {
228                     title: 'Kurzíva (Ctrl+I)',
229                     text: 'Označí vybraný text kurzívou.',
230                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
231                 },
232                 underline : {
233                     title: 'Podtržení (Ctrl+U)',
234                     text: 'Podtrhne vybraný text.',
235                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
236                 },
237                 increasefontsize : {
238                     title: 'Zvětšit písmo',
239                     text: 'Zvětší velikost písma.',
240                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
241                 },
242                 decreasefontsize : {
243                     title: 'Zúžit písmo',
244                     text: 'Zmenší velikost písma.',
245                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
246                 },
247                 backcolor : {
248                     title: 'Barva zvýraznění textu',
249                     text: 'Označí vybraný text tak, aby vypadal jako označený zvýrazňovačem.',
250                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
251                 },
252                 forecolor : {
253                     title: 'Barva písma',
254                     text: 'Změní barvu textu.',
255                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
256                 },
257                 justifyleft : {
258                     title: 'Zarovnat text vlevo',
259                     text: 'Zarovná text doleva.',
260                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
261                 },
262                 justifycenter : {
263                     title: 'Zarovnat na střed',
264                     text: 'Zarovná text na střed.',
265                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
266                 },
267                 justifyright : {
268                     title: 'Zarovnat text vpravo',
269                     text: 'Zarovná text doprava.',
270                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
271                 },
272                 insertunorderedlist : {
273                     title: 'Odrážky',
274                     text: 'Začne seznam s odrážkami.',
275                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
276                 },
277                 insertorderedlist : {
278                     title: 'Číslování',
279                     text: 'Začne číslovaný seznam.',
280                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
281                 },
282                 createlink : {
283                     title: 'Internetový odkaz',
284                     text: 'Z vybraného textu vytvoří internetový odkaz.',
285                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
286                 },
287                 sourceedit : {
288                     title: 'Zdrojový kód',
289                     text: 'Přepne do módu úpravy zdrojového kódu.',
290                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
291                 }
292             }
293         });
294     }
295
296     if(Ext.grid.header.Container){
297         Ext.apply(Ext.grid.header.Container.prototype, {
298             sortAscText  : "Řadit vzestupně",
299             sortDescText : "Řadit sestupně",
300             lockText     : "Ukotvit sloupec",
301             unlockText   : "Uvolnit sloupec",
302             columnsText  : "Sloupce"
303         });
304     }
305
306     if(Ext.grid.GroupingFeature){
307         Ext.apply(Ext.grid.GroupingFeature.prototype, {
308             emptyGroupText : '(Žádná data)',
309             groupByText    : 'Seskupit dle tohoto pole',
310             showGroupsText : 'Zobrazit ve skupině'
311         });
312     }
313
314     if(Ext.grid.PropertyColumnModel){
315         Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
316             nameText   : "Název",
317             valueText  : "Hodnota",
318             dateFormat : "j.m.Y"
319         });
320     }
321
322     if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
323         Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
324             splitTip            : "Tahem změnit velikost.",
325             collapsibleSplitTip : "Tahem změnit velikost. Dvojklikem skrýt."
326         });
327     }
328 });