Upgrade to ExtJS 4.0.2 - Released 06/09/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             loadingText       : "Kraunasi...",
202             valueNotFoundText : undefined
203         });
204     }
205
206     if(Ext.form.field.VTypes){
207         Ext.apply(Ext.form.field.VTypes, {
208             emailText    : 'Šiame lauke turi būti el.pašto adresas formatu "user@example.com"',
209             urlText      : 'Šiame lauke turi būti nuoroda (URL) formatu "http:/'+'/www.example.com"',
210             alphaText    : 'Šiame lauke gali būti tik raidės ir ženklas "_"',
211             alphanumText : 'Šiame lauke gali būti tik raidės, skaičiai ir ženklas "_"'
212         });
213     }
214
215     if(Ext.form.field.HtmlEditor){
216         Ext.apply(Ext.form.field.HtmlEditor.prototype, {
217             createLinkText : 'Įveskite URL šiai nuorodai:',
218             buttonTips : {
219                 bold : {
220                     title: 'Bold (Ctrl+B)',
221                     text: 'Teksto paryškinimas.',
222                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
223                 },
224                 italic : {
225                     title: 'Italic (Ctrl+I)',
226                     text: 'Kursyvinis tekstas.',
227                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
228                 },
229                 underline : {
230                     title: 'Underline (Ctrl+U)',
231                     text: 'Teksto pabraukimas.',
232                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
233                 },
234                 increasefontsize : {
235                     title: 'Padidinti šriftą',
236                     text: 'Padidinti šrifto dydį.',
237                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
238                 },
239                 decreasefontsize : {
240                     title: 'Sumažinti šriftą',
241                     text: 'Sumažinti šrifto dydį.',
242                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
243                 },
244                 backcolor : {
245                     title: 'Nuspalvinti teksto foną',
246                     text: 'Pakeisti teksto fono spalvą.',
247                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
248                 },
249                 forecolor : {
250                     title: 'Teksto spalva',
251                     text: 'Pakeisti pažymėto teksto spalvą.',
252                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
253                 },
254                 justifyleft : {
255                     title: 'Išlyginti kairen',
256                     text: 'Išlyginti tekstą į kairę.',
257                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
258                 },
259                 justifycenter : {
260                     title: 'Centruoti tekstą',
261                     text: 'Centruoti tektą redaktoriaus lange.',
262                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
263                 },
264                 justifyright : {
265                     title: 'Išlyginti dešinėn',
266                     text: 'Išlyginti tekstą į dešinę.',
267                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
268                 },
269                 insertunorderedlist : {
270                     title: 'Paprastas sąrašas',
271                     text: 'Pradėti neorganizuotą sąrašą.',
272                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
273                 },
274                 insertorderedlist : {
275                     title: 'Numeruotas sąrašas',
276                     text: 'Pradėti numeruotą sąrašą.',
277                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
278                 },
279                 createlink : {
280                     title: 'Nuoroda',
281                     text: 'Padaryti pažymėta tekstą nuoroda.',
282                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
283                 },
284                 sourceedit : {
285                     title: 'Išeities tekstas',
286                     text: 'Persijungti į išeities teksto koregavimo režimą.',
287                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
288                 }
289             }
290         });
291     }
292
293     if(Ext.form.Basic){
294         Ext.form.Basic.prototype.waitTitle = "Palaukite...";
295     }
296
297     if(Ext.grid.header.Container){
298         Ext.apply(Ext.grid.header.Container.prototype, {
299             sortAscText  : "Rūšiuoti didėjančia tvarka",
300             sortDescText : "Rūšiuoti mažėjančia tvarka",
301             lockText     : "Užfiksuoti stulpelį",
302             unlockText   : "Atlaisvinti stulpelį",
303             columnsText  : "Stulpeliai"
304         });
305     }
306
307     if(Ext.grid.GroupingFeature){
308         Ext.apply(Ext.grid.GroupingFeature.prototype, {
309             emptyGroupText : '(Nėra)',
310             groupByText    : 'Grupuoti pagal šį lauką',
311             showGroupsText : 'Rodyti grupėse'
312         });
313     }
314
315     if(Ext.grid.PropertyColumnModel){
316         Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
317             nameText   : "Pavadinimas",
318             valueText  : "Reikšmė",
319             dateFormat : "Y-m-d"
320         });
321     }
322
323     if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
324         Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
325             splitTip            : "Patraukite juostelę.",
326             collapsibleSplitTip : "Patraukite juostelę arba Paspauskite dvigubai kad paslėpti."
327         });
328     }
329
330     if(Ext.form.field.Time){
331         Ext.apply(Ext.form.field.Time.prototype, {
332             minText : "Laikas turi buti lygus arba vėlesnis už {0}",
333             maxText : "Laikas turi būti lygus arba ankstesnis už {0}",
334             invalidText : "{0} yra neteisingas laikas",
335             format : "H:i",
336             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"
337         });
338     }
339
340     if(Ext.form.CheckboxGroup){
341         Ext.apply(Ext.form.CheckboxGroup.prototype, {
342             blankText : "Jūs turite padaryti bent vieną pasirinkimą šioje grupėje"
343         });
344     }
345
346     if(Ext.form.RadioGroup){
347         Ext.apply(Ext.form.RadioGroup.prototype, {
348             blankText : "Jūs turite padaryti bent vieną pasirinkimą šioje grupėje"
349         });
350     }
351 });