ext-lang-ro.js 10.0 KB

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