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