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