3 This file is part of Ext JS 4
5 Copyright (c) 2011 Sencha Inc
7 Contact: http://www.sencha.com/contact
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.
12 If you are unsure which license is appropriate for your use, please contact the sales department at http://www.sencha.com/contact.
18 * 04-10-2007, 11:25 AM
19 * Updated by Federico Grilli 21/12/2007
21 Ext.onReady(function(){
23 Ext.Updater.defaults.indicatorText = '<div class="loading-indicator">Caricamento in corso...</div>';
27 Ext.view.View.prototype.emptyText = "";
31 Ext.grid.Panel.prototype.ddText = "{0} righe selezionate";
35 Ext.TabPanelItem.prototype.closeText = "Chiudi pannello";
38 if(Ext.form.field.Base){
39 Ext.form.field.Base.prototype.invalidText = "Valore non valido";
43 Ext.LoadMask.prototype.msg = "Caricamento in corso...";
47 Ext.Date.monthNames = [
62 Ext.Date.getShortMonthName = function(month) {
63 return Ext.Date.monthNames[month].substring(0, 3);
66 Ext.Date.monthNumbers = {
81 Ext.Date.getMonthNumber = function(name) {
82 return Ext.Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
95 Ext.Date.getShortDayName = function(day) {
96 return Ext.Date.dayNames[day].substring(0, 3);
101 Ext.MessageBox.buttonText = {
110 Ext.apply(Ext.util.Format, {
111 thousandSeparator: '.',
112 decimalSeparator: ',',
113 currencySign: '\u20ac', // Italian Euro
119 Ext.apply(Ext.picker.Date.prototype, {
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)",
136 if(Ext.picker.Month) {
137 Ext.apply(Ext.picker.Month.prototype, {
138 okText : " OK ",
139 cancelText : "Annulla"
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'
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",
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"
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}",
183 altFormats : "d/m/Y|d-m-y|d-m-Y|d/m|d-m|dm|dmy|dmY|d|Y-m-d"
187 if(Ext.form.field.ComboBox){
188 Ext.apply(Ext.form.field.ComboBox.prototype, {
189 loadingText : "Caricamento in corso...",
190 valueNotFoundText : undefined
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 _'
203 if(Ext.form.field.HtmlEditor){
204 Ext.apply(Ext.form.field.HtmlEditor.prototype, {
205 createLinkText : 'Inserire un URL per il link:',
208 title: 'Grassetto (Ctrl+B)',
209 text: 'Rende il testo selezionato in grassetto.',
210 cls: Ext.baseCSSPrefix + 'html-editor-tip'
213 title: 'Corsivo (Ctrl+I)',
214 text: 'Rende il testo selezionato in corsivo.',
215 cls: Ext.baseCSSPrefix + 'html-editor-tip'
218 title: 'Sottolinea (Ctrl+U)',
219 text: 'Sottolinea il testo selezionato.',
220 cls: Ext.baseCSSPrefix + 'html-editor-tip'
223 title: 'Ingrandisci testo',
224 text: 'Aumenta la dimensione del carattere.',
225 cls: Ext.baseCSSPrefix + 'html-editor-tip'
228 title: 'Rimpicciolisci testo',
229 text: 'Diminuisce la dimensione del carattere.',
230 cls: Ext.baseCSSPrefix + 'html-editor-tip'
233 title: 'Colore evidenziatore testo',
234 text: 'Modifica il colore di sfondo del testo selezionato.',
235 cls: Ext.baseCSSPrefix + 'html-editor-tip'
238 title: 'Colore carattere',
239 text: 'Modifica il colore del testo selezionato.',
240 cls: Ext.baseCSSPrefix + 'html-editor-tip'
243 title: 'Allinea a sinistra',
244 text: 'Allinea il testo a sinistra.',
245 cls: Ext.baseCSSPrefix + 'html-editor-tip'
249 text: 'Centra il testo.',
250 cls: Ext.baseCSSPrefix + 'html-editor-tip'
253 title: 'Allinea a destra',
254 text: 'Allinea il testo a destra.',
255 cls: Ext.baseCSSPrefix + 'html-editor-tip'
257 insertunorderedlist : {
258 title: 'Elenco puntato',
259 text: 'Elenco puntato.',
260 cls: Ext.baseCSSPrefix + 'html-editor-tip'
262 insertorderedlist : {
263 title: 'Elenco numerato',
264 text: 'Elenco numerato.',
265 cls: Ext.baseCSSPrefix + 'html-editor-tip'
268 title: 'Collegamento',
269 text: 'Trasforma il testo selezionato in un collegamanto.',
270 cls: Ext.baseCSSPrefix + 'html-editor-tip'
274 text: 'Passa alla modalit\u00E0 editing del sorgente.',
275 cls: Ext.baseCSSPrefix + 'html-editor-tip'
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"
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'
299 if(Ext.grid.PropertyColumnModel){
300 Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
302 valueText : "Valore",
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."