Upgrade to ExtJS 4.0.0 - Released 04/26/2011
[extjs.git] / locale / ext-lang-lt.js
1 /**
2  * Lithuanian Translations (UTF-8)
3  * Vladas Saulis (vladas at prodata dot lt),  03-29-2009
4  * Vladas Saulis (vladas at prodata dot lt),  10-18-2007
5  */
6 Ext.onReady(function(){
7     if(Ext.Updater){
8         Ext.Updater.defaults.indicatorText = '<div class="loading-indicator">Kraunasi...</div>';
9     }
10
11     if(Ext.view.View){
12         Ext.view.View.prototype.emptyText = "";
13     }
14
15     if(Ext.view.View){
16         Ext.view.View.prototype.emptyText = "";
17     }
18     if(Ext.grid.Panel){
19         Ext.grid.Panel.prototype.ddText = "{0} pažymėtų eilučių";
20     }
21
22     if(Ext.TabPanelItem){
23         Ext.TabPanelItem.prototype.closeText = "Uždaryti šią užsklandą";
24     }
25
26     if(Ext.form.field.Base){
27         Ext.form.field.Base.prototype.invalidText = "Šio lauko reikšmė neteisinga";
28     }
29
30     if(Ext.LoadMask){
31         Ext.LoadMask.prototype.msg = "Kraunasi...";
32     }
33
34     if(Ext.Date) {
35         Ext.Date.monthNames = [
36         "Sausis",
37         "Vasaris",
38         "Kovas",
39         "Balandis",
40         "Gegužė",
41         "Birželis",
42         "Liepa",
43         "Rugpjūtis",
44         "Rugsėjis",
45         "Spalis",
46         "Lapkritis",
47         "Gruodis"
48         ];
49
50         Ext.Date.getShortMonthName = function(month) {
51             // Uncommons
52             if (month == 7) return "Rgp";
53             if (month == 8) return "Rgs";
54             if (month == 11) return "Grd";
55             return Ext.Date.monthNames[month].substring(0, 3);
56         };
57
58         Ext.Date.monthNumbers = {
59             Sau : 0,
60             Vas : 1,
61             Kov : 2,
62             Bal : 3,
63             Geg : 4,
64             Bir : 5,
65             Lie : 6,
66             Rgp : 7,
67             Rgs : 8,
68             Spa : 9,
69             Lap : 10,
70             Grd : 11
71         };
72
73         Ext.Date.getMonthNumber = function(name) {
74
75             // Some uncommons
76             if (name == "Rugpjūtis") return 7;
77             if (name == "Rugsėjis") return 8;
78             if (name == "Gruodis") return 11;
79             return Ext.Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
80         };
81
82         Ext.Date.dayNames = [
83         "Sekmadienis",
84         "Pirmadienis",
85         "Antradienis",
86         "Trečiadienis",
87         "Ketvirtadienis",
88         "Penktadienis",
89         "Šeštadienis"
90         ];
91
92         Ext.Date.parseCodes.S.s = "(?:as|as|as|as)";
93
94         Ext.Date.getShortDayName = function(day) {
95             return Ext.Date.dayNames[day].substring(0, 3);
96         };
97     }
98     if(Ext.MessageBox){
99         Ext.MessageBox.buttonText = {
100             ok     : "Gerai",
101             cancel : "Atsisakyti",
102             yes    : "Taip",
103             no     : "Ne"
104         };
105     }
106
107     if(Ext.util.Format){
108         Ext.apply(Ext.util.Format, {
109             thousandSeparator: '.',
110             decimalSeparator: ',',
111             currencySign: 'Lt',  // Lithuanian Litai
112             dateFormat: 'Y-m-d'
113         });
114     }
115
116     if(Ext.picker.Date){
117         Ext.apply(Ext.picker.Date.prototype, {
118             todayText         : "Šiandien",
119             minText           : "Ši data yra mažesnė už leistiną",
120             maxText           : "Ši data yra didesnė už leistiną",
121             disabledDaysText  : "",
122             disabledDatesText : "",
123             monthNames        : Ext.Date.monthNames,
124             dayNames          : Ext.Date.dayNames,
125             nextText          : 'Kitas mėnuo (Control+Right)',
126             prevText          : 'Ankstesnis mėnuo (Control+Left)',
127             monthYearText     : 'Pasirinkti mėnesį (Control+Up/Down perėjimui tarp metų)',
128             todayTip          : "{0} (Tarpas)",
129             format            : "y-m-d",
130             startDay          : 1
131         });
132     }
133
134     if(Ext.picker.Month) {
135         Ext.apply(Ext.picker.Month.prototype, {
136             okText            : "&#160;Gerai&#160;",
137             cancelText        : "Atsisaktyi"
138         });
139     }
140
141     if(Ext.toolbar.Paging){
142         Ext.apply(Ext.PagingToolbar.prototype, {
143             beforePageText : "Puslapis",
144             afterPageText  : "iš {0}",
145             firstText      : "Pirmas puslapis",
146             prevText       : "Ankstesnis pusl.",
147             nextText       : "Kitas puslapis",
148             lastText       : "Pakutinis pusl.",
149             refreshText    : "Atnaujinti",
150             displayMsg     : "Rodomi įrašai {0} - {1} iš {2}",
151             emptyMsg       : 'Nėra duomenų'
152         });
153     }
154
155     if(Ext.form.field.Text){
156         Ext.apply(Ext.form.field.Text.prototype, {
157             minLengthText : "Minimalus šio lauko ilgis yra {0}",
158             maxLengthText : "Maksimalus šio lauko ilgis yra {0}",
159             blankText     : "Šis laukas yra privalomas",
160             regexText     : "",
161             emptyText     : null
162         });
163     }
164
165     if(Ext.form.field.Number){
166         Ext.apply(Ext.form.field.Number.prototype, {
167             minText : "Minimalus šio lauko ilgis yra {0}",
168             maxText : "Maksimalus šio lauko ilgis yra {0}",
169             nanText : "{0} yra neleistina reikšmė"
170         });
171     }
172
173     if(Ext.form.field.Date){
174         Ext.apply(Ext.form.field.Date.prototype, {
175             disabledDaysText  : "Neprieinama",
176             disabledDatesText : "Neprieinama",
177             minText           : "Šiame lauke data turi būti didesnė už {0}",
178             maxText           : "Šiame lauke data turi būti mažesnėė už {0}",
179             invalidText       : "{0} yra neteisinga data - ji turi būti įvesta formatu {1}",
180             format            : "y-m-d",
181             altFormats        : "y-m-d|y/m/d|Y-m-d|m/d|m-d|md|ymd|Ymd|d|Y-m-d"
182         });
183     }
184
185     if(Ext.form.field.ComboBox){
186         Ext.apply(Ext.form.field.ComboBox.prototype, {
187             loadingText       : "Kraunasi...",
188             valueNotFoundText : undefined
189         });
190     }
191
192     if(Ext.form.field.VTypes){
193         Ext.apply(Ext.form.field.VTypes, {
194             emailText    : 'Šiame lauke turi būti el.pašto adresas formatu "user@example.com"',
195             urlText      : 'Šiame lauke turi būti nuoroda (URL) formatu "http:/'+'/www.example.com"',
196             alphaText    : 'Šiame lauke gali būti tik raidės ir ženklas "_"',
197             alphanumText : 'Šiame lauke gali būti tik raidės, skaičiai ir ženklas "_"'
198         });
199     }
200
201     if(Ext.form.field.HtmlEditor){
202         Ext.apply(Ext.form.field.HtmlEditor.prototype, {
203             createLinkText : 'Įveskite URL šiai nuorodai:',
204             buttonTips : {
205                 bold : {
206                     title: 'Bold (Ctrl+B)',
207                     text: 'Teksto paryškinimas.',
208                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
209                 },
210                 italic : {
211                     title: 'Italic (Ctrl+I)',
212                     text: 'Kursyvinis tekstas.',
213                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
214                 },
215                 underline : {
216                     title: 'Underline (Ctrl+U)',
217                     text: 'Teksto pabraukimas.',
218                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
219                 },
220                 increasefontsize : {
221                     title: 'Padidinti šriftą',
222                     text: 'Padidinti šrifto dydį.',
223                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
224                 },
225                 decreasefontsize : {
226                     title: 'Sumažinti šriftą',
227                     text: 'Sumažinti šrifto dydį.',
228                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
229                 },
230                 backcolor : {
231                     title: 'Nuspalvinti teksto foną',
232                     text: 'Pakeisti teksto fono spalvą.',
233                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
234                 },
235                 forecolor : {
236                     title: 'Teksto spalva',
237                     text: 'Pakeisti pažymėto teksto spalvą.',
238                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
239                 },
240                 justifyleft : {
241                     title: 'Išlyginti kairen',
242                     text: 'Išlyginti tekstą į kairę.',
243                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
244                 },
245                 justifycenter : {
246                     title: 'Centruoti tekstą',
247                     text: 'Centruoti tektą redaktoriaus lange.',
248                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
249                 },
250                 justifyright : {
251                     title: 'Išlyginti dešinėn',
252                     text: 'Išlyginti tekstą į dešinę.',
253                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
254                 },
255                 insertunorderedlist : {
256                     title: 'Paprastas sąrašas',
257                     text: 'Pradėti neorganizuotą sąrašą.',
258                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
259                 },
260                 insertorderedlist : {
261                     title: 'Numeruotas sąrašas',
262                     text: 'Pradėti numeruotą sąrašą.',
263                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
264                 },
265                 createlink : {
266                     title: 'Nuoroda',
267                     text: 'Padaryti pažymėta tekstą nuoroda.',
268                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
269                 },
270                 sourceedit : {
271                     title: 'Išeities tekstas',
272                     text: 'Persijungti į išeities teksto koregavimo režimą.',
273                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
274                 }
275             }
276         });
277     }
278
279     if(Ext.form.Basic){
280         Ext.form.Basic.prototype.waitTitle = "Palaukite...";
281     }
282
283     if(Ext.grid.header.Container){
284         Ext.apply(Ext.grid.header.Container.prototype, {
285             sortAscText  : "Rūšiuoti didėjančia tvarka",
286             sortDescText : "Rūšiuoti mažėjančia tvarka",
287             lockText     : "Užfiksuoti stulpelį",
288             unlockText   : "Atlaisvinti stulpelį",
289             columnsText  : "Stulpeliai"
290         });
291     }
292
293     if(Ext.grid.GroupingFeature){
294         Ext.apply(Ext.grid.GroupingFeature.prototype, {
295             emptyGroupText : '(Nėra)',
296             groupByText    : 'Grupuoti pagal šį lauką',
297             showGroupsText : 'Rodyti grupėse'
298         });
299     }
300
301     if(Ext.grid.PropertyColumnModel){
302         Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
303             nameText   : "Pavadinimas",
304             valueText  : "Reikšmė",
305             dateFormat : "Y-m-d"
306         });
307     }
308
309     if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
310         Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
311             splitTip            : "Patraukite juostelę.",
312             collapsibleSplitTip : "Patraukite juostelę arba Paspauskite dvigubai kad paslėpti."
313         });
314     }
315
316     if(Ext.form.field.Time){
317         Ext.apply(Ext.form.field.Time.prototype, {
318             minText : "Laikas turi buti lygus arba vėlesnis už {0}",
319             maxText : "Laikas turi būti lygus arba ankstesnis už {0}",
320             invalidText : "{0} yra neteisingas laikas",
321             format : "H:i",
322             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"
323         });
324     }
325
326     if(Ext.form.CheckboxGroup){
327         Ext.apply(Ext.form.CheckboxGroup.prototype, {
328             blankText : "Jūs turite padaryti bent vieną pasirinkimą šioje grupėje"
329         });
330     }
331
332     if(Ext.form.RadioGroup){
333         Ext.apply(Ext.form.RadioGroup.prototype, {
334             blankText : "Jūs turite padaryti bent vieną pasirinkimą šioje grupėje"
335         });
336     }
337 });