From dc41596f8e0776d67f93a075fb24e4711a5f60c2 Mon Sep 17 00:00:00 2001 From: shubham Date: Tue, 2 Jul 2024 19:33:30 +0530 Subject: [PATCH 1/3] Change token to discount code --- locales/en.json | 2 +- views/Settings/LSPS1/index.tsx | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/locales/en.json b/locales/en.json index 8c535f61b..1820701c7 100644 --- a/locales/en.json +++ b/locales/en.json @@ -982,7 +982,7 @@ "views.LSPS1.requiredChannelConfirmations": "Required channel confirmations", "views.LSPS1.minFundingConfirmWithingBlocks": "Min funding confirm within blocks", "views.LSPS1.minRequiredChannelConfirmations": "Min required channel confirmations", - "views.LSPS1.token": "Token", + "views.LSPS1.token": "Discount code", "views.LSPS1.refundOnchainAddress": "Refund onchain address", "views.LSPS1.getQuote": "Get quote", "views.LSPS1.createOrder": "Create order", diff --git a/views/Settings/LSPS1/index.tsx b/views/Settings/LSPS1/index.tsx index d26208955..cb4135c49 100644 --- a/views/Settings/LSPS1/index.tsx +++ b/views/Settings/LSPS1/index.tsx @@ -1177,7 +1177,9 @@ export default class LSPS1 extends React.Component { )} this.setState({ From e3112bef163470b370ffe54acc232feba6f60597 Mon Sep 17 00:00:00 2001 From: shubham Date: Mon, 8 Jul 2024 23:46:31 +0530 Subject: [PATCH 2/3] Update locale on LSP settings --- views/Settings/LSP.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/views/Settings/LSP.tsx b/views/Settings/LSP.tsx index 413625aca..0c4ef9088 100644 --- a/views/Settings/LSP.tsx +++ b/views/Settings/LSP.tsx @@ -266,9 +266,7 @@ export default class LSP extends React.Component { color: themeColor('secondaryText') }} > - {`${localeString( - 'views.Settings.LSP.lspAccessKey' - )}`} + {`${localeString('views.LSPS1.token')}`} Date: Tue, 9 Jul 2024 14:14:14 +0530 Subject: [PATCH 3/3] Updated locales --- locales/en.json | 3 +-- views/Settings/LSP.tsx | 2 +- views/Settings/LSPS1/Settings.tsx | 2 +- views/Settings/LSPS1/index.tsx | 4 ++-- 4 files changed, 5 insertions(+), 6 deletions(-) diff --git a/locales/en.json b/locales/en.json index 1820701c7..bb8023abb 100644 --- a/locales/en.json +++ b/locales/en.json @@ -117,6 +117,7 @@ "general.noLabel": "No label", "general.used": "Used", "general.unused": "Unused", + "general.discountCode": "Discount code", "restart.title": "Restart required", "restart.msg": "ZEUS has to be restarted before the new configuration is applied.", "restart.msg1": "Would you like to restart now?", @@ -880,7 +881,6 @@ "views.Settings.EmbeddedNode.LNDLogs.copyLogs": "Copy logs to clipboard", "views.Settings.LSP.enableLSP": "Enable Lightning Service Provider (LSP)", "views.Settings.LSP.enableLSP.subtitle": "The LSP will get you connected to the Lightning network by opening up payment channels for you.", - "views.Settings.LSP.lspAccessKey": "LSP Access Key (if needed)", "views.Settings.LSP.requestSimpleTaproot": "Request Simple Taproot Channels", "views.Settings.LSP.toProceed": "To proceed with using the LSP, the following settings must be configured:", "views.Settings.LSP.zeroConfChans": "Zero-conf channels", @@ -982,7 +982,6 @@ "views.LSPS1.requiredChannelConfirmations": "Required channel confirmations", "views.LSPS1.minFundingConfirmWithingBlocks": "Min funding confirm within blocks", "views.LSPS1.minRequiredChannelConfirmations": "Min required channel confirmations", - "views.LSPS1.token": "Discount code", "views.LSPS1.refundOnchainAddress": "Refund onchain address", "views.LSPS1.getQuote": "Get quote", "views.LSPS1.createOrder": "Create order", diff --git a/views/Settings/LSP.tsx b/views/Settings/LSP.tsx index 0c4ef9088..65402fa9f 100644 --- a/views/Settings/LSP.tsx +++ b/views/Settings/LSP.tsx @@ -266,7 +266,7 @@ export default class LSP extends React.Component { color: themeColor('secondaryText') }} > - {`${localeString('views.LSPS1.token')}`} + {`${localeString('general.discountCode')}`} - {localeString('views.LSPS1.token')} + {localeString('general.discountCode')} { }} > {localeString( - 'views.LSPS1.token' + 'general.discountCode' )}