From a51bceaf4160c693a6485ec106364f94c4232d2a Mon Sep 17 00:00:00 2001 From: Jon Tzeng Date: Thu, 24 Oct 2024 12:15:10 -0700 Subject: [PATCH] Update `GuiPluginListScene` with new title --- src/components/scenes/GuiPluginListScene.tsx | 4 +++- src/locales/en_US.ts | 1 + src/locales/strings/enUS.json | 1 + src/util/ukComplianceUtils.ts | 1 + 4 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/components/scenes/GuiPluginListScene.tsx b/src/components/scenes/GuiPluginListScene.tsx index 0bd9463fbb5..2691a279e22 100644 --- a/src/components/scenes/GuiPluginListScene.tsx +++ b/src/components/scenes/GuiPluginListScene.tsx @@ -419,7 +419,9 @@ class GuiPluginList extends React.PureComponent { <> diff --git a/src/locales/en_US.ts b/src/locales/en_US.ts index 6f6460e2858..c4a18d70a45 100644 --- a/src/locales/en_US.ts +++ b/src/locales/en_US.ts @@ -1639,6 +1639,7 @@ const strings = { uk_ways_to_buy_1s: 'Ways to Buy %1$s', uk_ways_to_sell_1s: 'Ways to Sell %1$s', + uk_get_quote_provider_1s: 'Get %1$s Quote from 3rd Party Provider', // #endregion UK Compliance diff --git a/src/locales/strings/enUS.json b/src/locales/strings/enUS.json index 8d72caa8852..5af5b210fae 100644 --- a/src/locales/strings/enUS.json +++ b/src/locales/strings/enUS.json @@ -1416,6 +1416,7 @@ "button_support": "Contact Support", "uk_ways_to_buy_1s": "Ways to Buy %1$s", "uk_ways_to_sell_1s": "Ways to Sell %1$s", + "uk_get_quote_provider_1s": "Get %1$s Quote from 3rd Party Provider", "redacted_placeholder": "●●●●", "insufficient_funds_2s": "Insufficient %1$s (%2$s).", "split_from_1s": "Split from %1$s", diff --git a/src/util/ukComplianceUtils.ts b/src/util/ukComplianceUtils.ts index 61cf0c2f0df..666e47e89d7 100644 --- a/src/util/ukComplianceUtils.ts +++ b/src/util/ukComplianceUtils.ts @@ -3,6 +3,7 @@ import { lstrings } from '../locales/strings' const UK_COMPLIANT_STRING_MAP: { [key: string]: { default: LocaleStringKey; gb: LocaleStringKey } } = { buy_1s: { default: 'buy_1s', gb: 'uk_ways_to_buy_1s' }, + buy_1s_title: { default: 'buy_1s', gb: 'uk_get_quote_provider_1s' }, sell_1s: { default: 'buy_1s', gb: 'uk_ways_to_sell_1s' }, stake_earn_1s: { default: 'stake_earn_1s', gb: 'stake_stake_1s' }, stake_earn_button_label: { default: 'stake_earn_button_label', gb: 'fragment_stake_label' },