ext-locale-ro.js 9.1 KB

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