Upgrade to ExtJS 4.0.2 - Released 06/09/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                 loadingText       : "Wczytuję...",
201                 valueNotFoundText : undefined
202         });
203     }
204
205     if(Ext.form.field.VTypes){
206         Ext.apply(Ext.form.field.VTypes, {
207             emailText           : 'To pole wymaga podania adresu e-mail w formacie: "nazwa@domena.pl"',
208             urlText                     : 'To pole wymaga podania adresu strony www w formacie: "http:/'+'/www.domena.pl"',
209                 alphaText               : 'To pole wymaga podania tylko liter i _',
210                 alphanumText    : 'To pole wymaga podania tylko liter, cyfr i _'
211         });
212     }
213
214     if(Ext.form.field.HtmlEditor){
215       Ext.apply(Ext.form.field.HtmlEditor.prototype, {
216         createLinkText : 'Wprowadź adres URL strony:',
217         buttonTips : {
218           bold : {
219             title: 'Pogrubienie (Ctrl+B)',
220             text: 'Ustaw styl zaznaczonego tekstu na pogrubiony.',
221             cls: Ext.baseCSSPrefix + 'html-editor-tip'
222           },
223           italic : {
224             title: 'Kursywa (Ctrl+I)',
225             text: 'Ustaw styl zaznaczonego tekstu na kursywę.',
226             cls: Ext.baseCSSPrefix + 'html-editor-tip'
227           },
228           underline : {
229             title: 'Podkreślenie (Ctrl+U)',
230             text: 'Podkreśl zaznaczony tekst.',
231             cls: Ext.baseCSSPrefix + 'html-editor-tip'
232           },
233           increasefontsize : {
234             title: 'Zwiększ czcionkę',
235             text: 'Zwiększ rozmiar czcionki.',
236             cls: Ext.baseCSSPrefix + 'html-editor-tip'
237           },
238           decreasefontsize : {
239             title: 'Zmniejsz czcionkę',
240             text: 'Zmniejsz rozmiar czcionki.',
241             cls: Ext.baseCSSPrefix + 'html-editor-tip'
242           },
243           backcolor : {
244             title: 'Wyróżnienie',
245             text: 'Zmień kolor wyróżnienia zaznaczonego tekstu.',
246             cls: Ext.baseCSSPrefix + 'html-editor-tip'
247           },
248           forecolor : {
249             title: 'Kolor czcionki',
250             text: 'Zmień kolor zaznaczonego tekstu.',
251             cls: Ext.baseCSSPrefix + 'html-editor-tip'
252           },
253           justifyleft : {
254             title: 'Do lewej',
255             text: 'Wyrównaj tekst do lewej.',
256             cls: Ext.baseCSSPrefix + 'html-editor-tip'
257           },
258           justifycenter : {
259             title: 'Wyśrodkuj',
260             text: 'Wyrównaj tekst do środka.',
261             cls: Ext.baseCSSPrefix + 'html-editor-tip'
262           },
263           justifyright : {
264             title: 'Do prawej',
265             text: 'Wyrównaj tekst do prawej.',
266             cls: Ext.baseCSSPrefix + 'html-editor-tip'
267           },
268           insertunorderedlist : {
269             title: 'Lista wypunktowana',
270             text: 'Rozpocznij listę wypunktowaną.',
271             cls: Ext.baseCSSPrefix + 'html-editor-tip'
272           },
273           insertorderedlist : {
274             title: 'Lista numerowana',
275             text: 'Rozpocznij listę numerowaną.',
276             cls: Ext.baseCSSPrefix + 'html-editor-tip'
277           },
278           createlink : {
279             title: 'Hiperłącze',
280             text: 'Przekształć zaznaczony tekst w hiperłącze.',
281             cls: Ext.baseCSSPrefix + 'html-editor-tip'
282           },
283           sourceedit : {
284             title: 'Edycja źródła',
285             text: 'Przełącz w tryb edycji źródła.',
286             cls: Ext.baseCSSPrefix + 'html-editor-tip'
287           }
288         }
289       });
290     }
291
292     if(Ext.grid.header.Container){
293         Ext.apply(Ext.grid.header.Container.prototype, {
294             sortAscText         : "Sortuj rosnąco",
295             sortDescText        : "Sortuj malejąco",
296                 lockText                : "Zablokuj kolumnę",
297             unlockText          : "Odblokuj kolumnę",
298                 columnsText             : "Kolumny"
299         });
300     }
301
302     if(Ext.grid.GroupingFeature){
303       Ext.apply(Ext.grid.GroupingFeature.prototype, {
304         emptyGroupText : '(None)',
305         groupByText    : 'Grupuj po tym polu',
306         showGroupsText : 'Pokaż w grupach'
307       });
308     }
309
310     if(Ext.grid.PropertyColumnModel){
311         Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
312             nameText    : "Nazwa",
313             valueText   : "Wartość",
314                 dateFormat      : "Y-m-d"
315         });
316     }
317
318     if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
319         Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
320             splitTip                    : "Przeciągnij aby zmienić rozmiar.",
321                 collapsibleSplitTip     : "Przeciągnij aby zmienić rozmiar. Kliknij dwukrotnie aby ukryć."
322         });
323     }
324 });