Upgrade to ExtJS 3.2.0 - Released 03/30/2010
[extjs.git] / src / locale / ext-lang-it.js
1 /*!
2  * Ext JS Library 3.2.0
3  * Copyright(c) 2006-2010 Ext JS, Inc.
4  * licensing@extjs.com
5  * http://www.extjs.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    });
167 }
168
169 if(Ext.form.ComboBox){
170    Ext.apply(Ext.form.ComboBox.prototype, {
171       loadingText       : "Caricamento in corso...",
172       valueNotFoundText : undefined
173    });
174 }
175
176 if(Ext.form.VTypes){
177    Ext.apply(Ext.form.VTypes, {
178       emailText    : 'Il campo deve essere un indirizzo e-mail nel formato "user@example.com"',
179       urlText      : 'Il campo deve essere un indirizzo web nel formato "http:/'+'/www.example.com"',
180       alphaText    : 'Il campo deve contenere solo lettere e _',
181       alphanumText : 'Il campo deve contenere solo lettere, numeri e _'
182    });
183 }
184
185 if(Ext.form.HtmlEditor){
186   Ext.apply(Ext.form.HtmlEditor.prototype, {
187     createLinkText : 'Inserire un URL per il link:',
188     buttonTips : {
189       bold : {
190         title: 'Grassetto (Ctrl+B)',
191         text: 'Rende il testo selezionato in grassetto.',
192         cls: 'x-html-editor-tip'
193       },
194       italic : {
195         title: 'Corsivo (Ctrl+I)',
196         text: 'Rende il testo selezionato in corsivo.',
197         cls: 'x-html-editor-tip'
198       },
199       underline : {
200         title: 'Sottolinea (Ctrl+U)',
201         text: 'Sottolinea il testo selezionato.',
202         cls: 'x-html-editor-tip'
203       },
204       increasefontsize : {
205         title: 'Ingrandisci testo',
206         text: 'Aumenta la dimensione del carattere.',
207         cls: 'x-html-editor-tip'
208       },
209       decreasefontsize : {
210         title: 'Rimpicciolisci testo',
211         text: 'Diminuisce la dimensione del carattere.',
212         cls: 'x-html-editor-tip'
213       },
214       backcolor : {
215         title: 'Colore evidenziatore testo',
216         text: 'Modifica il colore di sfondo del testo selezionato.',
217         cls: 'x-html-editor-tip'
218       },
219       forecolor : {
220         title: 'Colore carattere',
221         text: 'Modifica il colore del testo selezionato.',
222         cls: 'x-html-editor-tip'
223       },
224       justifyleft : {
225         title: 'Allinea a sinistra',
226         text: 'Allinea il testo a sinistra.',
227         cls: 'x-html-editor-tip'
228       },
229       justifycenter : {
230         title: 'Centra',
231         text: 'Centra il testo.',
232         cls: 'x-html-editor-tip'
233       },
234       justifyright : {
235         title: 'Allinea a destra',
236         text: 'Allinea il testo a destra.',
237         cls: 'x-html-editor-tip'
238       },
239       insertunorderedlist : {
240         title: 'Elenco puntato',
241         text: 'Elenco puntato.',
242         cls: 'x-html-editor-tip'
243       },
244       insertorderedlist : {
245         title: 'Elenco numerato',
246         text: 'Elenco numerato.',
247         cls: 'x-html-editor-tip'
248       },
249       createlink : {
250         title: 'Collegamento',
251         text: 'Trasforma il testo selezionato in un collegamanto.',
252         cls: 'x-html-editor-tip'
253       },
254       sourceedit : {
255         title: 'Sorgente',
256         text: 'Passa alla modalit\u00E0 editing del sorgente.',
257         cls: 'x-html-editor-tip'
258       }
259     }
260   });
261 }
262
263 if(Ext.grid.GridView){
264    Ext.apply(Ext.grid.GridView.prototype, {
265       sortAscText  : "Ordinamento crescente",
266       sortDescText : "Ordinamento decrescente",
267       lockText     : "Blocca colonna",
268       unlockText   : "Sblocca colonna",
269       columnsText  : "Colonne"
270    });
271 }
272
273 if(Ext.grid.GroupingView){
274   Ext.apply(Ext.grid.GroupingView.prototype, {
275     emptyGroupText : '(Nessun dato)',
276     groupByText    : 'Raggruppa per questo campo',
277     showGroupsText : 'Mostra nei gruppi'
278   });
279 }
280
281 if(Ext.grid.PropertyColumnModel){
282    Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
283       nameText   : "Nome",
284       valueText  : "Valore",
285       dateFormat : "j/m/Y"
286    });
287 }
288
289 if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
290    Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
291       splitTip            : "Trascina per cambiare dimensioni.",
292       collapsibleSplitTip : "Trascina per cambiare dimensioni. Doppio click per nascondere."
293    });
294 }
295