commit extjs-2.2.1
[extjs.git] / source / locale / ext-lang-ro.js
1 /**
2  * Romanian translations for ExtJS 2.1
3  * First released by Lucian Lature on 2007-04-24
4  * Changed locale for Romania (date formats) as suggested by keypoint
5  * on ExtJS forums: http://www.extjs.com/forum/showthread.php?p=129524#post129524
6  * Removed some useless parts
7  * Changed by: Emil Cazamir, 2008-04-24
8  * Fixed some errors left behind
9  * Changed by: Emil Cazamir, 2008-09-01
10  */
11
12 Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Încărcare...</div>';
13
14 if(Ext.grid.GridPanel){
15    Ext.grid.GridPanel.prototype.ddText = "{0} rând(uri) selectate";
16 }
17
18 if(Ext.TabPanelItem){
19    Ext.TabPanelItem.prototype.closeText = "Închide acest tab";
20 }
21
22 if(Ext.form.Field){
23    Ext.form.Field.prototype.invalidText = "Valoarea acestui câmp este invalidă";
24 }
25
26 if(Ext.LoadMask){
27     Ext.LoadMask.prototype.msg = "Încărcare...";
28 }
29
30 Date.monthNames = [
31    "Ianuarie",
32    "Februarie",
33    "Martie",
34    "Aprilie",
35    "Mai",
36    "Iunie",
37    "Iulie",
38    "August",
39    "Septembrie",
40    "Octombrie",
41    "Noiembrie",
42    "Decembrie"
43 ];
44
45 Date.getShortMonthName = function(month) {
46   return Date.monthNames[month].substring(0, 3);
47 };
48
49 Date.monthNumbers = {
50   Ian : 0,
51   Feb : 1,
52   Mar : 2,
53   Apr : 3,
54   Mai : 4,
55   Iun : 5,
56   Iul : 6,
57   Aug : 7,
58   Sep : 8,
59   Oct : 9,
60   Noi : 10,
61   Dec : 11
62 };
63
64 Date.getMonthNumber = function(name) {
65   return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
66 };
67
68 Date.dayNames = [
69    "Duminică",
70    "Luni",
71    "Marţi",
72    "Miercuri",
73    "Joi",
74    "Vineri",
75    "Sâmbătă"
76 ];
77
78 Date.getShortDayName = function(day) {
79   return Date.dayNames[day].substring(0, 3);
80 };
81
82 if(Ext.MessageBox){
83    Ext.MessageBox.buttonText = {
84       ok     : "OK",
85       cancel : "Renunţă",
86       yes    : "Da",
87       no     : "Nu"
88    };
89 }
90
91 if(Ext.util.Format){
92    Ext.util.Format.date = function(v, format){
93       if(!v) return "";
94       if(!(v instanceof Date)) v = new Date(Date.parse(v));
95       return v.dateFormat(format || "d.m.Y");
96    };
97 }
98
99 if(Ext.DatePicker){
100   Ext.apply(Ext.DatePicker.prototype, {
101     todayText         : "Astăzi",
102     minText           : "Această dată este anterioară datei minime",
103     maxText           : "Această dată este ulterioară datei maxime",
104     disabledDaysText  : "",
105     disabledDatesText : "",
106     monthNames        : Date.monthNames,
107     dayNames          : Date.dayNames,
108     nextText          : 'Luna următoare (Control+Dreapta)',
109     prevText          : 'Luna precedentă (Control+Stânga)',
110     monthYearText     : 'Alege o lună (Control+Sus/Jos pentru a parcurge anii)',
111     todayTip          : "{0} (Bara spațiu)",
112     format            : "d.m.Y",
113     okText            : "&#160;OK&#160;",
114     cancelText        : "Renunță",
115     startDay          : 0
116   });
117 }
118
119 if(Ext.PagingToolbar){
120   Ext.apply(Ext.PagingToolbar.prototype, {
121     beforePageText : "Pagina",
122     afterPageText  : "din {0}",
123     firstText      : "Prima pagină",
124     prevText       : "Pagina anterioară",
125     nextText       : "Pagina următoare",
126     lastText       : "Ultima pagină",
127     refreshText    : "Împrospătează",
128     displayMsg     : "Afișare înregistrările {0} - {1} din {2}",
129     emptyMsg       : 'Nu sunt date de afișat'
130   });
131 }
132
133 if(Ext.form.TextField){
134    Ext.apply(Ext.form.TextField.prototype, {
135       minLengthText : "Lungimea minimă pentru acest câmp este de {0}",
136       maxLengthText : "Lungimea maximă pentru acest câmp este {0}",
137       blankText     : "Acest câmp este obligatoriu",
138       regexText     : "",
139       emptyText     : null
140    });
141 }
142
143 if(Ext.form.NumberField){
144    Ext.apply(Ext.form.NumberField.prototype, {
145       minText : "Valoarea minimă permisă a acestui câmp este {0}",
146       maxText : "Valaorea maximă permisă a acestui câmp este {0}",
147       nanText : "{0} nu este un număr valid"
148    });
149 }
150
151 if(Ext.form.DateField){
152   Ext.apply(Ext.form.DateField.prototype, {
153     disabledDaysText  : "Indisponibil",
154     disabledDatesText : "Indisponibil",
155     minText           : "Data din această casetă trebuie să fie după {0}",
156     maxText           : "Data din această casetă trebuie să fie inainte de {0}",
157     invalidText       : "{0} nu este o dată validă, trebuie să fie în formatul {1}",
158     format            : "d.m.Y",
159     altFormats        : "d-m-Y|d.m.y|d-m-y|d.m|d-m|dm|d|Y-m-d"
160   });
161 }
162
163 if(Ext.form.ComboBox){
164   Ext.apply(Ext.form.ComboBox.prototype, {
165     loadingText       : "Încărcare...",
166     valueNotFoundText : undefined
167   });
168 }
169
170 if(Ext.form.VTypes){
171    Ext.apply(Ext.form.VTypes, {
172       emailText    : 'Acest câmp trebuie să conţină o adresă de e-mail în formatul "user@domeniu.com"',
173       urlText      : 'Acest câmp trebuie să conţină o adresă URL în formatul "http:/'+'/www.domeniu.com"',
174       alphaText    : 'Acest câmp trebuie să conţină doar litere şi _',
175       alphanumText : 'Acest câmp trebuie să conţină doar litere, cifre şi _'
176    });
177 }
178
179 if(Ext.form.HtmlEditor){
180   Ext.apply(Ext.form.HtmlEditor.prototype, {
181     createLinkText : 'Vă rugăm introduceti un URL pentru această legătură web:',
182     buttonTips : {
183       bold : {
184         title: 'Îngroşat (Ctrl+B)',
185         text: 'Îngroşati caracterele textului selectat.',
186         cls: 'x-html-editor-tip'
187       },
188       italic : {
189         title: 'Înclinat (Ctrl+I)',
190         text: 'Înclinaţi caracterele textului selectat.',
191         cls: 'x-html-editor-tip'
192       },
193       underline : {
194         title: 'Subliniat (Ctrl+U)',
195         text: 'Subliniaţi caracterele textului selectat.',
196         cls: 'x-html-editor-tip'
197       },
198       increasefontsize : {
199         title: 'Mărit',
200         text: 'Măreşte dimensiunea fontului.',
201         cls: 'x-html-editor-tip'
202       },
203       decreasefontsize : {
204         title: 'Micşorat',
205         text: 'Micşorează dimensiunea textului.',
206         cls: 'x-html-editor-tip'
207       },
208       backcolor : {
209         title: 'Culoarea fundalului',
210         text: 'Schimbă culoarea fundalului pentru textul selectat.',
211         cls: 'x-html-editor-tip'
212       },
213       forecolor : {
214         title: 'Culoarea textului',
215         text: 'Schimbă culoarea textului selectat.',
216         cls: 'x-html-editor-tip'
217       },
218       justifyleft : {
219         title: 'Aliniat la stânga',
220         text: 'Aliniază textul la stânga.',
221         cls: 'x-html-editor-tip'
222       },
223       justifycenter : {
224         title: 'Centrat',
225         text: 'Centrează textul în editor.',
226         cls: 'x-html-editor-tip'
227       },
228       justifyright : {
229         title: 'Aliniat la dreapta',
230         text: 'Aliniază textul la dreapta.',
231         cls: 'x-html-editor-tip'
232       },
233       insertunorderedlist : {
234         title: 'Listă cu puncte',
235         text: 'Inserează listă cu puncte.',
236         cls: 'x-html-editor-tip'
237       },
238       insertorderedlist : {
239         title: 'Listă numerotată',
240         text: 'Inserează o listă numerotată.',
241         cls: 'x-html-editor-tip'
242       },
243       createlink : {
244         title: 'Legătură web',
245         text: 'Transformă textul selectat în legătură web.',
246         cls: 'x-html-editor-tip'
247       },
248       sourceedit : {
249         title: 'Editare sursă',
250         text: 'Schimbă pe modul de editare al codului HTML.',
251         cls: 'x-html-editor-tip'
252       }
253     }
254   });
255 }
256
257
258 if(Ext.grid.GridView){
259    Ext.apply(Ext.grid.GridView.prototype, {
260       sortAscText  : "Sortare ascendentă",
261       sortDescText : "Sortare descendentă",
262       lockText     : "Blochează coloana",
263       unlockText   : "Deblochează coloana",
264       columnsText  : "Coloane"
265    });
266 }
267
268 if(Ext.grid.GroupingView){
269   Ext.apply(Ext.grid.GroupingView.prototype, {
270     emptyGroupText : '(Fără)',
271     groupByText    : 'Grupează după această coloană',
272     showGroupsText : 'Afișează grupat'
273   });
274 }
275
276 if(Ext.grid.PropertyColumnModel){
277   Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
278     nameText   : "Nume",
279     valueText  : "Valoare",
280     dateFormat : "d.m.Y"
281   });
282 }
283
284 if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
285    Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
286       splitTip            : "Trage pentru redimensionare.",
287       collapsibleSplitTip : "Trage pentru redimensionare. Dublu-click pentru ascundere."
288    });
289 }