From 2314d84153261f1ecb8c35819b0b347a8ce6e070 Mon Sep 17 00:00:00 2001 From: beerosagos Date: Tue, 1 Oct 2024 09:40:22 +0200 Subject: [PATCH] frontend/exchange: fix wrong buy/sell tabs labels Also remove unused "button.buy" locize label. --- frontends/web/src/locales/en/app.json | 5 +++-- frontends/web/src/routes/exchange/components/exchangetab.tsx | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/frontends/web/src/locales/en/app.json b/frontends/web/src/locales/en/app.json index 45e048b489..8010b28994 100644 --- a/frontends/web/src/locales/en/app.json +++ b/frontends/web/src/locales/en/app.json @@ -372,7 +372,6 @@ "button": { "abort": "Abort", "back": "Back", - "buy": "Buy", "changepin": "Change device password", "check": "Check backup", "continue": "Continue", @@ -398,6 +397,7 @@ "exchange": { "bankTransfer": "Bank transfer", "bestDeal": "Best deal", + "buy": "Buy", "creditCard": "Credit card", "fast": "Fast", "fee": "fee", @@ -459,7 +459,8 @@ }, "noExchanges": "Sorry, there are no available exchanges in this region.", "region": "Region", - "selectRegion": "Not specified" + "selectRegion": "Not specified", + "sell": "Sell" }, "info": { "continue": "Agree and continue", diff --git a/frontends/web/src/routes/exchange/components/exchangetab.tsx b/frontends/web/src/routes/exchange/components/exchangetab.tsx index b12c57ad08..7fb535b773 100644 --- a/frontends/web/src/routes/exchange/components/exchangetab.tsx +++ b/frontends/web/src/routes/exchange/components/exchangetab.tsx @@ -36,13 +36,13 @@ export const ExchangeTab = ({ active={activeTab === 'buy'} onClick={() => onChangeTab('buy')} > - {t('Buy')} + {t('buy.exchange.buy')} onChangeTab('sell')} > - {t('Sell')} + {t('buy.exchange.sell')} );