123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278 |
- /**
- * Italian translation
- * By eric_void
- * 04-10-2007, 11:25 AM
- * Updated by Federico Grilli 21/12/2007
- */
- Ext.onReady(function() {
- var cm = Ext.ClassManager,
- exists = Ext.Function.bind(cm.get, cm);
- if (Ext.Updater) {
- Ext.Updater.defaults.indicatorText = '<div class="loading-indicator">Caricamento in corso...</div>';
- }
- Ext.define("Ext.locale.it.view.View", {
- override: "Ext.view.View",
- emptyText: ""
- });
- Ext.define("Ext.locale.it.grid.Panel", {
- override: "Ext.grid.Panel",
- ddText: "{0} righe selezionate"
- });
- Ext.define("Ext.locale.it.TabPanelItem", {
- override: "Ext.TabPanelItem",
- closeText: "Chiudi pannello"
- });
- Ext.define("Ext.locale.it.form.field.Base", {
- override: "Ext.form.field.Base",
- invalidText: "Valore non valido"
- });
- // changing the msg text below will affect the LoadMask
- Ext.define("Ext.locale.it.view.AbstractView", {
- override: "Ext.view.AbstractView",
- msg: "Caricamento in corso..."
- });
- 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", "Luned\u00EC", "Marted\u00EC", "Mercoled\u00EC", "Gioved\u00EC", "Venerd\u00EC", "Sabato"];
- Ext.Date.getShortDayName = function(day) {
- return Ext.Date.dayNames[day].substring(0, 3);
- };
- }
- if (Ext.MessageBox) {
- Ext.MessageBox.buttonText = {
- ok: "OK",
- cancel: "Annulla",
- yes: "S\u00EC",
- no: "No"
- };
- }
- if (exists('Ext.util.Format')) {
- Ext.apply(Ext.util.Format, {
- thousandSeparator: '.',
- decimalSeparator: ',',
- currencySign: '\u20ac',
- // Italian Euro
- dateFormat: 'd/m/Y'
- });
- }
- 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: "",
- monthNames: Ext.Date.monthNames,
- dayNames: Ext.Date.dayNames,
- nextText: 'Mese successivo (Ctrl+Destra)',
- prevText: 'Mese precedente (Ctrl+Sinistra)',
- monthYearText: 'Scegli un mese (Ctrl+Su/Giu 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: "Record {0} - {1} di {2}",
- emptyMsg: 'Nessun dato 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",
- minText: "Il valore minimo \u00E8 {0}",
- maxText: "Il valore massimo \u00E8 {0}",
- nanText: "{0} non \u00E8 un valore numerico corretto",
- decimalSeparator: ','
- });
- Ext.define("Ext.locale.it.form.field.Date", {
- override: "Ext.form.field.Date",
- disabledDaysText: "Disabilitato",
- disabledDatesText: "Disabilitato",
- minText: "La data deve essere successiva al {0}",
- maxText: "La data deve essere precedente al {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"
- });
- 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 in corso..."
- });
- });
- if (exists('Ext.form.field.VTypes')) {
- Ext.apply(Ext.form.field.VTypes, {
- emailText: 'Il campo deve essere un indirizzo e-mail nel formato "user@example.com"',
- urlText: 'Il campo deve essere un indirizzo web nel formato "http:/' + '/www.example.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.GroupingFeature",
- emptyGroupText: '(Nessun dato)',
- groupByText: 'Raggruppa per questo campo',
- showGroupsText: 'Mostra nei gruppi'
- });
- Ext.define("Ext.locale.it.grid.PropertyColumnModel", {
- override: "Ext.grid.PropertyColumnModel",
- nameText: "Nome",
- valueText: "Valore",
- dateFormat: "j/m/Y"
- });
- });
|