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