Upgrade to ExtJS 4.0.7 - Released 10/19/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           decimalSeparator: ','
173        });
174     }
175
176     if(Ext.form.field.Date){
177        Ext.apply(Ext.form.field.Date.prototype, {
178           disabledDaysText  : "Disabilitato",
179           disabledDatesText : "Disabilitato",
180           minText           : "La data deve essere successiva al {0}",
181           maxText           : "La data deve essere precedente al {0}",
182           invalidText       : "{0} non \u00E8 una data valida. Deve essere nel formato {1}",
183           format            : "d/m/y",
184           altFormats        : "d/m/Y|d-m-y|d-m-Y|d/m|d-m|dm|dmy|dmY|d|Y-m-d"
185        });
186     }
187
188     if(Ext.form.field.ComboBox){
189        Ext.apply(Ext.form.field.ComboBox.prototype, {
190           valueNotFoundText : undefined
191        });
192         Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
193             loadingText       : "Caricamento in corso..."
194         });
195     }
196
197     if(Ext.form.field.VTypes){
198        Ext.apply(Ext.form.field.VTypes, {
199           emailText    : 'Il campo deve essere un indirizzo e-mail nel formato "user@example.com"',
200           urlText      : 'Il campo deve essere un indirizzo web nel formato "http:/'+'/www.example.com"',
201           alphaText    : 'Il campo deve contenere solo lettere e _',
202           alphanumText : 'Il campo deve contenere solo lettere, numeri e _'
203        });
204     }
205
206     if(Ext.form.field.HtmlEditor){
207       Ext.apply(Ext.form.field.HtmlEditor.prototype, {
208         createLinkText : 'Inserire un URL per il link:',
209         buttonTips : {
210           bold : {
211             title: 'Grassetto (Ctrl+B)',
212             text: 'Rende il testo selezionato in grassetto.',
213             cls: Ext.baseCSSPrefix + 'html-editor-tip'
214           },
215           italic : {
216             title: 'Corsivo (Ctrl+I)',
217             text: 'Rende il testo selezionato in corsivo.',
218             cls: Ext.baseCSSPrefix + 'html-editor-tip'
219           },
220           underline : {
221             title: 'Sottolinea (Ctrl+U)',
222             text: 'Sottolinea il testo selezionato.',
223             cls: Ext.baseCSSPrefix + 'html-editor-tip'
224           },
225           increasefontsize : {
226             title: 'Ingrandisci testo',
227             text: 'Aumenta la dimensione del carattere.',
228             cls: Ext.baseCSSPrefix + 'html-editor-tip'
229           },
230           decreasefontsize : {
231             title: 'Rimpicciolisci testo',
232             text: 'Diminuisce la dimensione del carattere.',
233             cls: Ext.baseCSSPrefix + 'html-editor-tip'
234           },
235           backcolor : {
236             title: 'Colore evidenziatore testo',
237             text: 'Modifica il colore di sfondo del testo selezionato.',
238             cls: Ext.baseCSSPrefix + 'html-editor-tip'
239           },
240           forecolor : {
241             title: 'Colore carattere',
242             text: 'Modifica il colore del testo selezionato.',
243             cls: Ext.baseCSSPrefix + 'html-editor-tip'
244           },
245           justifyleft : {
246             title: 'Allinea a sinistra',
247             text: 'Allinea il testo a sinistra.',
248             cls: Ext.baseCSSPrefix + 'html-editor-tip'
249           },
250           justifycenter : {
251             title: 'Centra',
252             text: 'Centra il testo.',
253             cls: Ext.baseCSSPrefix + 'html-editor-tip'
254           },
255           justifyright : {
256             title: 'Allinea a destra',
257             text: 'Allinea il testo a destra.',
258             cls: Ext.baseCSSPrefix + 'html-editor-tip'
259           },
260           insertunorderedlist : {
261             title: 'Elenco puntato',
262             text: 'Elenco puntato.',
263             cls: Ext.baseCSSPrefix + 'html-editor-tip'
264           },
265           insertorderedlist : {
266             title: 'Elenco numerato',
267             text: 'Elenco numerato.',
268             cls: Ext.baseCSSPrefix + 'html-editor-tip'
269           },
270           createlink : {
271             title: 'Collegamento',
272             text: 'Trasforma il testo selezionato in un collegamanto.',
273             cls: Ext.baseCSSPrefix + 'html-editor-tip'
274           },
275           sourceedit : {
276             title: 'Sorgente',
277             text: 'Passa alla modalit\u00E0 editing del sorgente.',
278             cls: Ext.baseCSSPrefix + 'html-editor-tip'
279           }
280         }
281       });
282     }
283
284     if(Ext.grid.header.Container){
285        Ext.apply(Ext.grid.header.Container.prototype, {
286           sortAscText  : "Ordinamento crescente",
287           sortDescText : "Ordinamento decrescente",
288           lockText     : "Blocca colonna",
289           unlockText   : "Sblocca colonna",
290           columnsText  : "Colonne"
291        });
292     }
293
294     if(Ext.grid.GroupingFeature){
295       Ext.apply(Ext.grid.GroupingFeature.prototype, {
296         emptyGroupText : '(Nessun dato)',
297         groupByText    : 'Raggruppa per questo campo',
298         showGroupsText : 'Mostra nei gruppi'
299       });
300     }
301
302     if(Ext.grid.PropertyColumnModel){
303        Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
304           nameText   : "Nome",
305           valueText  : "Valore",
306           dateFormat : "j/m/Y"
307        });
308     }
309
310     if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
311        Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
312           splitTip            : "Trascina per cambiare dimensioni.",
313           collapsibleSplitTip : "Trascina per cambiare dimensioni. Doppio click per nascondere."
314        });
315     }
316
317 });
318