From 5dd1302a1e63b395ec0b237bfed8ebf99eff4986 Mon Sep 17 00:00:00 2001 From: Pek5892 Date: Thu, 21 Mar 2024 16:34:35 +0100 Subject: [PATCH] Aggiunta traduzioni views --- update/2_5.php | 194 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 194 insertions(+) diff --git a/update/2_5.php b/update/2_5.php index 84efc3ee7..e6d49922b 100644 --- a/update/2_5.php +++ b/update/2_5.php @@ -259,3 +259,197 @@ foreach ($traduzioni as $traduzione) { $database->query('UPDATE '.$traduzione[0].' SET `text` = "'.$traduzione[1].'" WHERE `name` = "'.$traduzione[2].'" AND `id_lang` = 2'); $database->query('UPDATE '.$traduzione[0].' SET `name` = "'.$traduzione[1].'" WHERE `name` = "'.$traduzione[2].'" AND `id_lang` = 2'); } + +$traduzioni = [ + // Traduzione views + ['zz_views_lang', 'Agent','Agente'], + ['zz_views_lang', 'Attachments','Allegati'], + ['zz_views_lang', 'Entity','Anagrafica'], + ['zz_views_lang', 'Entities','Anagrafiche'], + ['zz_views_lang', 'Products','Articoli'], + ['zz_views_lang', 'Product','Articolo'], + ['zz_views_lang', 'Active','Attivo'], + ['zz_views_lang', 'Bank','Banca'], + ['zz_views_lang', 'Company bank','Banca azienda'], + ['zz_views_lang', 'Category','Categoria'], + ['zz_views_lang', 'Causal','Causale'], + ['zz_views_lang', 'Mobile number','Cellulare'], + ['zz_views_lang', 'City','Città'], + ['zz_views_lang', 'Consumer','Cliente'], + ['zz_views_lang', 'Cod','Codice'], + ['zz_views_lang', 'Receiver code','Codice destinatario'], + ['zz_views_lang', 'Electric invoice code','Codice FE'], + ['zz_views_lang', 'Code Mode', 'Codice Modalità'], + ['zz_views_lang', 'Payment Code', 'Codice pagamento'], + ['zz_views_lang', 'color', 'colore'], + ['zz_views_lang', 'Color', 'Colore'], + ['zz_views_lang', 'color_Color', 'color_Colore'], + ['zz_views_lang', 'color_Relation', 'color_Relazione'], + ['zz_views_lang', 'color_title_Relation', 'color_title_Relazione'], + ['zz_views_lang', 'Completed', 'Completato'], + ['zz_views_lang', 'Content', 'Contenuto'], + ['zz_views_lang', 'Account', 'Conto'], + ['zz_views_lang', 'Credit Account', 'Conto avere'], + ['zz_views_lang', 'Debit Account', 'Conto dare'], + ['zz_views_lang', 'Contract', 'Contratto'], + ['zz_views_lang', 'Counterparty', 'Controparte'], + ['zz_views_lang', 'Costs', 'Costi'], + ['zz_views_lang', 'Cost per km', 'Costo al km'], + ['zz_views_lang', 'Cost per km (technical)', 'Costo al km tecnico'], + ['zz_views_lang', 'Cost per hour', 'Costo orario'], + ['zz_views_lang', 'Cost per hour (technical)', 'Costo orario tecnico'], + ['zz_views_lang', 'Deadline', 'Data scadenza'], + ['zz_views_lang', 'Activation date', 'Data attivazione'], + ['zz_views_lang', 'Completion date', 'Data conclusione'], + ['zz_views_lang', 'Creation date', 'Data creazione'], + ['zz_views_lang', 'Issue date', 'Data emissione'], + ['zz_views_lang', 'End date', 'Data fine'], + ['zz_views_lang', 'Start date', 'Data inizio'], + ['zz_views_lang', 'Sending date', 'Data invio'], + ['zz_views_lang', 'Movement date', 'Data movimento'], + ['zz_views_lang', 'Deadline', 'Data scadenza'], + ['zz_views_lang', 'Draft date', 'data_bozza'], + ['zz_views_lang', 'Conclusion date', 'data_conclusione'], + ['zz_views_lang', 'Request date', 'data_richiesta'], + ['zz_views_lang', 'To be paid', 'da_pagare'], + ['zz_views_lang', 'Description', 'Descrizione'], + ['zz_views_lang', 'Deadline description', 'Descrizione scadenza'], + ['zz_views_lang', 'Recipients', 'Destinatari'], + ['zz_views_lang', 'Dynamic', 'Dinamica'], + ['zz_views_lang', 'dir', 'dir'], + ['zz_views_lang', 'Direction', 'Direzione'], + ['zz_views_lang', 'Call right', 'Diritto di chiamata'], + ['zz_views_lang', 'Call right (technical)', 'Diritto di chiamata tecnico'], + ['zz_views_lang', 'Distinction', 'Distinta'], + ['zz_views_lang', 'Sender email', 'Email mittente'], + ['zz_views_lang', 'Debit/Credit', 'Esigibilità'], + ['zz_views_lang', 'Export distinta', 'Esportazione distinta'], + ['zz_views_lang', 'Expression', 'Expression'], + ['zz_views_lang', 'Invoicable', 'Fatturabile'], + ['zz_views_lang', 'Festivity', 'Festività'], + ['zz_views_lang', 'Branch', 'Filiale'], + ['zz_views_lang', 'Supplier', 'Fornitore'], + ['zz_views_lang', 'Days', 'Giorni'], + ['zz_views_lang', 'Accessible groups', 'Gruppi con accesso'], + ['zz_views_lang', 'Group', 'Gruppo'], + ['zz_views_lang', 'IBAN', 'IBAN'], + ['zz_views_lang', 'Icon', 'Icona'], + ['zz_views_lang', 'icon_Electronic invoice', 'icon_FE'], + ['zz_views_lang', 'icon_Sent', 'icon_Inviata'], + ['zz_views_lang', 'icon_Sent', 'icon_Inviato'], + ['zz_views_lang', 'icon_Default', 'icon_Predefinito'], + ['zz_views_lang', 'icon_Extimated evasion', 'icon_Prev. evasione'], + ['zz_views_lang', 'icon_Status', 'icon_Stato'], + ['zz_views_lang', 'icon_title_Electronic invoice', 'icon_title_FE'], + ['zz_views_lang', 'icon_title_Sent', 'icon_title_Inviata'], + ['zz_views_lang', 'icon_title_Sent', 'icon_title_Inviato'], + ['zz_views_lang', 'icon_title_Extimated evasion', 'icon_title_Prev. evasione'], + ['zz_views_lang', 'icon_title_Status', 'icon_title_Stato'], + ['zz_views_lang', 'Busy', 'Impegnato'], + ['zz_views_lang', 'Plants', 'Impianti'], + ['zz_views_lang', 'Taxable', 'Imponibile'], + ['zz_views_lang', 'Amount', 'Importo'], + ['zz_views_lang', 'Include holidays', 'Includi festività'], + ['zz_views_lang', 'Address', 'Indirizzo'], + ['zz_views_lang', 'Mask', 'Maschera'], + ['zz_views_lang', 'Maximum', 'Massimo'], + ['zz_views_lang', 'Registration number', 'Matricola'], + ['zz_views_lang', 'Minimum', 'Minimo'], + ['zz_views_lang', 'Module', 'Modulo'], + ['zz_views_lang', 'Initial module', 'Modulo iniziale'], + ['zz_views_lang', 'Enabled API', 'N. API abilitate'], + ['zz_views_lang', 'Protocol n°', 'N. Prot.'], + ['zz_views_lang', 'N° of users', 'N. utenti'], + ['zz_views_lang', 'Enabled users', 'N. utenti abilitati'], + ['zz_views_lang', 'Nature', 'Natura'], + ['zz_views_lang', 'Country', 'Nazione'], + ['zz_views_lang', 'Net to pay', 'Netto a pagare'], + ['zz_views_lang', 'Name', 'Nome'], + ['zz_views_lang', 'Account name', 'Nome account'], + ['zz_views_lang', 'File name', 'Nome del file'], + ['zz_views_lang', 'Displayed name', 'Nome visualizzato'], + ['zz_views_lang', 'Notes', 'Note'], + ['zz_views_lang', 'Number', 'Numero'], + ['zz_views_lang', 'Customer order number', 'Numero ordine cliente'], + ['zz_views_lang', 'Subject', 'Oggetto'], + ['zz_views_lang', 'End time', 'Ora fine'], + ['zz_views_lang', 'Start time', 'Ora inizio'], + ['zz_views_lang', 'End time', 'orario_fine'], + ['zz_views_lang', 'Start time', 'orario_inizio'], + ['zz_views_lang', 'Order', 'Ordine'], + ['zz_views_lang', 'Hours', 'Ore'], + ['zz_views_lang', 'Remaining hours', 'Ore rimanenti'], + ['zz_views_lang', 'Payment', 'Pagamento'], + ['zz_views_lang', 'Customer payment', 'Pagamento cliente'], + ['zz_views_lang', 'Supplier payment', 'Pagamento fornitore'], + ['zz_views_lang', 'Paid', 'Pagato'], + ['zz_views_lang', 'Real paid', 'pagato_reale'], + ['zz_views_lang', 'Percentage', 'Percentuale'], + ['zz_views_lang', 'Percentage profit or discount', 'Percentuale guadagno o sconto'], + ['zz_views_lang', 'Taxable percentage', 'Percentuale imponibile'], + ['zz_views_lang', 'Schedulable', 'Pianificabile'], + ['zz_views_lang', 'Plugin', 'Plugin'], + ['zz_views_lang', 'Previous run', 'Precedente esecuzione'], + ['zz_views_lang', 'Default', 'Predefinita'], + ['zz_views_lang', 'Default', 'Predefinito'], + ['zz_views_lang', 'Quote', 'Preventivo'], + ['zz_views_lang', 'Purchase price', 'Prezzo di acquisto'], + ['zz_views_lang', 'Selling price', 'Prezzo di vendita'], + ['zz_views_lang', 'Unit price', 'Prezzo unitario'], + ['zz_views_lang', 'VAT-included selling price', 'Prezzo vendita ivato'], + ['zz_views_lang', 'First note', 'Prima nota'], + ['zz_views_lang', 'Next run', 'Prossima esecuzione'], + ['zz_views_lang', 'Quantity', 'Q.tà'], + ['zz_views_lang', 'Available quantity', 'Q.tà disponibile'], + ['zz_views_lang', 'Quantity committed', 'Q.tà impegnata'], + ['zz_views_lang', 'Ordered quantity', 'Q.tà ordinata'], + ['zz_views_lang', 'Quantity', 'Quantità'], + ['zz_views_lang', 'Legal entity', 'Ragione sociale'], + ['zz_views_lang', 'Rate', 'Rate'], + ['zz_views_lang', 'Referent', 'Referente'], + ['zz_views_lang', 'Referents', 'Referenti'], + ['zz_views_lang', 'Reversed', 'Reversed'], + ['zz_views_lang', 'Gross revenue', 'Ricavi'], + ['zz_views_lang', 'Request', 'Richiesta'], + ['zz_views_lang', 'Recurring', 'Ricorrente'], + ['zz_views_lang', 'Invoice reference', 'Rif. fattura'], + ['zz_views_lang', 'References', 'Riferimenti'], + ['zz_views_lang', 'Renewable', 'Rinnovabile'], + ['zz_views_lang', 'Balance', 'Saldo'], + ['zz_views_lang', 'Due days', 'Scadenza giorni'], + ['zz_views_lang', 'Expired', 'Scaduto'], + ['zz_views_lang', 'Discount percentage', 'Sconto percentuale'], + ['zz_views_lang', 'Destination', 'Sede destinazione'], + ['zz_views_lang', 'Departure', 'Sede partenza'], + ['zz_views_lang', 'Locations', 'Sedi'], + ['zz_views_lang', 'Always visible', 'Sempre visibile'], + ['zz_views_lang', 'Service', 'Servizio'], + ['zz_views_lang', 'Sectional', 'Sezionale'], + ['zz_views_lang', 'Subcategory', 'Sottocategoria'], + ['zz_views_lang', 'Status', 'Stato'], + ['zz_views_lang', 'License plate', 'Targa'], + ['zz_views_lang', 'Technicians', 'Tecnici'], + ['zz_views_lang', 'Assigned technicians', 'Tecnici assegnati'], + ['zz_views_lang', 'Technician', 'Tecnico'], + ['zz_views_lang', 'Phone', 'Telefono'], + ['zz_views_lang', 'Themes', 'Temi'], + ['zz_views_lang', 'Template', 'Template'], + ['zz_views_lang', 'Standard time', 'Tempo standard'], + ['zz_views_lang', 'Attempts', 'Tentativi'], + ['zz_views_lang', 'Type', 'Tipo'], + ['zz_views_lang', 'Payment type', 'Tipo di pagamento'], + ['zz_views_lang', 'Delivery type', 'Tipo spedizione'], + ['zz_views_lang', 'Type', 'Tipologia'], + ['zz_views_lang', 'Title', 'Titolo'], + ['zz_views_lang', 'Document total', 'Totale documento'], + ['zz_views_lang', 'Last modification', 'Ultima modifica'], + ['zz_views_lang', 'Last attempt', 'Ultimo tentativo'], + ['zz_views_lang', 'Measure unit', 'Um'], + ['zz_views_lang', 'User', 'Utente'], + ['zz_views_lang', 'Value', 'Valore'], + ['zz_views_lang', 'Carrier', 'Vettore'], +]; + +foreach ($traduzioni as $traduzione) { + $database->query('UPDATE '.$traduzione[0].' SET `name` = "'.$traduzione[1].'" WHERE `name` = "'.$traduzione[2].'" AND `id_lang` = 2'); +} \ No newline at end of file