Upgrade to ExtJS 4.0.7 - Released 10/19/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         valueNotFoundText : undefined
191       });
192         Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
193             loadingText       : "Încărcare..."
194         });
195     }
196
197     if(Ext.form.field.VTypes){
198        Ext.apply(Ext.form.field.VTypes, {
199           emailText    : 'Acest câmp trebuie să conţină o adresă de e-mail în formatul "user@domeniu.com"',
200           urlText      : 'Acest câmp trebuie să conţină o adresă URL în formatul "http:/'+'/www.domeniu.com"',
201           alphaText    : 'Acest câmp trebuie să conţină doar litere şi _',
202           alphanumText : 'Acest câmp trebuie să conţină doar litere, cifre şi _'
203        });
204     }
205
206     if(Ext.form.field.HtmlEditor){
207       Ext.apply(Ext.form.field.HtmlEditor.prototype, {
208         createLinkText : 'Vă rugăm introduceti un URL pentru această legătură web:',
209         buttonTips : {
210           bold : {
211             title: 'Îngroşat (Ctrl+B)',
212             text: 'Îngroşati caracterele textului selectat.',
213             cls: Ext.baseCSSPrefix + 'html-editor-tip'
214           },
215           italic : {
216             title: 'Înclinat (Ctrl+I)',
217             text: 'Înclinaţi caracterele textului selectat.',
218             cls: Ext.baseCSSPrefix + 'html-editor-tip'
219           },
220           underline : {
221             title: 'Subliniat (Ctrl+U)',
222             text: 'Subliniaţi caracterele textului selectat.',
223             cls: Ext.baseCSSPrefix + 'html-editor-tip'
224           },
225           increasefontsize : {
226             title: 'Mărit',
227             text: 'Măreşte dimensiunea fontului.',
228             cls: Ext.baseCSSPrefix + 'html-editor-tip'
229           },
230           decreasefontsize : {
231             title: 'Micşorat',
232             text: 'Micşorează dimensiunea textului.',
233             cls: Ext.baseCSSPrefix + 'html-editor-tip'
234           },
235           backcolor : {
236             title: 'Culoarea fundalului',
237             text: 'Schimbă culoarea fundalului pentru textul selectat.',
238             cls: Ext.baseCSSPrefix + 'html-editor-tip'
239           },
240           forecolor : {
241             title: 'Culoarea textului',
242             text: 'Schimbă culoarea textului selectat.',
243             cls: Ext.baseCSSPrefix + 'html-editor-tip'
244           },
245           justifyleft : {
246             title: 'Aliniat la stânga',
247             text: 'Aliniază textul la stânga.',
248             cls: Ext.baseCSSPrefix + 'html-editor-tip'
249           },
250           justifycenter : {
251             title: 'Centrat',
252             text: 'Centrează textul în editor.',
253             cls: Ext.baseCSSPrefix + 'html-editor-tip'
254           },
255           justifyright : {
256             title: 'Aliniat la dreapta',
257             text: 'Aliniază textul la dreapta.',
258             cls: Ext.baseCSSPrefix + 'html-editor-tip'
259           },
260           insertunorderedlist : {
261             title: 'Listă cu puncte',
262             text: 'Inserează listă cu puncte.',
263             cls: Ext.baseCSSPrefix + 'html-editor-tip'
264           },
265           insertorderedlist : {
266             title: 'Listă numerotată',
267             text: 'Inserează o listă numerotată.',
268             cls: Ext.baseCSSPrefix + 'html-editor-tip'
269           },
270           createlink : {
271             title: 'Legătură web',
272             text: 'Transformă textul selectat în legătură web.',
273             cls: Ext.baseCSSPrefix + 'html-editor-tip'
274           },
275           sourceedit : {
276             title: 'Editare sursă',
277             text: 'Schimbă pe modul de editare al codului HTML.',
278             cls: Ext.baseCSSPrefix + 'html-editor-tip'
279           }
280         }
281       });
282     }
283
284
285     if(Ext.grid.header.Container){
286        Ext.apply(Ext.grid.header.Container.prototype, {
287           sortAscText  : "Sortare ascendentă",
288           sortDescText : "Sortare descendentă",
289           lockText     : "Blochează coloana",
290           unlockText   : "Deblochează coloana",
291           columnsText  : "Coloane"
292        });
293     }
294
295     if(Ext.grid.GroupingFeature){
296       Ext.apply(Ext.grid.GroupingFeature.prototype, {
297         emptyGroupText : '(Fără)',
298         groupByText    : 'Grupează după această coloană',
299         showGroupsText : 'Afișează grupat'
300       });
301     }
302
303     if(Ext.grid.PropertyColumnModel){
304       Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
305         nameText   : "Nume",
306         valueText  : "Valoare",
307         dateFormat : "d.m.Y"
308       });
309     }
310
311     if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
312        Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
313           splitTip            : "Trage pentru redimensionare.",
314           collapsibleSplitTip : "Trage pentru redimensionare. Dublu-click pentru ascundere."
315        });
316     }
317 });