add missing translations to withdrawModal
This commit is contained in:
parent
9f69a001b0
commit
25bb4413bf
|
@ -483,7 +483,7 @@ const WithdrawModal: FunctionComponent<WithdrawModalProps> = ({
|
|||
</div>
|
||||
) : null}
|
||||
<div className="bg-th-bkg-1 p-4 rounded-lg text-th-fgd-1 text-center">
|
||||
<div className="text-th-fgd-3 pb-1">{`You're about to withdraw`}</div>
|
||||
<div className="text-th-fgd-3 pb-1">{t('about-to-withdraw')}</div>
|
||||
<div className="flex items-center justify-center">
|
||||
<div className="font-semibold relative text-xl">
|
||||
{inputAmount}
|
||||
|
@ -493,7 +493,9 @@ const WithdrawModal: FunctionComponent<WithdrawModalProps> = ({
|
|||
</div>
|
||||
</div>
|
||||
{getBorrowAmount() > 0 ? (
|
||||
<div className="pt-2 text-th-fgd-4">{`Includes borrow of ~${getBorrowAmount().toFixed(
|
||||
<div className="pt-2 text-th-fgd-4">{`${t(
|
||||
'includes-borrow'
|
||||
)} ~${getBorrowAmount().toFixed(
|
||||
mangoGroup.tokens[tokenIndex].decimals
|
||||
)} ${withdrawTokenSymbol}`}</div>
|
||||
) : null}
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
{
|
||||
"about-to-withdraw": "You're about to withdraw",
|
||||
"above": "Above",
|
||||
"accept": "Accept",
|
||||
"account": "Account",
|
||||
|
@ -103,6 +104,7 @@
|
|||
"hourly-deposit-interest": "Hourly Deposit Interest",
|
||||
"hourly-funding": "Hourly Funding",
|
||||
"in-orders": "In Orders",
|
||||
"includes-borrow": "Includes borrow of",
|
||||
"init-error": "Could not perform init margin account and deposit operation",
|
||||
"init-health": "Init Health",
|
||||
"insufficient-balance-deposit": "Insufficient balance. Reduce the amount to deposit",
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
{
|
||||
"about-to-withdraw": "您正在存款",
|
||||
"above": "以上",
|
||||
"accept": "接受",
|
||||
"account": "帐户",
|
||||
|
@ -103,6 +104,7 @@
|
|||
"hourly-deposit-interest": "1小时存款利息",
|
||||
"hourly-funding": "1小时资金费",
|
||||
"in-orders": "在掛单中",
|
||||
"includes-borrow": "包括存入",
|
||||
"init-error": "创建保证金帐户与存款出错了",
|
||||
"init-health": "初始健康度",
|
||||
"insufficient-balance-deposit": "帐户余额不够。请减少存入数量",
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
{
|
||||
"about-to-withdraw": "您正在存款",
|
||||
"above": "以上",
|
||||
"accept": "接受",
|
||||
"account": "帳戶",
|
||||
|
@ -103,6 +104,7 @@
|
|||
"hourly-deposit-interest": "1小時存款利息",
|
||||
"hourly-funding": "1小時資金費",
|
||||
"in-orders": "在掛單中",
|
||||
"includes-borrow": "包括存入",
|
||||
"init-error": "創建保證金帳戶與存款出錯了",
|
||||
"init-health": "初始健康度",
|
||||
"insufficient-balance-deposit": "帳戶餘額不夠。請減少存入數量",
|
||||
|
|
Loading…
Reference in New Issue