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