Upgrade to ExtJS 4.0.7 - Released 10/19/2011
[extjs.git] / locale / ext-lang-pl.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  * Polish Translations
17  * By vbert 17-April-2007
18  * Updated by mmar 16-November-2007
19  * Encoding: utf-8
20  */
21 Ext.onReady(function() {
22
23     if(Ext.Updater) {
24         Ext.Updater.defaults.indicatorText = '<div class="loading-indicator">Wczytywanie danych...</div>';
25     }
26
27     if(Ext.view.View){
28        Ext.view.View.prototype.emptyText = "";
29     }
30
31     if(Ext.grid.Panel){
32        Ext.grid.Panel.prototype.ddText = "{0} wybrano wiersze(y)";
33     }
34
35     if(Ext.TabPanelItem){
36        Ext.TabPanelItem.prototype.closeText = "Zamknij zakładkę";
37     }
38
39     if(Ext.form.field.Base){
40        Ext.form.field.Base.prototype.invalidText = "Wartość tego pola jest niewłaściwa";
41     }
42
43     if(Ext.LoadMask){
44         Ext.LoadMask.prototype.msg = "Wczytywanie danych...";
45     }
46
47     if(Ext.Date) {
48         Ext.Date.monthNames = [
49             "Styczeń",
50             "Luty",
51             "Marzec",
52             "Kwiecień",
53             "Maj",
54             "Czerwiec",
55             "Lipiec",
56             "Sierpień",
57             "Wrzesień",
58             "Październik",
59             "Listopad",
60             "Grudzień"
61         ];
62
63         Ext.Date.getShortMonthName = function(month) {
64           return Ext.Date.monthNames[month].substring(0, 3);
65         };
66
67         Ext.Date.monthNumbers = {
68           Sty : 0,
69           Lut : 1,
70           Mar : 2,
71           Kwi : 3,
72           Maj : 4,
73           Cze : 5,
74           Lip : 6,
75           Sie : 7,
76           Wrz : 8,
77           Paź : 9,
78           Lis : 10,
79           Gru : 11
80         };
81
82         Ext.Date.getMonthNumber = function(name) {
83           return Ext.Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
84         };
85
86         Ext.Date.dayNames = [
87             "Niedziela",
88             "Poniedziałek",
89             "Wtorek",
90             "Środa",
91             "Czwartek",
92             "Piątek",
93             "Sobota"
94         ];
95
96         Ext.Date.getShortDayName = function(day) {
97                 switch(day) {
98                         case 0: return 'ndz';
99                         case 1: return 'pon';
100                         case 2: return 'wt';
101                         case 3: return 'śr';
102                         case 4: return 'czw';
103                         case 5: return 'pt';                            
104                         case 6: return 'sob';
105                         default: return '';
106                 }
107         };
108     }
109     if(Ext.MessageBox){
110        Ext.MessageBox.buttonText = {
111           ok     : "OK",
112           cancel : "Anuluj",
113           yes    : "Tak",
114           no     : "Nie"
115        };
116     }
117
118     if(Ext.util.Format){
119         Ext.apply(Ext.util.Format, {
120             thousandSeparator: '.',
121             decimalSeparator: ',',
122             currencySign: '\u007a\u0142',  // Polish Zloty
123             dateFormat: 'Y-m-d'
124         });
125     }
126
127     if(Ext.picker.Date){
128         Ext.apply(Ext.picker.Date.prototype, {
129                 startDay                        : 1,
130                 todayText                       : "Dzisiaj",
131                 minText                         : "Data jest wcześniejsza od daty minimalnej",
132                 maxText                         : "Data jest późniejsza od daty maksymalnej",
133                 disabledDaysText        : "",
134                 disabledDatesText       : "",
135                 monthNames                      : Ext.Date.monthNames,
136                 dayNames                        : Ext.Date.dayNames,
137                 nextText                        : "Następny miesiąc (Control+StrzałkaWPrawo)",
138                 prevText                        : "Poprzedni miesiąc (Control+StrzałkaWLewo)",
139                 monthYearText           : "Wybierz miesiąc (Control+Up/Down aby zmienić rok)",
140                 todayTip                        : "{0} (Spacja)",
141                 format                          : "Y-m-d",
142                 startDay                : 1
143         });
144     }
145
146
147     if(Ext.picker.Month) {
148       Ext.apply(Ext.picker.Month.prototype, {
149             okText              : "&#160;OK&#160;",
150             cancelText          : "Anuluj"
151       });
152     }
153
154     if(Ext.toolbar.Paging){
155         Ext.apply(Ext.PagingToolbar.prototype, {
156                 beforePageText  : "Strona",
157                 afterPageText   : "z {0}",
158                 firstText               : "Pierwsza strona",
159             prevText            : "Poprzednia strona",
160                 nextText                : "Następna strona",
161             lastText            : "Ostatnia strona",
162                 refreshText             : "Odśwież",
163             displayMsg          : "Wyświetlono {0} - {1} z {2}",
164                 emptyMsg                : "Brak danych do wyświetlenia"
165         });
166     }
167
168     if(Ext.form.field.Text){
169         Ext.apply(Ext.form.field.Text.prototype, {
170             minLengthText       : "Minimalna ilość znaków dla tego pola to {0}",
171                 maxLengthText   : "Maksymalna ilość znaków dla tego pola to {0}",
172             blankText           : "To pole jest wymagane",
173                 regexText               : "",
174             emptyText           : null
175         });
176     }
177
178     if(Ext.form.field.Number){
179         Ext.apply(Ext.form.field.Number.prototype, {
180             minText     : "Minimalna wartość dla tego pola to {0}",
181             maxText     : "Maksymalna wartość dla tego pola to {0}",
182                 nanText : "{0} to nie jest właściwa wartość"
183         });
184     }
185
186     if(Ext.form.field.Date){
187         Ext.apply(Ext.form.field.Date.prototype, {
188             disabledDaysText    : "Wyłączony",
189             disabledDatesText   : "Wyłączony",
190                 minText                         : "Data w tym polu musi być późniejsza od {0}",
191             maxText                             : "Data w tym polu musi być wcześniejsza od {0}",
192                 invalidText                     : "{0} to nie jest prawidłowa data - prawidłowy format daty {1}",
193             format                              : "Y-m-d",
194                 altFormats          : "m/d/Y|m-d-y|m-d-Y|m/d|m-d|md|mdy|mdY|d|Y-m-d"
195         });
196     }
197
198     if(Ext.form.field.ComboBox){
199         Ext.apply(Ext.form.field.ComboBox.prototype, {
200                 valueNotFoundText : undefined
201         });
202         Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
203             loadingText       : "Wczytuję..."
204         });
205     }
206
207     if(Ext.form.field.VTypes){
208         Ext.apply(Ext.form.field.VTypes, {
209             emailText           : 'To pole wymaga podania adresu e-mail w formacie: "nazwa@domena.pl"',
210             urlText                     : 'To pole wymaga podania adresu strony www w formacie: "http:/'+'/www.domena.pl"',
211                 alphaText               : 'To pole wymaga podania tylko liter i _',
212                 alphanumText    : 'To pole wymaga podania tylko liter, cyfr i _'
213         });
214     }
215
216     if(Ext.form.field.HtmlEditor){
217       Ext.apply(Ext.form.field.HtmlEditor.prototype, {
218         createLinkText : 'Wprowadź adres URL strony:',
219         buttonTips : {
220           bold : {
221             title: 'Pogrubienie (Ctrl+B)',
222             text: 'Ustaw styl zaznaczonego tekstu na pogrubiony.',
223             cls: Ext.baseCSSPrefix + 'html-editor-tip'
224           },
225           italic : {
226             title: 'Kursywa (Ctrl+I)',
227             text: 'Ustaw styl zaznaczonego tekstu na kursywę.',
228             cls: Ext.baseCSSPrefix + 'html-editor-tip'
229           },
230           underline : {
231             title: 'Podkreślenie (Ctrl+U)',
232             text: 'Podkreśl zaznaczony tekst.',
233             cls: Ext.baseCSSPrefix + 'html-editor-tip'
234           },
235           increasefontsize : {
236             title: 'Zwiększ czcionkę',
237             text: 'Zwiększ rozmiar czcionki.',
238             cls: Ext.baseCSSPrefix + 'html-editor-tip'
239           },
240           decreasefontsize : {
241             title: 'Zmniejsz czcionkę',
242             text: 'Zmniejsz rozmiar czcionki.',
243             cls: Ext.baseCSSPrefix + 'html-editor-tip'
244           },
245           backcolor : {
246             title: 'Wyróżnienie',
247             text: 'Zmień kolor wyróżnienia zaznaczonego tekstu.',
248             cls: Ext.baseCSSPrefix + 'html-editor-tip'
249           },
250           forecolor : {
251             title: 'Kolor czcionki',
252             text: 'Zmień kolor zaznaczonego tekstu.',
253             cls: Ext.baseCSSPrefix + 'html-editor-tip'
254           },
255           justifyleft : {
256             title: 'Do lewej',
257             text: 'Wyrównaj tekst do lewej.',
258             cls: Ext.baseCSSPrefix + 'html-editor-tip'
259           },
260           justifycenter : {
261             title: 'Wyśrodkuj',
262             text: 'Wyrównaj tekst do środka.',
263             cls: Ext.baseCSSPrefix + 'html-editor-tip'
264           },
265           justifyright : {
266             title: 'Do prawej',
267             text: 'Wyrównaj tekst do prawej.',
268             cls: Ext.baseCSSPrefix + 'html-editor-tip'
269           },
270           insertunorderedlist : {
271             title: 'Lista wypunktowana',
272             text: 'Rozpocznij listę wypunktowaną.',
273             cls: Ext.baseCSSPrefix + 'html-editor-tip'
274           },
275           insertorderedlist : {
276             title: 'Lista numerowana',
277             text: 'Rozpocznij listę numerowaną.',
278             cls: Ext.baseCSSPrefix + 'html-editor-tip'
279           },
280           createlink : {
281             title: 'Hiperłącze',
282             text: 'Przekształć zaznaczony tekst w hiperłącze.',
283             cls: Ext.baseCSSPrefix + 'html-editor-tip'
284           },
285           sourceedit : {
286             title: 'Edycja źródła',
287             text: 'Przełącz w tryb edycji źródła.',
288             cls: Ext.baseCSSPrefix + 'html-editor-tip'
289           }
290         }
291       });
292     }
293
294     if(Ext.grid.header.Container){
295         Ext.apply(Ext.grid.header.Container.prototype, {
296             sortAscText         : "Sortuj rosnąco",
297             sortDescText        : "Sortuj malejąco",
298                 lockText                : "Zablokuj kolumnę",
299             unlockText          : "Odblokuj kolumnę",
300                 columnsText             : "Kolumny"
301         });
302     }
303
304     if(Ext.grid.GroupingFeature){
305       Ext.apply(Ext.grid.GroupingFeature.prototype, {
306         emptyGroupText : '(None)',
307         groupByText    : 'Grupuj po tym polu',
308         showGroupsText : 'Pokaż w grupach'
309       });
310     }
311
312     if(Ext.grid.PropertyColumnModel){
313         Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
314             nameText    : "Nazwa",
315             valueText   : "Wartość",
316                 dateFormat      : "Y-m-d"
317         });
318     }
319
320     if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
321         Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
322             splitTip                    : "Przeciągnij aby zmienić rozmiar.",
323                 collapsibleSplitTip     : "Przeciągnij aby zmienić rozmiar. Kliknij dwukrotnie aby ukryć."
324         });
325     }
326 });