From a4fbb2de7e6b7f9f697325b0470cf9e84ad7af7c Mon Sep 17 00:00:00 2001 From: Denny Biasiolli Date: Sun, 14 Oct 2018 14:34:15 +0200 Subject: [PATCH] creating italian localization file (#310) --- BTCPayServer/Services/LanguageService.cs | 1 + BTCPayServer/Views/Invoice/Checkout.cshtml | 2 + BTCPayServer/wwwroot/checkout/js/langs/it.js | 54 ++++++++++++++++++++ 3 files changed, 57 insertions(+) create mode 100644 BTCPayServer/wwwroot/checkout/js/langs/it.js diff --git a/BTCPayServer/Services/LanguageService.cs b/BTCPayServer/Services/LanguageService.cs index e50998d00..82742dfd7 100644 --- a/BTCPayServer/Services/LanguageService.cs +++ b/BTCPayServer/Services/LanguageService.cs @@ -33,6 +33,7 @@ namespace BTCPayServer.Services new Language("cs-CZ", "Česky"), new Language("is-IS", "Íslenska"), new Language("hr-HR", "Croatian"), + new Language("it-IT", "Italiano"), new Language("ru-RU", "русский"), new Language("zh-SP", "中文(简体)"), }; diff --git a/BTCPayServer/Views/Invoice/Checkout.cshtml b/BTCPayServer/Views/Invoice/Checkout.cshtml index b63af397a..a22babd7a 100644 --- a/BTCPayServer/Views/Invoice/Checkout.cshtml +++ b/BTCPayServer/Views/Invoice/Checkout.cshtml @@ -121,6 +121,8 @@ 'cs-CZ': { translation: locales_cs }, 'is-IS': { translation: locales_is }, 'hr-HR': { translation: locales_hr }, + 'it-IT': { translation: locales_it }, + 'hr-HR': { translation: locales_hr }, 'ru-RU': { translation: locales_ru }, 'zh-SP': { translation: locales_zh_sp } }, diff --git a/BTCPayServer/wwwroot/checkout/js/langs/it.js b/BTCPayServer/wwwroot/checkout/js/langs/it.js new file mode 100644 index 000000000..12ada3e4f --- /dev/null +++ b/BTCPayServer/wwwroot/checkout/js/langs/it.js @@ -0,0 +1,54 @@ +const locales_it = { + nested: { + lang: 'Lingua' + }, + "Awaiting Payment...": "In attesa del Pagamento...", + "Pay with": "Paga con", + "Contact and Refund Email": "Email di Contatto e Rimborso", + "Contact_Body": "Inserisci un indirizzo email qui sotto. Ti contatteremo a questo indirizzo in caso di problemi con il pagamento.", + "Your email": "La tua email", + "Continue": "Continua", + "Please enter a valid email address": "Inserisci un indirizzo email valido", + "Order Amount": "Importo dell'Ordine", + "Network Cost": "Costi di Rete", + "Already Paid": "Già pagato", + "Due": "Dovuto", + // Tabs + "Scan": "Scansiona", + "Copy": "Copia", + "Conversion": "Conversione", + // Scan tab + "Open in wallet": "Apri nel portafoglio", + // Copy tab + "CompletePay_Body": "Per completare il pagamento, inviare {{btcDue}} {{cryptoCode}} all'indirizzo riportato di seguito.", + "Amount": "Importo", + "Address": "Indirizzo", + "Copied": "Copiato", + // Conversion tab + "ConversionTab_BodyTop": "Puoi pagare {{btcDue}} {{cryptoCode}} usando altcoin diverse da quelle che il commerciante supporta direttamente.", + "ConversionTab_BodyDesc": "Questo servizio è fornito da terze parti. Si prega di tenere presente che non abbiamo alcun controllo su come i fornitori inoltreranno i fondi. La fattura verrà contrassegnata solo dopo aver ricevuto i fondi su {{cryptoCode}} Blockchain.", + "Shapeshift_Button_Text": "Paga con Altcoin", + "ConversionTab_Lightning": "Nessun fornitore di conversione disponibile per i pagamenti Lightning Network.", + // Invoice expired + "Invoice expiring soon...": "Fattura in scadenza a breve...", + "Invoice expired": "Fattura scaduta", + "What happened?": "Cosa è successo?", + "InvoiceExpired_Body_1": "Questa fattura è scaduta. Una fattura è valida solo per {{maxTime minuti}} minuti. \ +Puoi tornare a {{store name}} se desideri inviare nuovamente il pagamento.", + "InvoiceExpired_Body_2": "Se hai provato a inviare un pagamento, non è ancora stato accettato dalla rete. Non abbiamo ancora ricevuto i tuoi fondi.", + "InvoiceExpired_Body_3": "Se la transazione non viene accettata dalla rete, i fondi saranno nuovamente spendibili nel tuo portafoglio. A seconda del portafoglio, potrebbero essere necessarie 48-72 ore.", + "Invoice ID": "Numero della Fattura", + "Order ID": "Numero dell'Ordine", + "Return to StoreName": "Ritorna a {{storeName}}", + // Invoice paid + "This invoice has been paid": "La fattura è stata pagata", + // Invoice archived + "This invoice has been archived": "TQuesta fattura è stata pagata", + "Archived_Body": "Contatta il negozio per informazioni sull'ordine o per assistenza", + // Lightning + "BOLT 11 Invoice": "Fattura BOLT 11", + "Node Info": "Informazioni sul Nodo", + // + "txCount": "{{count}} transazione", + "txCount_plural": "{{count}} transazioni" +};