Upgrade to ExtJS 4.0.0 - Released 04/26/2011
[extjs.git] / locale / ext-lang-pl.js
diff --git a/locale/ext-lang-pl.js b/locale/ext-lang-pl.js
new file mode 100644 (file)
index 0000000..56e9c70
--- /dev/null
@@ -0,0 +1,310 @@
+/**
+ * Polish Translations
+ * By vbert 17-April-2007
+ * Updated by mmar 16-November-2007
+ * Encoding: utf-8
+ */
+Ext.onReady(function() {
+
+    if(Ext.Updater) {
+        Ext.Updater.defaults.indicatorText = '<div class="loading-indicator">Wczytywanie danych...</div>';
+    }
+
+    if(Ext.view.View){
+       Ext.view.View.prototype.emptyText = "";
+    }
+
+    if(Ext.grid.Panel){
+       Ext.grid.Panel.prototype.ddText = "{0} wybrano wiersze(y)";
+    }
+
+    if(Ext.TabPanelItem){
+       Ext.TabPanelItem.prototype.closeText = "Zamknij zakładkę";
+    }
+
+    if(Ext.form.field.Base){
+       Ext.form.field.Base.prototype.invalidText = "Wartość tego pola jest niewłaściwa";
+    }
+
+    if(Ext.LoadMask){
+        Ext.LoadMask.prototype.msg = "Wczytywanie danych...";
+    }
+
+    if(Ext.Date) {
+        Ext.Date.monthNames = [
+            "Styczeń",
+            "Luty",
+            "Marzec",
+            "Kwiecień",
+            "Maj",
+            "Czerwiec",
+            "Lipiec",
+            "Sierpień",
+            "Wrzesień",
+            "Październik",
+            "Listopad",
+            "Grudzień"
+        ];
+
+        Ext.Date.getShortMonthName = function(month) {
+          return Ext.Date.monthNames[month].substring(0, 3);
+        };
+
+        Ext.Date.monthNumbers = {
+          Sty : 0,
+          Lut : 1,
+          Mar : 2,
+          Kwi : 3,
+          Maj : 4,
+          Cze : 5,
+          Lip : 6,
+          Sie : 7,
+          Wrz : 8,
+          Paź : 9,
+          Lis : 10,
+          Gru : 11
+        };
+
+        Ext.Date.getMonthNumber = function(name) {
+          return Ext.Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
+        };
+
+        Ext.Date.dayNames = [
+            "Niedziela",
+            "Poniedziałek",
+            "Wtorek",
+            "Środa",
+            "Czwartek",
+            "Piątek",
+            "Sobota"
+        ];
+
+        Ext.Date.getShortDayName = function(day) {
+               switch(day) {
+                       case 0: return 'ndz';
+                       case 1: return 'pon';
+                       case 2: return 'wt';
+                       case 3: return 'śr';
+                       case 4: return 'czw';
+                       case 5: return 'pt';                            
+                       case 6: return 'sob';
+                        default: return '';
+               }
+        };
+    }
+    if(Ext.MessageBox){
+       Ext.MessageBox.buttonText = {
+          ok     : "OK",
+          cancel : "Anuluj",
+          yes    : "Tak",
+          no     : "Nie"
+       };
+    }
+
+    if(Ext.util.Format){
+        Ext.apply(Ext.util.Format, {
+            thousandSeparator: '.',
+            decimalSeparator: ',',
+            currencySign: '\u007a\u0142',  // Polish Zloty
+            dateFormat: 'Y-m-d'
+        });
+    }
+
+    if(Ext.picker.Date){
+       Ext.apply(Ext.picker.Date.prototype, {
+               startDay                        : 1,
+               todayText                       : "Dzisiaj",
+               minText                         : "Data jest wcześniejsza od daty minimalnej",
+               maxText                         : "Data jest późniejsza od daty maksymalnej",
+               disabledDaysText        : "",
+               disabledDatesText       : "",
+               monthNames                      : Ext.Date.monthNames,
+               dayNames                        : Ext.Date.dayNames,
+               nextText                        : "Następny miesiąc (Control+StrzałkaWPrawo)",
+               prevText                        : "Poprzedni miesiąc (Control+StrzałkaWLewo)",
+               monthYearText           : "Wybierz miesiąc (Control+Up/Down aby zmienić rok)",
+               todayTip                        : "{0} (Spacja)",
+               format                          : "Y-m-d",
+               startDay                : 1
+       });
+    }
+
+
+    if(Ext.picker.Month) {
+      Ext.apply(Ext.picker.Month.prototype, {
+            okText              : "&#160;OK&#160;",
+            cancelText          : "Anuluj"
+      });
+    }
+
+    if(Ext.toolbar.Paging){
+       Ext.apply(Ext.PagingToolbar.prototype, {
+               beforePageText  : "Strona",
+               afterPageText   : "z {0}",
+               firstText               : "Pierwsza strona",
+           prevText            : "Poprzednia strona",
+               nextText                : "Następna strona",
+           lastText            : "Ostatnia strona",
+               refreshText             : "Odśwież",
+           displayMsg          : "Wyświetlono {0} - {1} z {2}",
+               emptyMsg                : "Brak danych do wyświetlenia"
+       });
+    }
+
+    if(Ext.form.field.Text){
+       Ext.apply(Ext.form.field.Text.prototype, {
+           minLengthText       : "Minimalna ilość znaków dla tego pola to {0}",
+               maxLengthText   : "Maksymalna ilość znaków dla tego pola to {0}",
+           blankText           : "To pole jest wymagane",
+               regexText               : "",
+           emptyText           : null
+       });
+    }
+
+    if(Ext.form.field.Number){
+       Ext.apply(Ext.form.field.Number.prototype, {
+           minText     : "Minimalna wartość dla tego pola to {0}",
+           maxText     : "Maksymalna wartość dla tego pola to {0}",
+               nanText : "{0} to nie jest właściwa wartość"
+       });
+    }
+
+    if(Ext.form.field.Date){
+       Ext.apply(Ext.form.field.Date.prototype, {
+           disabledDaysText    : "Wyłączony",
+           disabledDatesText   : "Wyłączony",
+               minText                         : "Data w tym polu musi być późniejsza od {0}",
+           maxText                             : "Data w tym polu musi być wcześniejsza od {0}",
+               invalidText                     : "{0} to nie jest prawidłowa data - prawidłowy format daty {1}",
+           format                              : "Y-m-d",
+               altFormats          : "m/d/Y|m-d-y|m-d-Y|m/d|m-d|md|mdy|mdY|d|Y-m-d"
+       });
+    }
+
+    if(Ext.form.field.ComboBox){
+       Ext.apply(Ext.form.field.ComboBox.prototype, {
+               loadingText       : "Wczytuję...",
+               valueNotFoundText : undefined
+       });
+    }
+
+    if(Ext.form.field.VTypes){
+       Ext.apply(Ext.form.field.VTypes, {
+           emailText           : 'To pole wymaga podania adresu e-mail w formacie: "nazwa@domena.pl"',
+           urlText                     : 'To pole wymaga podania adresu strony www w formacie: "http:/'+'/www.domena.pl"',
+               alphaText               : 'To pole wymaga podania tylko liter i _',
+               alphanumText    : 'To pole wymaga podania tylko liter, cyfr i _'
+       });
+    }
+
+    if(Ext.form.field.HtmlEditor){
+      Ext.apply(Ext.form.field.HtmlEditor.prototype, {
+        createLinkText : 'Wprowadź adres URL strony:',
+        buttonTips : {
+          bold : {
+            title: 'Pogrubienie (Ctrl+B)',
+            text: 'Ustaw styl zaznaczonego tekstu na pogrubiony.',
+            cls: Ext.baseCSSPrefix + 'html-editor-tip'
+          },
+          italic : {
+            title: 'Kursywa (Ctrl+I)',
+            text: 'Ustaw styl zaznaczonego tekstu na kursywę.',
+            cls: Ext.baseCSSPrefix + 'html-editor-tip'
+          },
+          underline : {
+            title: 'Podkreślenie (Ctrl+U)',
+            text: 'Podkreśl zaznaczony tekst.',
+            cls: Ext.baseCSSPrefix + 'html-editor-tip'
+          },
+          increasefontsize : {
+            title: 'Zwiększ czcionkę',
+            text: 'Zwiększ rozmiar czcionki.',
+            cls: Ext.baseCSSPrefix + 'html-editor-tip'
+          },
+          decreasefontsize : {
+            title: 'Zmniejsz czcionkę',
+            text: 'Zmniejsz rozmiar czcionki.',
+            cls: Ext.baseCSSPrefix + 'html-editor-tip'
+          },
+          backcolor : {
+            title: 'Wyróżnienie',
+            text: 'Zmień kolor wyróżnienia zaznaczonego tekstu.',
+            cls: Ext.baseCSSPrefix + 'html-editor-tip'
+          },
+          forecolor : {
+            title: 'Kolor czcionki',
+            text: 'Zmień kolor zaznaczonego tekstu.',
+            cls: Ext.baseCSSPrefix + 'html-editor-tip'
+          },
+          justifyleft : {
+            title: 'Do lewej',
+            text: 'Wyrównaj tekst do lewej.',
+            cls: Ext.baseCSSPrefix + 'html-editor-tip'
+          },
+          justifycenter : {
+            title: 'Wyśrodkuj',
+            text: 'Wyrównaj tekst do środka.',
+            cls: Ext.baseCSSPrefix + 'html-editor-tip'
+          },
+          justifyright : {
+            title: 'Do prawej',
+            text: 'Wyrównaj tekst do prawej.',
+            cls: Ext.baseCSSPrefix + 'html-editor-tip'
+          },
+          insertunorderedlist : {
+            title: 'Lista wypunktowana',
+            text: 'Rozpocznij listę wypunktowaną.',
+            cls: Ext.baseCSSPrefix + 'html-editor-tip'
+          },
+          insertorderedlist : {
+            title: 'Lista numerowana',
+            text: 'Rozpocznij listę numerowaną.',
+            cls: Ext.baseCSSPrefix + 'html-editor-tip'
+          },
+          createlink : {
+            title: 'Hiperłącze',
+            text: 'Przekształć zaznaczony tekst w hiperłącze.',
+            cls: Ext.baseCSSPrefix + 'html-editor-tip'
+          },
+          sourceedit : {
+            title: 'Edycja źródła',
+            text: 'Przełącz w tryb edycji źródła.',
+            cls: Ext.baseCSSPrefix + 'html-editor-tip'
+          }
+        }
+      });
+    }
+
+    if(Ext.grid.header.Container){
+       Ext.apply(Ext.grid.header.Container.prototype, {
+           sortAscText         : "Sortuj rosnąco",
+           sortDescText        : "Sortuj malejąco",
+               lockText                : "Zablokuj kolumnę",
+           unlockText          : "Odblokuj kolumnę",
+               columnsText             : "Kolumny"
+       });
+    }
+
+    if(Ext.grid.GroupingFeature){
+      Ext.apply(Ext.grid.GroupingFeature.prototype, {
+        emptyGroupText : '(None)',
+        groupByText    : 'Grupuj po tym polu',
+        showGroupsText : 'Pokaż w grupach'
+      });
+    }
+
+    if(Ext.grid.PropertyColumnModel){
+       Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
+           nameText    : "Nazwa",
+           valueText   : "Wartość",
+               dateFormat      : "Y-m-d"
+       });
+    }
+
+    if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
+       Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
+           splitTip                    : "Przeciągnij aby zmienić rozmiar.",
+               collapsibleSplitTip     : "Przeciągnij aby zmienić rozmiar. Kliknij dwukrotnie aby ukryć."
+       });
+    }
+});
\ No newline at end of file