Upgrade to ExtJS 3.0.0 - Released 07/06/2009
[extjs.git] / docs / source / ext-lang-ro.html
1 <html>\r
2 <head>\r
3   <title>The source code</title>\r
4     <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />\r
5     <script type="text/javascript" src="../resources/prettify/prettify.js"></script>\r
6 </head>\r
7 <body  onload="prettyPrint();">\r
8     <pre class="prettyprint lang-js"><div id="prop-Ext.data.XmlStore-indicatorText"></div>/**
9  * Romanian translations for ExtJS 2.1
10  * First released by Lucian Lature on 2007-04-24
11  * Changed locale for Romania (date formats) as suggested by keypoint
12  * on ExtJS forums: http://www.extjs.com/forum/showthread.php?p=129524#post129524
13  * Removed some useless parts
14  * Changed by: Emil Cazamir, 2008-04-24
15  * Fixed some errors left behind
16  * Changed by: Emil Cazamir, 2008-09-01
17  */
18
19 Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Încărcare...</div>';
20
21 if(Ext.grid.GridPanel){
22    Ext.grid.GridPanel.prototype.ddText = "{0} rând(uri) selectate";
23 }
24
25 if(Ext.TabPanelItem){
26    Ext.TabPanelItem.prototype.closeText = "Închide acest tab";
27 }
28
29 if(Ext.form.Field){
30    Ext.form.Field.prototype.invalidText = "Valoarea acestui câmp este invalidă";
31 }
32
33 if(Ext.LoadMask){
34     Ext.LoadMask.prototype.msg = "Încărcare...";
35 }
36
37 Date.monthNames = [
38    "Ianuarie",
39    "Februarie",
40    "Martie",
41    "Aprilie",
42    "Mai",
43    "Iunie",
44    "Iulie",
45    "August",
46    "Septembrie",
47    "Octombrie",
48    "Noiembrie",
49    "Decembrie"
50 ];
51
52 Date.getShortMonthName = function(month) {
53   return Date.monthNames[month].substring(0, 3);
54 };
55
56 Date.monthNumbers = {
57   Ian : 0,
58   Feb : 1,
59   Mar : 2,
60   Apr : 3,
61   Mai : 4,
62   Iun : 5,
63   Iul : 6,
64   Aug : 7,
65   Sep : 8,
66   Oct : 9,
67   Noi : 10,
68   Dec : 11
69 };
70
71 Date.getMonthNumber = function(name) {
72   return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
73 };
74
75 Date.dayNames = [
76    "Duminică",
77    "Luni",
78    "Marţi",
79    "Miercuri",
80    "Joi",
81    "Vineri",
82    "Sâmbătă"
83 ];
84
85 Date.getShortDayName = function(day) {
86   return Date.dayNames[day].substring(0, 3);
87 };
88
89 if(Ext.MessageBox){
90    Ext.MessageBox.buttonText = {
91       ok     : "OK",
92       cancel : "Renunţă",
93       yes    : "Da",
94       no     : "Nu"
95    };
96 }
97
98 if(Ext.util.Format){
99    Ext.util.Format.date = function(v, format){
100       if(!v) return "";
101       if(!(v instanceof Date)) v = new Date(Date.parse(v));
102       return v.dateFormat(format || "d.m.Y");
103    };
104 }
105
106 if(Ext.DatePicker){
107   Ext.apply(Ext.DatePicker.prototype, {
108     todayText         : "Astăzi",
109     minText           : "Această dată este anterioară datei minime",
110     maxText           : "Această dată este ulterioară datei maxime",
111     disabledDaysText  : "",
112     disabledDatesText : "",
113     monthNames        : Date.monthNames,
114     dayNames          : Date.dayNames,
115     nextText          : 'Luna următoare (Control+Dreapta)',
116     prevText          : 'Luna precedentă (Control+Stânga)',
117     monthYearText     : 'Alege o lună (Control+Sus/Jos pentru a parcurge anii)',
118     todayTip          : "{0} (Bara spațiu)",
119     format            : "d.m.Y",
120     okText            : "&#160;OK&#160;",
121     cancelText        : "Renunță",
122     startDay          : 0
123   });
124 }
125
126 if(Ext.PagingToolbar){
127   Ext.apply(Ext.PagingToolbar.prototype, {
128     beforePageText : "Pagina",
129     afterPageText  : "din {0}",
130     firstText      : "Prima pagină",
131     prevText       : "Pagina anterioară",
132     nextText       : "Pagina următoare",
133     lastText       : "Ultima pagină",
134     refreshText    : "Împrospătează",
135     displayMsg     : "Afișare înregistrările {0} - {1} din {2}",
136     emptyMsg       : 'Nu sunt date de afișat'
137   });
138 }
139
140 if(Ext.form.TextField){
141    Ext.apply(Ext.form.TextField.prototype, {
142       minLengthText : "Lungimea minimă pentru acest câmp este de {0}",
143       maxLengthText : "Lungimea maximă pentru acest câmp este {0}",
144       blankText     : "Acest câmp este obligatoriu",
145       regexText     : "",
146       emptyText     : null
147    });
148 }
149
150 if(Ext.form.NumberField){
151    Ext.apply(Ext.form.NumberField.prototype, {
152       minText : "Valoarea minimă permisă a acestui câmp este {0}",
153       maxText : "Valaorea maximă permisă a acestui câmp este {0}",
154       nanText : "{0} nu este un număr valid"
155    });
156 }
157
158 if(Ext.form.DateField){
159   Ext.apply(Ext.form.DateField.prototype, {
160     disabledDaysText  : "Indisponibil",
161     disabledDatesText : "Indisponibil",
162     minText           : "Data din această casetă trebuie să fie după {0}",
163     maxText           : "Data din această casetă trebuie să fie inainte de {0}",
164     invalidText       : "{0} nu este o dată validă, trebuie să fie în formatul {1}",
165     format            : "d.m.Y",
166     altFormats        : "d-m-Y|d.m.y|d-m-y|d.m|d-m|dm|d|Y-m-d"
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 }</pre>    \r
297 </body>\r
298 </html>