Skip to content

Commit 1954f11

Browse files
committed
Merge branch 'frontend-btcdirect-sell-title' into staging-btcdirect-sell
2 parents 0b94b87 + 716e8e5 commit 1954f11

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

frontends/web/src/locales/en/app.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -815,7 +815,10 @@
815815
"receive": "Receive {{coinCode}}",
816816
"receive_bitcoin": "Receive Bitcoin",
817817
"receive_crypto": "Receive crypto",
818-
"search": "Search…"
818+
"search": "Search…",
819+
"sell": "Sell {{coinCode}}",
820+
"sell_bitcoin": "Sell Bitcoin",
821+
"sell_crypto": "Sell crypto"
819822
},
820823
"genericError": "An error occurred. If you notice any issues, please restart the application.",
821824
"goal": {

frontends/web/src/routes/exchange/btcdirect.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,12 @@ export const BTCDirect = ({
247247
<div className={style.header}>
248248
<Header title={
249249
<h2>
250-
{t('generic.buy', { context: translationContext })}
250+
{action === 'buy' ? (
251+
t('generic.buy', { context: translationContext })
252+
) : (
253+
t('generic.sell', { context: translationContext })
254+
)}
255+
{}
251256
</h2>
252257
} />
253258
</div>

0 commit comments

Comments
 (0)