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