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