3 This file is part of Ext JS 4
5 Copyright (c) 2011 Sencha Inc
7 Contact: http://www.sencha.com/contact
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.
12 If you are unsure which license is appropriate for your use, please contact the sales department at http://www.sencha.com/contact.
17 * By vbert 17-April-2007
18 * Updated by mmar 16-November-2007
21 Ext.onReady(function() {
24 Ext.Updater.defaults.indicatorText = '<div class="loading-indicator">Wczytywanie danych...</div>';
28 Ext.view.View.prototype.emptyText = "";
32 Ext.grid.Panel.prototype.ddText = "{0} wybrano wiersze(y)";
36 Ext.TabPanelItem.prototype.closeText = "Zamknij zakładkę";
39 if(Ext.form.field.Base){
40 Ext.form.field.Base.prototype.invalidText = "Wartość tego pola jest niewłaściwa";
44 Ext.LoadMask.prototype.msg = "Wczytywanie danych...";
48 Ext.Date.monthNames = [
63 Ext.Date.getShortMonthName = function(month) {
64 return Ext.Date.monthNames[month].substring(0, 3);
67 Ext.Date.monthNumbers = {
82 Ext.Date.getMonthNumber = function(name) {
83 return Ext.Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
96 Ext.Date.getShortDayName = function(day) {
102 case 4: return 'czw';
104 case 6: return 'sob';
110 Ext.MessageBox.buttonText = {
119 Ext.apply(Ext.util.Format, {
120 thousandSeparator: '.',
121 decimalSeparator: ',',
122 currencySign: '\u007a\u0142', // Polish Zloty
128 Ext.apply(Ext.picker.Date.prototype, {
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)",
147 if(Ext.picker.Month) {
148 Ext.apply(Ext.picker.Month.prototype, {
149 okText : " OK ",
150 cancelText : "Anuluj"
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"
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",
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ść"
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}",
194 altFormats : "m/d/Y|m-d-y|m-d-Y|m/d|m-d|md|mdy|mdY|d|Y-m-d"
198 if(Ext.form.field.ComboBox){
199 Ext.apply(Ext.form.field.ComboBox.prototype, {
200 loadingText : "Wczytuję...",
201 valueNotFoundText : undefined
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 _'
214 if(Ext.form.field.HtmlEditor){
215 Ext.apply(Ext.form.field.HtmlEditor.prototype, {
216 createLinkText : 'Wprowadź adres URL strony:',
219 title: 'Pogrubienie (Ctrl+B)',
220 text: 'Ustaw styl zaznaczonego tekstu na pogrubiony.',
221 cls: Ext.baseCSSPrefix + 'html-editor-tip'
224 title: 'Kursywa (Ctrl+I)',
225 text: 'Ustaw styl zaznaczonego tekstu na kursywę.',
226 cls: Ext.baseCSSPrefix + 'html-editor-tip'
229 title: 'Podkreślenie (Ctrl+U)',
230 text: 'Podkreśl zaznaczony tekst.',
231 cls: Ext.baseCSSPrefix + 'html-editor-tip'
234 title: 'Zwiększ czcionkę',
235 text: 'Zwiększ rozmiar czcionki.',
236 cls: Ext.baseCSSPrefix + 'html-editor-tip'
239 title: 'Zmniejsz czcionkę',
240 text: 'Zmniejsz rozmiar czcionki.',
241 cls: Ext.baseCSSPrefix + 'html-editor-tip'
244 title: 'Wyróżnienie',
245 text: 'Zmień kolor wyróżnienia zaznaczonego tekstu.',
246 cls: Ext.baseCSSPrefix + 'html-editor-tip'
249 title: 'Kolor czcionki',
250 text: 'Zmień kolor zaznaczonego tekstu.',
251 cls: Ext.baseCSSPrefix + 'html-editor-tip'
255 text: 'Wyrównaj tekst do lewej.',
256 cls: Ext.baseCSSPrefix + 'html-editor-tip'
260 text: 'Wyrównaj tekst do środka.',
261 cls: Ext.baseCSSPrefix + 'html-editor-tip'
265 text: 'Wyrównaj tekst do prawej.',
266 cls: Ext.baseCSSPrefix + 'html-editor-tip'
268 insertunorderedlist : {
269 title: 'Lista wypunktowana',
270 text: 'Rozpocznij listę wypunktowaną.',
271 cls: Ext.baseCSSPrefix + 'html-editor-tip'
273 insertorderedlist : {
274 title: 'Lista numerowana',
275 text: 'Rozpocznij listę numerowaną.',
276 cls: Ext.baseCSSPrefix + 'html-editor-tip'
280 text: 'Przekształć zaznaczony tekst w hiperłącze.',
281 cls: Ext.baseCSSPrefix + 'html-editor-tip'
284 title: 'Edycja źródła',
285 text: 'Przełącz w tryb edycji źródła.',
286 cls: Ext.baseCSSPrefix + 'html-editor-tip'
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"
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'
310 if(Ext.grid.PropertyColumnModel){
311 Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
313 valueText : "Wartość",
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ć."