Skip to content

Commit

Permalink
frontend/exchange: fix wrong buy/sell tabs labels
Browse files Browse the repository at this point in the history
Also remove unused "button.buy" locize label.
  • Loading branch information
Beerosagos authored and benma committed Oct 1, 2024
1 parent 4b11886 commit 2314d84
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions frontends/web/src/locales/en/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,6 @@
"button": {
"abort": "Abort",
"back": "Back",
"buy": "Buy",
"changepin": "Change device password",
"check": "Check backup",
"continue": "Continue",
Expand All @@ -398,6 +397,7 @@
"exchange": {
"bankTransfer": "Bank transfer",
"bestDeal": "Best deal",
"buy": "Buy",
"creditCard": "Credit card",
"fast": "Fast",
"fee": "fee",
Expand Down Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions frontends/web/src/routes/exchange/components/exchangetab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@ export const ExchangeTab = ({
active={activeTab === 'buy'}
onClick={() => onChangeTab('buy')}
>
{t('Buy')}
{t('buy.exchange.buy')}
</PillButton>
<PillButton
active={activeTab === 'sell'}
onClick={() => onChangeTab('sell')}
>
{t('Sell')}
{t('buy.exchange.sell')}
</PillButton>
</PillButtonGroup>
);
Expand Down

0 comments on commit 2314d84

Please sign in to comment.