diff --git a/components/WithdrawModal.tsx b/components/WithdrawModal.tsx index f4d7c493..2288a194 100644 --- a/components/WithdrawModal.tsx +++ b/components/WithdrawModal.tsx @@ -483,7 +483,7 @@ const WithdrawModal: FunctionComponent = ({ ) : null}
-
{`You're about to withdraw`}
+
{t('about-to-withdraw')}
{inputAmount} @@ -493,7 +493,9 @@ const WithdrawModal: FunctionComponent = ({
{getBorrowAmount() > 0 ? ( -
{`Includes borrow of ~${getBorrowAmount().toFixed( +
{`${t( + 'includes-borrow' + )} ~${getBorrowAmount().toFixed( mangoGroup.tokens[tokenIndex].decimals )} ${withdrawTokenSymbol}`}
) : null} diff --git a/public/locales/en/common.json b/public/locales/en/common.json index 93b22e71..f39b8475 100644 --- a/public/locales/en/common.json +++ b/public/locales/en/common.json @@ -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", diff --git a/public/locales/zh/common.json b/public/locales/zh/common.json index 215ca717..02db93be 100644 --- a/public/locales/zh/common.json +++ b/public/locales/zh/common.json @@ -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": "帐户余额不够。请减少存入数量", diff --git a/public/locales/zh_tw/common.json b/public/locales/zh_tw/common.json index 2e10180a..cd298561 100644 --- a/public/locales/zh_tw/common.json +++ b/public/locales/zh_tw/common.json @@ -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": "帳戶餘額不夠。請減少存入數量",