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