X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/0494b8d9b9bb03ab6c22b34dae81261e3cd7e3e6..7a654f8d43fdb43d78b63d90528bed6e86b608cc:/locale/ext-lang-lt.js diff --git a/locale/ext-lang-lt.js b/locale/ext-lang-lt.js new file mode 100644 index 00000000..940a24ef --- /dev/null +++ b/locale/ext-lang-lt.js @@ -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 = '
Kraunasi...
'; + } + + 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 : " Gerai ", + 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