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