Upgrade to ExtJS 4.0.7 - Released 10/19/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             valueNotFoundText : undefined
205         });
206         Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
207             loadingText       : "Prosím čekejte..."
208         });
209     }
210
211     if(Ext.form.field.VTypes){
212         Ext.apply(Ext.form.field.VTypes, {
213             emailText    : 'V tomto poli může být vyplněna pouze emailová adresa ve formátu "uživatel@doména.cz"',
214             urlText      : 'V tomto poli může být vyplněna pouze URL (adresa internetové stránky) ve formátu "http:/'+'/www.doména.cz"',
215             alphaText    : 'Toto pole může obsahovat pouze písmena abecedy a znak _',
216             alphanumText : 'Toto pole může obsahovat pouze písmena abecedy, čísla a znak _'
217         });
218     }
219
220     if(Ext.form.field.HtmlEditor){
221         Ext.apply(Ext.form.field.HtmlEditor.prototype, {
222             createLinkText : 'Zadejte URL adresu odkazu:',
223             buttonTips : {
224                 bold : {
225                     title: 'Tučné (Ctrl+B)',
226                     text: 'Označí vybraný text tučně.',
227                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
228                 },
229                 italic : {
230                     title: 'Kurzíva (Ctrl+I)',
231                     text: 'Označí vybraný text kurzívou.',
232                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
233                 },
234                 underline : {
235                     title: 'Podtržení (Ctrl+U)',
236                     text: 'Podtrhne vybraný text.',
237                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
238                 },
239                 increasefontsize : {
240                     title: 'Zvětšit písmo',
241                     text: 'Zvětší velikost písma.',
242                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
243                 },
244                 decreasefontsize : {
245                     title: 'Zúžit písmo',
246                     text: 'Zmenší velikost písma.',
247                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
248                 },
249                 backcolor : {
250                     title: 'Barva zvýraznění textu',
251                     text: 'Označí vybraný text tak, aby vypadal jako označený zvýrazňovačem.',
252                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
253                 },
254                 forecolor : {
255                     title: 'Barva písma',
256                     text: 'Změní barvu textu.',
257                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
258                 },
259                 justifyleft : {
260                     title: 'Zarovnat text vlevo',
261                     text: 'Zarovná text doleva.',
262                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
263                 },
264                 justifycenter : {
265                     title: 'Zarovnat na střed',
266                     text: 'Zarovná text na střed.',
267                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
268                 },
269                 justifyright : {
270                     title: 'Zarovnat text vpravo',
271                     text: 'Zarovná text doprava.',
272                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
273                 },
274                 insertunorderedlist : {
275                     title: 'Odrážky',
276                     text: 'Začne seznam s odrážkami.',
277                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
278                 },
279                 insertorderedlist : {
280                     title: 'Číslování',
281                     text: 'Začne číslovaný seznam.',
282                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
283                 },
284                 createlink : {
285                     title: 'Internetový odkaz',
286                     text: 'Z vybraného textu vytvoří internetový odkaz.',
287                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
288                 },
289                 sourceedit : {
290                     title: 'Zdrojový kód',
291                     text: 'Přepne do módu úpravy zdrojového kódu.',
292                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
293                 }
294             }
295         });
296     }
297
298     if(Ext.grid.header.Container){
299         Ext.apply(Ext.grid.header.Container.prototype, {
300             sortAscText  : "Řadit vzestupně",
301             sortDescText : "Řadit sestupně",
302             lockText     : "Ukotvit sloupec",
303             unlockText   : "Uvolnit sloupec",
304             columnsText  : "Sloupce"
305         });
306     }
307
308     if(Ext.grid.GroupingFeature){
309         Ext.apply(Ext.grid.GroupingFeature.prototype, {
310             emptyGroupText : '(Žádná data)',
311             groupByText    : 'Seskupit dle tohoto pole',
312             showGroupsText : 'Zobrazit ve skupině'
313         });
314     }
315
316     if(Ext.grid.PropertyColumnModel){
317         Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
318             nameText   : "Název",
319             valueText  : "Hodnota",
320             dateFormat : "j.m.Y"
321         });
322     }
323
324     if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
325         Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
326             splitTip            : "Tahem změnit velikost.",
327             collapsibleSplitTip : "Tahem změnit velikost. Dvojklikem skrýt."
328         });
329     }
330 });