Форк Rambox
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

320 lines
10 KiB

/**
* Italian translation
* 28 Maggio 2012 updated by Fabio De Paolis (many changes, update to 4.1.0)
* 21 Dicembre 2007 updated by Federico Grilli
* 04 Ottobre 2007 updated by eric_void
*/
Ext.onReady(function() {
if (Ext.Date) {
Ext.Date.monthNames = ["Gennaio", "Febbraio", "Marzo", "Aprile", "Maggio", "Giugno", "Luglio", "Agosto", "Settembre", "Ottobre", "Novembre", "Dicembre"];
Ext.Date.getShortMonthName = function(month) {
return Ext.Date.monthNames[month].substring(0, 3);
};
Ext.Date.monthNumbers = {
Gen: 0,
Feb: 1,
Mar: 2,
Apr: 3,
Mag: 4,
Giu: 5,
Lug: 6,
Ago: 7,
Set: 8,
Ott: 9,
Nov: 10,
Dic: 11
};
Ext.Date.getMonthNumber = function(name) {
return Ext.Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
};
Ext.Date.dayNames = ["Domenica", "Lunedi", "Martedi", "Mercoledi", "Giovedi", "Venerdi", "Sabato"];
Ext.Date.getShortDayName = function(day) {
return Ext.Date.dayNames[day].substring(0, 3);
};
}
if (Ext.util && Ext.util.Format) {
Ext.apply(Ext.util.Format, {
thousandSeparator: '.',
decimalSeparator: ',',
currencySign: '\u20ac', // Euro
dateFormat: 'd/m/Y'
});
}
});
Ext.define("Ext.locale.it.view.View", {
override: "Ext.view.View",
emptyText: ""
});
Ext.define("Ext.locale.it.grid.plugin.DragDrop", {
override: "Ext.grid.plugin.DragDrop",
dragText: "{0} Righe selezionate"
});
Ext.define("Ext.locale.it.tab.Tab", {
override: "Ext.tab.Tab",
closeText: "Chiudi scheda"
});
Ext.define("Ext.locale.it.form.Basic", {
override: "Ext.form.Basic",
waitTitle: "Attendere..."
});
Ext.define("Ext.locale.it.form.field.Base", {
override: "Ext.form.field.Base",
// invalidText: "The value in this field is invalid"
invalidText: "Valore non valido"
});
// changing the msg text below will affect the LoadMask
Ext.define("Ext.locale.it.view.AbstractView", {
override: "Ext.view.AbstractView",
loadingText: "Caricamento..."
});
Ext.define("Ext.locale.it.picker.Date", {
override: "Ext.picker.Date",
todayText: "Oggi",
minText: "Data precedente alla data minima",
maxText: "Data successiva alla data massima",
disabledDaysText: "",
disabledDatesText: "",
nextText: 'Mese successivo (Control+Destra)',
prevText: 'Mese precedente (Control+Sinistra)',
monthYearText: 'Scegli un mese (Control+Sopra/Sotto per cambiare anno)',
todayTip: "{0} (Barra spaziatrice)",
format: "d/m/Y",
startDay: 1
});
Ext.define("Ext.locale.it.picker.Month", {
override: "Ext.picker.Month",
okText: " OK ",
cancelText: "Annulla"
});
Ext.define("Ext.locale.it.toolbar.Paging", {
override: "Ext.PagingToolbar",
beforePageText: "Pagina",
afterPageText: "di {0}",
firstText: "Prima pagina",
prevText: "Pagina precedente",
nextText: "Pagina successiva",
lastText: "Ultima pagina",
refreshText: "Aggiorna",
displayMsg: "Mostrati {0} - {1} di {2}",
emptyMsg: 'Non ci sono dati da mostrare'
});
Ext.define("Ext.locale.it.form.field.Text", {
override: "Ext.form.field.Text",
minLengthText: "La lunghezza minima \u00E8 {0}",
maxLengthText: "La lunghezza massima \u00E8 {0}",
blankText: "Campo obbligatorio",
regexText: "",
emptyText: null
});
Ext.define("Ext.locale.it.form.field.Number", {
override: "Ext.form.field.Number",
decimalPrecision: 2,
minText: "Il valore minimo \u00E8 {0}",
maxText: "Il valore massimo \u00E8 {0}",
nanText: "{0} non \u00E8 un valore numerico valido",
negativeText: "Il valore del campo non può essere negativo"
});
Ext.define("Ext.locale.it.form.field.Date", {
override: "Ext.form.field.Date",
disabledDaysText: "Disabilitato",
disabledDatesText: "Disabilitato",
minText: "La data deve essere maggiore o uguale a {0}",
maxText: "La data deve essere minore o uguale a {0}",
invalidText: "{0} non \u00E8 una data valida. Deve essere nel formato {1}",
format: "d/m/Y",
// altFormats: "d/m/Y|d-m-y|d-m-Y|d/m|d-m|dm|dmy|dmY|d|Y-m-d"
altFormats: "d-m-y|d-m-Y|d/m|d-m|dm|dmy|dmY|d|Y-m-d"
});
Ext.define("Ext.locale.it.form.field.ComboBox", {
override: "Ext.form.field.ComboBox",
valueNotFoundText: undefined
}, function() {
Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
loadingText: "Caricamento..."
});
});
Ext.define("Ext.locale.it.form.field.VTypes", {
override: "Ext.form.field.VTypes",
emailText: 'Il campo deve essere un indirizzo e-mail nel formato "utente@esempio.com"',
urlText: 'Il campo deve essere un indirizzo web nel formato "http:/' + '/www.esempio.com"',
alphaText: 'Il campo deve contenere solo lettere e _',
alphanumText: 'Il campo deve contenere solo lettere, numeri e _'
});
Ext.define("Ext.locale.it.form.field.HtmlEditor", {
override: "Ext.form.field.HtmlEditor",
createLinkText: 'Inserire un URL per il link:'
}, function() {
Ext.apply(Ext.form.field.HtmlEditor.prototype, {
buttonTips: {
bold: {
title: 'Grassetto (Ctrl+B)',
text: 'Rende il testo selezionato in grassetto.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
italic: {
title: 'Corsivo (Ctrl+I)',
text: 'Rende il testo selezionato in corsivo.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
underline: {
title: 'Sottolinea (Ctrl+U)',
text: 'Sottolinea il testo selezionato.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
increasefontsize: {
title: 'Ingrandisci testo',
text: 'Aumenta la dimensione del carattere.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
decreasefontsize: {
title: 'Rimpicciolisci testo',
text: 'Diminuisce la dimensione del carattere.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
backcolor: {
title: 'Colore evidenziatore testo',
text: 'Modifica il colore di sfondo del testo selezionato.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
forecolor: {
title: 'Colore carattere',
text: 'Modifica il colore del testo selezionato.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
justifyleft: {
title: 'Allinea a sinistra',
text: 'Allinea il testo a sinistra.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
justifycenter: {
title: 'Centra',
text: 'Centra il testo.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
justifyright: {
title: 'Allinea a destra',
text: 'Allinea il testo a destra.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
insertunorderedlist: {
title: 'Elenco puntato',
text: 'Elenco puntato.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
insertorderedlist: {
title: 'Elenco numerato',
text: 'Elenco numerato.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
createlink: {
title: 'Collegamento',
text: 'Trasforma il testo selezionato in un collegamanto.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
sourceedit: {
title: 'Sorgente',
text: 'Passa alla modalit\u00E0 editing del sorgente.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
}
}
});
});
Ext.define("Ext.locale.it.grid.header.Container", {
override: "Ext.grid.header.Container",
sortAscText: "Ordinamento crescente",
sortDescText: "Ordinamento decrescente",
lockText: "Blocca colonna",
unlockText: "Sblocca colonna",
columnsText: "Colonne"
});
Ext.define("Ext.locale.it.grid.GroupingFeature", {
override: "Ext.grid.feature.Grouping",
emptyGroupText: '(Nessun dato)',
groupByText: 'Raggruppa per questo campo',
showGroupsText: 'Mostra nei gruppi'
});
Ext.define("Ext.locale.it.grid.PropertyColumnModel", {
override: "Ext.grid.PropertyColumnModel",
nameText: "Name",
valueText: "Value",
dateFormat: "j/m/Y",
trueText: "true",
falseText: "false"
});
Ext.define("Ext.locale.it.grid.column.Boolean", {
override: "Ext.grid.column.Boolean",
trueText: "vero",
falseText: "falso",
undefinedText: ' '
});
Ext.define("Ext.locale.it.grid.column.Number", {
override: "Ext.grid.column.Number",
format: '0,000.00'
});
Ext.define("Ext.locale.it.grid.column.Date", {
override: "Ext.grid.column.Date",
format: 'd/m/Y'
});
Ext.define("Ext.locale.it.form.field.Time", {
override: "Ext.form.field.Time",
minText: "L'Ora deve essere maggiore o uguale a {0}",
maxText: "L'Ora deve essere mainore o uguale a {0}",
invalidText: "{0} non \u00E8 un Orario valido",
// format: "g:i A",
format: "H:i"
// altFormats: "g:ia|g:iA|g:i a|g:i A|h:i|g:i|H:i|ga|ha|gA|h a|g a|g A|gi|hi|gia|hia|g|H"
});
Ext.define("Ext.locale.it.form.CheckboxGroup", {
override: "Ext.form.CheckboxGroup",
blankText: "Devi selezionare almeno un elemento nel gruppo"
});
Ext.define("Ext.locale.it.form.RadioGroup", {
override: "Ext.form.RadioGroup",
blankText: "Devi selezionare un elemento nel gruppo"
});
Ext.define("Ext.locale.it.window.MessageBox", {
override: "Ext.window.MessageBox",
buttonText: {
ok: "OK",
cancel: "Annulla",
yes: "Si",
no: "No"
}
});
// This is needed until we can refactor all of the locales into individual files
Ext.define("Ext.locale.it.Component", {
override: "Ext.Component"
});