| 1 | /*! |
|---|
| 2 | * Ext JS Library 3.4.0 |
|---|
| 3 | * Copyright(c) 2006-2011 Sencha Inc. |
|---|
| 4 | * licensing@sencha.com |
|---|
| 5 | * http://www.sencha.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 | |
|---|
| 18 | Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">ÃncÄrcare...</div>'; |
|---|
| 19 | |
|---|
| 20 | if(Ext.grid.GridPanel){ |
|---|
| 21 | Ext.grid.GridPanel.prototype.ddText = "{0} rând(uri) selectate"; |
|---|
| 22 | } |
|---|
| 23 | |
|---|
| 24 | if(Ext.TabPanelItem){ |
|---|
| 25 | Ext.TabPanelItem.prototype.closeText = "Ãnchide acest tab"; |
|---|
| 26 | } |
|---|
| 27 | |
|---|
| 28 | if(Ext.form.Field){ |
|---|
| 29 | Ext.form.Field.prototype.invalidText = "Valoarea acestui câmp este invalidÄ"; |
|---|
| 30 | } |
|---|
| 31 | |
|---|
| 32 | if(Ext.LoadMask){ |
|---|
| 33 | Ext.LoadMask.prototype.msg = "ÃncÄrcare..."; |
|---|
| 34 | } |
|---|
| 35 | |
|---|
| 36 | Date.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 | |
|---|
| 51 | Date.getShortMonthName = function(month) { |
|---|
| 52 | return Date.monthNames[month].substring(0, 3); |
|---|
| 53 | }; |
|---|
| 54 | |
|---|
| 55 | Date.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 | |
|---|
| 70 | Date.getMonthNumber = function(name) { |
|---|
| 71 | return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()]; |
|---|
| 72 | }; |
|---|
| 73 | |
|---|
| 74 | Date.dayNames = [ |
|---|
| 75 | "DuminicÄ", |
|---|
| 76 | "Luni", |
|---|
| 77 | "Marţi", |
|---|
| 78 | "Miercuri", |
|---|
| 79 | "Joi", |
|---|
| 80 | "Vineri", |
|---|
| 81 | "SâmbÄtÄ" |
|---|
| 82 | ]; |
|---|
| 83 | |
|---|
| 84 | Date.getShortDayName = function(day) { |
|---|
| 85 | return Date.dayNames[day].substring(0, 3); |
|---|
| 86 | }; |
|---|
| 87 | |
|---|
| 88 | if(Ext.MessageBox){ |
|---|
| 89 | Ext.MessageBox.buttonText = { |
|---|
| 90 | ok : "OK", |
|---|
| 91 | cancel : "RenunÅ£Ä", |
|---|
| 92 | yes : "Da", |
|---|
| 93 | no : "Nu" |
|---|
| 94 | }; |
|---|
| 95 | } |
|---|
| 96 | |
|---|
| 97 | if(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 | |
|---|
| 105 | if(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 : " OK ", |
|---|
| 120 | cancelText : "RenunÈÄ", |
|---|
| 121 | startDay : 0 |
|---|
| 122 | }); |
|---|
| 123 | } |
|---|
| 124 | |
|---|
| 125 | if(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 | |
|---|
| 139 | if(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 | |
|---|
| 149 | if(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 | |
|---|
| 157 | if(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 | startDay : 0 |
|---|
| 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 | } |
|---|