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