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