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