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