From 16d5bc80f4b265aa1622b1679d8f90fc816fd7e0 Mon Sep 17 00:00:00 2001 From: Mark Moffat Date: Sat, 14 Mar 2020 11:37:21 +1030 Subject: [PATCH] Fixed some payment display options --- locales/en.json | 2 +- locales/it.json | 2 +- views/settings.hbs | 7 ++++++- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/locales/en.json b/locales/en.json index d0fd2f1..761a045 100644 --- a/locales/en.json +++ b/locales/en.json @@ -109,7 +109,7 @@ "This is used as the \"from\" email when sending receipts to your customers.": "This is used as the \"from\" email when sending receipts to your customers.", "Orders over this value will mean the shipped will the FREE. Set to high value if you always want to charge shipping.": "Orders over this value will mean the shipped will the FREE. Set to high value if you always want to charge shipping.", "Payment gateway": "Payment gateway", - "Payment_Gateway_Info": "You will also need to configure your payment gateway credentials in the `/config/<gateway_name>.json` file.", + "Payment_Gateway_Info": "You will also need to configure your payment gateway credentials in the `/config/.json` file.", "Currency symbol": "Currency symbol", "Set this to your currency symbol. Eg: $, £, €": "Set this to your currency symbol. Eg: $, £, €", "Theme": "Theme", diff --git a/locales/it.json b/locales/it.json index 3266f34..58b5ab2 100644 --- a/locales/it.json +++ b/locales/it.json @@ -111,7 +111,7 @@ "Cart Email": "Cart Email", "Orders over this value will mean the shipped will the FREE. Set to high value if you always want to charge shipping.": "Ordini oltre questo valore avranno la spedizione GRATUITA. Configura un alto valore se vuoi sempre addebitare la spedizione.", "Payment gateway": "Gateway pagamento", - "Payment_Gateway_Info": "Dovrai configurare anche le tue credenziali per il gateway di pagamento nel file `/config/<gateway_name>.json`.", + "Payment_Gateway_Info": "Dovrai configurare anche le tue credenziali per il gateway di pagamento nel file `/config/.json`.", "Currency symbol": "Simbolo valuta", "Set this to your currency symbol. Eg: $, £, €": "Configura il simbolo della tua valuta. Es: $, £, €", "Theme": "Tema", diff --git a/views/settings.hbs b/views/settings.hbs index 501aff1..5bda1a8 100644 --- a/views/settings.hbs +++ b/views/settings.hbs @@ -36,6 +36,9 @@

{{ @root.__ "Payment_Gateway_Info" }}

@@ -45,6 +48,7 @@

{{ @root.__ "Set this to your currency symbol. Eg: $, £, €" }}

+ {{#ifCond config.paymentGateway '==' 'blockonomics'}}

{{ @root.__ "Currency used for Blockonomics conversion" }}

-
+ + {{/ifCond}}