From 89f85a977209a3e050b22ffb7268a1f59ab5c151 Mon Sep 17 00:00:00 2001 From: TingALin Date: Thu, 14 Sep 2023 15:39:49 +0700 Subject: [PATCH] translations --- src/locale/cn/modals.json | 1 + src/locale/cn/pages.json | 1 + src/locale/en/modals.json | 1 + src/locale/en/pages.json | 1 + src/modals/Accounts/Account.tsx | 2 +- src/pages/Overview/BalanceChart.tsx | 2 +- 6 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/locale/cn/modals.json b/src/locale/cn/modals.json index 68a6fee78e..3976d878bf 100644 --- a/src/locale/cn/modals.json +++ b/src/locale/cn/modals.json @@ -91,6 +91,7 @@ "feedbackPage": "我们的反馈页面在", "for": "委托人 {{who}}", "forget": "清除", + "free": "可用余额", "getAnotherAccount": "获取更多帐户", "gettingAccount": "正在获取帐户", "gettingAddress": "正在获取地址...", diff --git a/src/locale/cn/pages.json b/src/locale/cn/pages.json index b04224001d..d26ad4c9ab 100644 --- a/src/locale/cn/pages.json +++ b/src/locale/cn/pages.json @@ -99,6 +99,7 @@ "proxy": "代理账户", "recentPayouts": "最近收益", "reserve": "储备", + "reserveBalance": "预存金额", "reserved": "己储备", "start": "开始", "subscanDisabled": "Subscan己断开", diff --git a/src/locale/en/modals.json b/src/locale/en/modals.json index 0b22da9924..cdd7bda4ac 100644 --- a/src/locale/en/modals.json +++ b/src/locale/en/modals.json @@ -96,6 +96,7 @@ "feedbackPage": "We host a feedback page on", "for": "For {{who}}", "forget": "Forget", + "free": "可使用余额", "getAnotherAccount": "Get Another Account", "gettingAccount": "Getting Account", "gettingAddress": "Getting Address...", diff --git a/src/locale/en/pages.json b/src/locale/en/pages.json index 2e29683528..e1fec5f3e3 100644 --- a/src/locale/en/pages.json +++ b/src/locale/en/pages.json @@ -101,6 +101,7 @@ "proxy": "Proxy", "recentPayouts": "Recent Payouts", "reserve": "Reserve", + "reserveBalance": "Reserve Balance", "reserved": "Reserved", "start": "Start", "subscanDisabled": "Subscan Disabled", diff --git a/src/modals/Accounts/Account.tsx b/src/modals/Accounts/Account.tsx index 6eb4b8b22e..8f3a27a88d 100644 --- a/src/modals/Accounts/Account.tsx +++ b/src/modals/Accounts/Account.tsx @@ -137,7 +137,7 @@ export const AccountButton = ({
- {`Free: ${planckToUnit(freeBalance, units) + {`${t('free')}: ${planckToUnit(freeBalance, units) .decimalPlaces(3) .toFormat()} ${unit}`} diff --git a/src/pages/Overview/BalanceChart.tsx b/src/pages/Overview/BalanceChart.tsx index 64238cf655..9f2642d6b7 100644 --- a/src/pages/Overview/BalanceChart.tsx +++ b/src/pages/Overview/BalanceChart.tsx @@ -243,7 +243,7 @@ export const BalanceChart = () => { label="" button={ openModal({ key: 'UpdateReserve', size: 'sm' }) }