Upgrade to ExtJS 4.0.0 - Released 04/26/2011
[extjs.git] / locale / ext-lang-lt.js
diff --git a/locale/ext-lang-lt.js b/locale/ext-lang-lt.js
new file mode 100644 (file)
index 0000000..940a24e
--- /dev/null
@@ -0,0 +1,337 @@
+/**
+ * Lithuanian Translations (UTF-8)
+ * Vladas Saulis (vladas at prodata dot lt),  03-29-2009
+ * Vladas Saulis (vladas at prodata dot lt),  10-18-2007
+ */
+Ext.onReady(function(){
+    if(Ext.Updater){
+        Ext.Updater.defaults.indicatorText = '<div class="loading-indicator">Kraunasi...</div>';
+    }
+
+    if(Ext.view.View){
+        Ext.view.View.prototype.emptyText = "";
+    }
+
+    if(Ext.view.View){
+        Ext.view.View.prototype.emptyText = "";
+    }
+    if(Ext.grid.Panel){
+        Ext.grid.Panel.prototype.ddText = "{0} pažymėtų eilučių";
+    }
+
+    if(Ext.TabPanelItem){
+        Ext.TabPanelItem.prototype.closeText = "Uždaryti šią užsklandą";
+    }
+
+    if(Ext.form.field.Base){
+        Ext.form.field.Base.prototype.invalidText = "Šio lauko reikšmė neteisinga";
+    }
+
+    if(Ext.LoadMask){
+        Ext.LoadMask.prototype.msg = "Kraunasi...";
+    }
+
+    if(Ext.Date) {
+        Ext.Date.monthNames = [
+        "Sausis",
+        "Vasaris",
+        "Kovas",
+        "Balandis",
+        "Gegužė",
+        "Birželis",
+        "Liepa",
+        "Rugpjūtis",
+        "Rugsėjis",
+        "Spalis",
+        "Lapkritis",
+        "Gruodis"
+        ];
+
+        Ext.Date.getShortMonthName = function(month) {
+            // Uncommons
+            if (month == 7) return "Rgp";
+            if (month == 8) return "Rgs";
+            if (month == 11) return "Grd";
+            return Ext.Date.monthNames[month].substring(0, 3);
+        };
+
+        Ext.Date.monthNumbers = {
+            Sau : 0,
+            Vas : 1,
+            Kov : 2,
+            Bal : 3,
+            Geg : 4,
+            Bir : 5,
+            Lie : 6,
+            Rgp : 7,
+            Rgs : 8,
+            Spa : 9,
+            Lap : 10,
+            Grd : 11
+        };
+
+        Ext.Date.getMonthNumber = function(name) {
+
+            // Some uncommons
+            if (name == "Rugpjūtis") return 7;
+            if (name == "Rugsėjis") return 8;
+            if (name == "Gruodis") return 11;
+            return Ext.Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
+        };
+
+        Ext.Date.dayNames = [
+        "Sekmadienis",
+        "Pirmadienis",
+        "Antradienis",
+        "Trečiadienis",
+        "Ketvirtadienis",
+        "Penktadienis",
+        "Šeštadienis"
+        ];
+
+        Ext.Date.parseCodes.S.s = "(?:as|as|as|as)";
+
+        Ext.Date.getShortDayName = function(day) {
+            return Ext.Date.dayNames[day].substring(0, 3);
+        };
+    }
+    if(Ext.MessageBox){
+        Ext.MessageBox.buttonText = {
+            ok     : "Gerai",
+            cancel : "Atsisakyti",
+            yes    : "Taip",
+            no     : "Ne"
+        };
+    }
+
+    if(Ext.util.Format){
+        Ext.apply(Ext.util.Format, {
+            thousandSeparator: '.',
+            decimalSeparator: ',',
+            currencySign: 'Lt',  // Lithuanian Litai
+            dateFormat: 'Y-m-d'
+        });
+    }
+
+    if(Ext.picker.Date){
+        Ext.apply(Ext.picker.Date.prototype, {
+            todayText         : "Šiandien",
+            minText           : "Ši data yra mažesnė už leistiną",
+            maxText           : "Ši data yra didesnė už leistiną",
+            disabledDaysText  : "",
+            disabledDatesText : "",
+            monthNames        : Ext.Date.monthNames,
+            dayNames          : Ext.Date.dayNames,
+            nextText          : 'Kitas mėnuo (Control+Right)',
+            prevText          : 'Ankstesnis mėnuo (Control+Left)',
+            monthYearText     : 'Pasirinkti mėnesį (Control+Up/Down perėjimui tarp metų)',
+            todayTip          : "{0} (Tarpas)",
+            format            : "y-m-d",
+            startDay          : 1
+        });
+    }
+
+    if(Ext.picker.Month) {
+        Ext.apply(Ext.picker.Month.prototype, {
+            okText            : "&#160;Gerai&#160;",
+            cancelText        : "Atsisaktyi"
+        });
+    }
+
+    if(Ext.toolbar.Paging){
+        Ext.apply(Ext.PagingToolbar.prototype, {
+            beforePageText : "Puslapis",
+            afterPageText  : "iš {0}",
+            firstText      : "Pirmas puslapis",
+            prevText       : "Ankstesnis pusl.",
+            nextText       : "Kitas puslapis",
+            lastText       : "Pakutinis pusl.",
+            refreshText    : "Atnaujinti",
+            displayMsg     : "Rodomi įrašai {0} - {1} iš {2}",
+            emptyMsg       : 'Nėra duomenų'
+        });
+    }
+
+    if(Ext.form.field.Text){
+        Ext.apply(Ext.form.field.Text.prototype, {
+            minLengthText : "Minimalus šio lauko ilgis yra {0}",
+            maxLengthText : "Maksimalus šio lauko ilgis yra {0}",
+            blankText     : "Šis laukas yra privalomas",
+            regexText     : "",
+            emptyText     : null
+        });
+    }
+
+    if(Ext.form.field.Number){
+        Ext.apply(Ext.form.field.Number.prototype, {
+            minText : "Minimalus šio lauko ilgis yra {0}",
+            maxText : "Maksimalus šio lauko ilgis yra {0}",
+            nanText : "{0} yra neleistina reikšmė"
+        });
+    }
+
+    if(Ext.form.field.Date){
+        Ext.apply(Ext.form.field.Date.prototype, {
+            disabledDaysText  : "Neprieinama",
+            disabledDatesText : "Neprieinama",
+            minText           : "Šiame lauke data turi būti didesnė už {0}",
+            maxText           : "Šiame lauke data turi būti mažesnėė už {0}",
+            invalidText       : "{0} yra neteisinga data - ji turi būti įvesta formatu {1}",
+            format            : "y-m-d",
+            altFormats        : "y-m-d|y/m/d|Y-m-d|m/d|m-d|md|ymd|Ymd|d|Y-m-d"
+        });
+    }
+
+    if(Ext.form.field.ComboBox){
+        Ext.apply(Ext.form.field.ComboBox.prototype, {
+            loadingText       : "Kraunasi...",
+            valueNotFoundText : undefined
+        });
+    }
+
+    if(Ext.form.field.VTypes){
+        Ext.apply(Ext.form.field.VTypes, {
+            emailText    : 'Šiame lauke turi būti el.pašto adresas formatu "user@example.com"',
+            urlText      : 'Šiame lauke turi būti nuoroda (URL) formatu "http:/'+'/www.example.com"',
+            alphaText    : 'Šiame lauke gali būti tik raidės ir ženklas "_"',
+            alphanumText : 'Šiame lauke gali būti tik raidės, skaičiai ir ženklas "_"'
+        });
+    }
+
+    if(Ext.form.field.HtmlEditor){
+        Ext.apply(Ext.form.field.HtmlEditor.prototype, {
+            createLinkText : 'Įveskite URL šiai nuorodai:',
+            buttonTips : {
+                bold : {
+                    title: 'Bold (Ctrl+B)',
+                    text: 'Teksto paryškinimas.',
+                    cls: Ext.baseCSSPrefix + 'html-editor-tip'
+                },
+                italic : {
+                    title: 'Italic (Ctrl+I)',
+                    text: 'Kursyvinis tekstas.',
+                    cls: Ext.baseCSSPrefix + 'html-editor-tip'
+                },
+                underline : {
+                    title: 'Underline (Ctrl+U)',
+                    text: 'Teksto pabraukimas.',
+                    cls: Ext.baseCSSPrefix + 'html-editor-tip'
+                },
+                increasefontsize : {
+                    title: 'Padidinti šriftą',
+                    text: 'Padidinti šrifto dydį.',
+                    cls: Ext.baseCSSPrefix + 'html-editor-tip'
+                },
+                decreasefontsize : {
+                    title: 'Sumažinti šriftą',
+                    text: 'Sumažinti šrifto dydį.',
+                    cls: Ext.baseCSSPrefix + 'html-editor-tip'
+                },
+                backcolor : {
+                    title: 'Nuspalvinti teksto foną',
+                    text: 'Pakeisti teksto fono spalvą.',
+                    cls: Ext.baseCSSPrefix + 'html-editor-tip'
+                },
+                forecolor : {
+                    title: 'Teksto spalva',
+                    text: 'Pakeisti pažymėto teksto spalvą.',
+                    cls: Ext.baseCSSPrefix + 'html-editor-tip'
+                },
+                justifyleft : {
+                    title: 'Išlyginti kairen',
+                    text: 'Išlyginti tekstą į kairę.',
+                    cls: Ext.baseCSSPrefix + 'html-editor-tip'
+                },
+                justifycenter : {
+                    title: 'Centruoti tekstą',
+                    text: 'Centruoti tektą redaktoriaus lange.',
+                    cls: Ext.baseCSSPrefix + 'html-editor-tip'
+                },
+                justifyright : {
+                    title: 'Išlyginti dešinėn',
+                    text: 'Išlyginti tekstą į dešinę.',
+                    cls: Ext.baseCSSPrefix + 'html-editor-tip'
+                },
+                insertunorderedlist : {
+                    title: 'Paprastas sąrašas',
+                    text: 'Pradėti neorganizuotą sąrašą.',
+                    cls: Ext.baseCSSPrefix + 'html-editor-tip'
+                },
+                insertorderedlist : {
+                    title: 'Numeruotas sąrašas',
+                    text: 'Pradėti numeruotą sąrašą.',
+                    cls: Ext.baseCSSPrefix + 'html-editor-tip'
+                },
+                createlink : {
+                    title: 'Nuoroda',
+                    text: 'Padaryti pažymėta tekstą nuoroda.',
+                    cls: Ext.baseCSSPrefix + 'html-editor-tip'
+                },
+                sourceedit : {
+                    title: 'Išeities tekstas',
+                    text: 'Persijungti į išeities teksto koregavimo režimą.',
+                    cls: Ext.baseCSSPrefix + 'html-editor-tip'
+                }
+            }
+        });
+    }
+
+    if(Ext.form.Basic){
+        Ext.form.Basic.prototype.waitTitle = "Palaukite...";
+    }
+
+    if(Ext.grid.header.Container){
+        Ext.apply(Ext.grid.header.Container.prototype, {
+            sortAscText  : "Rūšiuoti didėjančia tvarka",
+            sortDescText : "Rūšiuoti mažėjančia tvarka",
+            lockText     : "Užfiksuoti stulpelį",
+            unlockText   : "Atlaisvinti stulpelį",
+            columnsText  : "Stulpeliai"
+        });
+    }
+
+    if(Ext.grid.GroupingFeature){
+        Ext.apply(Ext.grid.GroupingFeature.prototype, {
+            emptyGroupText : '(Nėra)',
+            groupByText    : 'Grupuoti pagal šį lauką',
+            showGroupsText : 'Rodyti grupėse'
+        });
+    }
+
+    if(Ext.grid.PropertyColumnModel){
+        Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
+            nameText   : "Pavadinimas",
+            valueText  : "Reikšmė",
+            dateFormat : "Y-m-d"
+        });
+    }
+
+    if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
+        Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
+            splitTip            : "Patraukite juostelę.",
+            collapsibleSplitTip : "Patraukite juostelę arba Paspauskite dvigubai kad paslėpti."
+        });
+    }
+
+    if(Ext.form.field.Time){
+        Ext.apply(Ext.form.field.Time.prototype, {
+            minText : "Laikas turi buti lygus arba vėlesnis už {0}",
+            maxText : "Laikas turi būti lygus arba ankstesnis už {0}",
+            invalidText : "{0} yra neteisingas laikas",
+            format : "H:i",
+            altFormats : "g:ia|g:iA|g:i a|g:i A|h:i|g:i|H:i|ga|ha|gA|h a|g a|g A|gi|hi|gia|hia|g|H"
+        });
+    }
+
+    if(Ext.form.CheckboxGroup){
+        Ext.apply(Ext.form.CheckboxGroup.prototype, {
+            blankText : "Jūs turite padaryti bent vieną pasirinkimą šioje grupėje"
+        });
+    }
+
+    if(Ext.form.RadioGroup){
+        Ext.apply(Ext.form.RadioGroup.prototype, {
+            blankText : "Jūs turite padaryti bent vieną pasirinkimą šioje grupėje"
+        });
+    }
+});
\ No newline at end of file