source: trunk/web/addons/job_monarch/lib/extjs-30/src/locale/ext-lang-ro.js @ 625

Last change on this file since 625 was 625, checked in by ramonb, 15 years ago

lib/extjs-30:

  • new ExtJS 3.0
File size: 8.2 KB
Line 
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 * 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
18Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Încărcare...</div>';
19
20if(Ext.grid.GridPanel){
21   Ext.grid.GridPanel.prototype.ddText = "{0} rând(uri) selectate";
22}
23
24if(Ext.TabPanelItem){
25   Ext.TabPanelItem.prototype.closeText = "Închide acest tab";
26}
27
28if(Ext.form.Field){
29   Ext.form.Field.prototype.invalidText = "Valoarea acestui câmp este invalidă";
30}
31
32if(Ext.LoadMask){
33    Ext.LoadMask.prototype.msg = "Încărcare...";
34}
35
36Date.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
51Date.getShortMonthName = function(month) {
52  return Date.monthNames[month].substring(0, 3);
53};
54
55Date.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
70Date.getMonthNumber = function(name) {
71  return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
72};
73
74Date.dayNames = [
75   "Duminică",
76   "Luni",
77   "Marţi",
78   "Miercuri",
79   "Joi",
80   "Vineri",
81   "Sâmbătă"
82];
83
84Date.getShortDayName = function(day) {
85  return Date.dayNames[day].substring(0, 3);
86};
87
88if(Ext.MessageBox){
89   Ext.MessageBox.buttonText = {
90      ok     : "OK",
91      cancel : "Renunţă",
92      yes    : "Da",
93      no     : "Nu"
94   };
95}
96
97if(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
105if(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
125if(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
139if(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
149if(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
157if(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  });
167}
168
169if(Ext.form.ComboBox){
170  Ext.apply(Ext.form.ComboBox.prototype, {
171    loadingText       : "Încărcare...",
172    valueNotFoundText : undefined
173  });
174}
175
176if(Ext.form.VTypes){
177   Ext.apply(Ext.form.VTypes, {
178      emailText    : 'Acest câmp trebuie să conţină o adresă de e-mail în formatul "user@domeniu.com"',
179      urlText      : 'Acest câmp trebuie să conţină o adresă URL în formatul "http:/'+'/www.domeniu.com"',
180      alphaText    : 'Acest câmp trebuie să conţină doar litere şi _',
181      alphanumText : 'Acest câmp trebuie să conţină doar litere, cifre şi _'
182   });
183}
184
185if(Ext.form.HtmlEditor){
186  Ext.apply(Ext.form.HtmlEditor.prototype, {
187    createLinkText : 'Vă rugăm introduceti un URL pentru această legătură web:',
188    buttonTips : {
189      bold : {
190        title: 'Îngroşat (Ctrl+B)',
191        text: 'Îngroşati caracterele textului selectat.',
192        cls: 'x-html-editor-tip'
193      },
194      italic : {
195        title: 'Înclinat (Ctrl+I)',
196        text: 'Înclinaţi caracterele textului selectat.',
197        cls: 'x-html-editor-tip'
198      },
199      underline : {
200        title: 'Subliniat (Ctrl+U)',
201        text: 'Subliniaţi caracterele textului selectat.',
202        cls: 'x-html-editor-tip'
203      },
204      increasefontsize : {
205        title: 'Mărit',
206        text: 'Măreşte dimensiunea fontului.',
207        cls: 'x-html-editor-tip'
208      },
209      decreasefontsize : {
210        title: 'Micşorat',
211        text: 'Micşorează dimensiunea textului.',
212        cls: 'x-html-editor-tip'
213      },
214      backcolor : {
215        title: 'Culoarea fundalului',
216        text: 'Schimbă culoarea fundalului pentru textul selectat.',
217        cls: 'x-html-editor-tip'
218      },
219      forecolor : {
220        title: 'Culoarea textului',
221        text: 'Schimbă culoarea textului selectat.',
222        cls: 'x-html-editor-tip'
223      },
224      justifyleft : {
225        title: 'Aliniat la stânga',
226        text: 'Aliniază textul la stânga.',
227        cls: 'x-html-editor-tip'
228      },
229      justifycenter : {
230        title: 'Centrat',
231        text: 'Centrează textul în editor.',
232        cls: 'x-html-editor-tip'
233      },
234      justifyright : {
235        title: 'Aliniat la dreapta',
236        text: 'Aliniază textul la dreapta.',
237        cls: 'x-html-editor-tip'
238      },
239      insertunorderedlist : {
240        title: 'Listă cu puncte',
241        text: 'Inserează listă cu puncte.',
242        cls: 'x-html-editor-tip'
243      },
244      insertorderedlist : {
245        title: 'Listă numerotată',
246        text: 'Inserează o listă numerotată.',
247        cls: 'x-html-editor-tip'
248      },
249      createlink : {
250        title: 'Legătură web',
251        text: 'Transformă textul selectat în legătură web.',
252        cls: 'x-html-editor-tip'
253      },
254      sourceedit : {
255        title: 'Editare sursă',
256        text: 'Schimbă pe modul de editare al codului HTML.',
257        cls: 'x-html-editor-tip'
258      }
259    }
260  });
261}
262
263
264if(Ext.grid.GridView){
265   Ext.apply(Ext.grid.GridView.prototype, {
266      sortAscText  : "Sortare ascendentă",
267      sortDescText : "Sortare descendentă",
268      lockText     : "Blochează coloana",
269      unlockText   : "Deblochează coloana",
270      columnsText  : "Coloane"
271   });
272}
273
274if(Ext.grid.GroupingView){
275  Ext.apply(Ext.grid.GroupingView.prototype, {
276    emptyGroupText : '(Fără)',
277    groupByText    : 'Grupează după această coloană',
278    showGroupsText : 'Afișează grupat'
279  });
280}
281
282if(Ext.grid.PropertyColumnModel){
283  Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
284    nameText   : "Nume",
285    valueText  : "Valoare",
286    dateFormat : "d.m.Y"
287  });
288}
289
290if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
291   Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
292      splitTip            : "Trage pentru redimensionare.",
293      collapsibleSplitTip : "Trage pentru redimensionare. Dublu-click pentru ascundere."
294   });
295}
Note: See TracBrowser for help on using the repository browser.