ext-lang-it.js 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278
  1. /**
  2. * Italian translation
  3. * By eric_void
  4. * 04-10-2007, 11:25 AM
  5. * Updated by Federico Grilli 21/12/2007
  6. */
  7. Ext.onReady(function() {
  8. var cm = Ext.ClassManager,
  9. exists = Ext.Function.bind(cm.get, cm);
  10. if (Ext.Updater) {
  11. Ext.Updater.defaults.indicatorText = '<div class="loading-indicator">Caricamento in corso...</div>';
  12. }
  13. Ext.define("Ext.locale.it.view.View", {
  14. override: "Ext.view.View",
  15. emptyText: ""
  16. });
  17. Ext.define("Ext.locale.it.grid.Panel", {
  18. override: "Ext.grid.Panel",
  19. ddText: "{0} righe selezionate"
  20. });
  21. Ext.define("Ext.locale.it.TabPanelItem", {
  22. override: "Ext.TabPanelItem",
  23. closeText: "Chiudi pannello"
  24. });
  25. Ext.define("Ext.locale.it.form.field.Base", {
  26. override: "Ext.form.field.Base",
  27. invalidText: "Valore non valido"
  28. });
  29. // changing the msg text below will affect the LoadMask
  30. Ext.define("Ext.locale.it.view.AbstractView", {
  31. override: "Ext.view.AbstractView",
  32. msg: "Caricamento in corso..."
  33. });
  34. if (Ext.Date) {
  35. Ext.Date.monthNames = ["Gennaio", "Febbraio", "Marzo", "Aprile", "Maggio", "Giugno", "Luglio", "Agosto", "Settembre", "Ottobre", "Novembre", "Dicembre"];
  36. Ext.Date.getShortMonthName = function(month) {
  37. return Ext.Date.monthNames[month].substring(0, 3);
  38. };
  39. Ext.Date.monthNumbers = {
  40. Gen: 0,
  41. Feb: 1,
  42. Mar: 2,
  43. Apr: 3,
  44. Mag: 4,
  45. Giu: 5,
  46. Lug: 6,
  47. Ago: 7,
  48. Set: 8,
  49. Ott: 9,
  50. Nov: 10,
  51. Dic: 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 = ["Domenica", "Luned\u00EC", "Marted\u00EC", "Mercoled\u00EC", "Gioved\u00EC", "Venerd\u00EC", "Sabato"];
  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: "Annulla",
  65. yes: "S\u00EC",
  66. no: "No"
  67. };
  68. }
  69. if (exists('Ext.util.Format')) {
  70. Ext.apply(Ext.util.Format, {
  71. thousandSeparator: '.',
  72. decimalSeparator: ',',
  73. currencySign: '\u20ac',
  74. // Italian Euro
  75. dateFormat: 'd/m/Y'
  76. });
  77. }
  78. Ext.define("Ext.locale.it.picker.Date", {
  79. override: "Ext.picker.Date",
  80. todayText: "Oggi",
  81. minText: "Data precedente alla data minima",
  82. maxText: "Data successiva alla data massima",
  83. disabledDaysText: "",
  84. disabledDatesText: "",
  85. monthNames: Ext.Date.monthNames,
  86. dayNames: Ext.Date.dayNames,
  87. nextText: 'Mese successivo (Ctrl+Destra)',
  88. prevText: 'Mese precedente (Ctrl+Sinistra)',
  89. monthYearText: 'Scegli un mese (Ctrl+Su/Giu per cambiare anno)',
  90. todayTip: "{0} (Barra spaziatrice)",
  91. format: "d/m/y",
  92. startDay: 1
  93. });
  94. Ext.define("Ext.locale.it.picker.Month", {
  95. override: "Ext.picker.Month",
  96. okText: "&#160;OK&#160;",
  97. cancelText: "Annulla"
  98. });
  99. Ext.define("Ext.locale.it.toolbar.Paging", {
  100. override: "Ext.PagingToolbar",
  101. beforePageText: "Pagina",
  102. afterPageText: "di {0}",
  103. firstText: "Prima pagina",
  104. prevText: "Pagina precedente",
  105. nextText: "Pagina successiva",
  106. lastText: "Ultima pagina",
  107. refreshText: "Aggiorna",
  108. displayMsg: "Record {0} - {1} di {2}",
  109. emptyMsg: 'Nessun dato da mostrare'
  110. });
  111. Ext.define("Ext.locale.it.form.field.Text", {
  112. override: "Ext.form.field.Text",
  113. minLengthText: "La lunghezza minima \u00E8 {0}",
  114. maxLengthText: "La lunghezza massima \u00E8 {0}",
  115. blankText: "Campo obbligatorio",
  116. regexText: "",
  117. emptyText: null
  118. });
  119. Ext.define("Ext.locale.it.form.field.Number", {
  120. override: "Ext.form.field.Number",
  121. minText: "Il valore minimo \u00E8 {0}",
  122. maxText: "Il valore massimo \u00E8 {0}",
  123. nanText: "{0} non \u00E8 un valore numerico corretto",
  124. decimalSeparator: ','
  125. });
  126. Ext.define("Ext.locale.it.form.field.Date", {
  127. override: "Ext.form.field.Date",
  128. disabledDaysText: "Disabilitato",
  129. disabledDatesText: "Disabilitato",
  130. minText: "La data deve essere successiva al {0}",
  131. maxText: "La data deve essere precedente al {0}",
  132. invalidText: "{0} non \u00E8 una data valida. Deve essere nel formato {1}",
  133. format: "d/m/y",
  134. altFormats: "d/m/Y|d-m-y|d-m-Y|d/m|d-m|dm|dmy|dmY|d|Y-m-d"
  135. });
  136. Ext.define("Ext.locale.it.form.field.ComboBox", {
  137. override: "Ext.form.field.ComboBox",
  138. valueNotFoundText: undefined
  139. }, function() {
  140. Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
  141. loadingText: "Caricamento in corso..."
  142. });
  143. });
  144. if (exists('Ext.form.field.VTypes')) {
  145. Ext.apply(Ext.form.field.VTypes, {
  146. emailText: 'Il campo deve essere un indirizzo e-mail nel formato "user@example.com"',
  147. urlText: 'Il campo deve essere un indirizzo web nel formato "http:/' + '/www.example.com"',
  148. alphaText: 'Il campo deve contenere solo lettere e _',
  149. alphanumText: 'Il campo deve contenere solo lettere, numeri e _'
  150. });
  151. }
  152. Ext.define("Ext.locale.it.form.field.HtmlEditor", {
  153. override: "Ext.form.field.HtmlEditor",
  154. createLinkText: 'Inserire un URL per il link:'
  155. }, function() {
  156. Ext.apply(Ext.form.field.HtmlEditor.prototype, {
  157. buttonTips: {
  158. bold: {
  159. title: 'Grassetto (Ctrl+B)',
  160. text: 'Rende il testo selezionato in grassetto.',
  161. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  162. },
  163. italic: {
  164. title: 'Corsivo (Ctrl+I)',
  165. text: 'Rende il testo selezionato in corsivo.',
  166. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  167. },
  168. underline: {
  169. title: 'Sottolinea (Ctrl+U)',
  170. text: 'Sottolinea il testo selezionato.',
  171. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  172. },
  173. increasefontsize: {
  174. title: 'Ingrandisci testo',
  175. text: 'Aumenta la dimensione del carattere.',
  176. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  177. },
  178. decreasefontsize: {
  179. title: 'Rimpicciolisci testo',
  180. text: 'Diminuisce la dimensione del carattere.',
  181. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  182. },
  183. backcolor: {
  184. title: 'Colore evidenziatore testo',
  185. text: 'Modifica il colore di sfondo del testo selezionato.',
  186. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  187. },
  188. forecolor: {
  189. title: 'Colore carattere',
  190. text: 'Modifica il colore del testo selezionato.',
  191. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  192. },
  193. justifyleft: {
  194. title: 'Allinea a sinistra',
  195. text: 'Allinea il testo a sinistra.',
  196. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  197. },
  198. justifycenter: {
  199. title: 'Centra',
  200. text: 'Centra il testo.',
  201. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  202. },
  203. justifyright: {
  204. title: 'Allinea a destra',
  205. text: 'Allinea il testo a destra.',
  206. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  207. },
  208. insertunorderedlist: {
  209. title: 'Elenco puntato',
  210. text: 'Elenco puntato.',
  211. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  212. },
  213. insertorderedlist: {
  214. title: 'Elenco numerato',
  215. text: 'Elenco numerato.',
  216. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  217. },
  218. createlink: {
  219. title: 'Collegamento',
  220. text: 'Trasforma il testo selezionato in un collegamanto.',
  221. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  222. },
  223. sourceedit: {
  224. title: 'Sorgente',
  225. text: 'Passa alla modalit\u00E0 editing del sorgente.',
  226. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  227. }
  228. }
  229. });
  230. });
  231. Ext.define("Ext.locale.it.grid.header.Container", {
  232. override: "Ext.grid.header.Container",
  233. sortAscText: "Ordinamento crescente",
  234. sortDescText: "Ordinamento decrescente",
  235. lockText: "Blocca colonna",
  236. unlockText: "Sblocca colonna",
  237. columnsText: "Colonne"
  238. });
  239. Ext.define("Ext.locale.it.grid.GroupingFeature", {
  240. override: "Ext.grid.GroupingFeature",
  241. emptyGroupText: '(Nessun dato)',
  242. groupByText: 'Raggruppa per questo campo',
  243. showGroupsText: 'Mostra nei gruppi'
  244. });
  245. Ext.define("Ext.locale.it.grid.PropertyColumnModel", {
  246. override: "Ext.grid.PropertyColumnModel",
  247. nameText: "Nome",
  248. valueText: "Valore",
  249. dateFormat: "j/m/Y"
  250. });
  251. });