From 3c625985e61e058c9d4038ccc3150dbde9f91153 Mon Sep 17 00:00:00 2001 From: Keith Date: Wed, 13 Nov 2019 09:52:48 +0800 Subject: [PATCH] feat(neuron-ui): add more translation of nervos dao --- .../src/components/NervosDAO/DepositDialog.tsx | 2 +- packages/neuron-ui/src/locales/en.json | 3 +-- packages/neuron-ui/src/locales/zh.json | 13 ++++++------- 3 files changed, 8 insertions(+), 10 deletions(-) diff --git a/packages/neuron-ui/src/components/NervosDAO/DepositDialog.tsx b/packages/neuron-ui/src/components/NervosDAO/DepositDialog.tsx index 43e1d8a8b6..216d5ba756 100644 --- a/packages/neuron-ui/src/components/NervosDAO/DepositDialog.tsx +++ b/packages/neuron-ui/src/components/NervosDAO/DepositDialog.tsx @@ -61,7 +61,7 @@ const DepositDialog = ({ - {t('nervos-dao.notice')} + {`${t('nervos-dao.notice')}:`} {t('nervos-dao.deposit-terms') .split('\n') diff --git a/packages/neuron-ui/src/locales/en.json b/packages/neuron-ui/src/locales/en.json index 0db1b58bc4..9e2aa0a38b 100644 --- a/packages/neuron-ui/src/locales/en.json +++ b/packages/neuron-ui/src/locales/en.json @@ -325,9 +325,8 @@ "proceed": "Proceed", "deposit-value": "Deposit", "interest": "Interest", - "yield": "Yield", "notice-wait-time": "Notice: You need to wait {{epochs}} epochs {{blocks}} blocks(~{{days}} days) to claim the saving.", - "deposit-terms": "Nervos DAO is a system layer decentralized infrastructure. Your saving here is secure.\nAccording to the Nervos DAO protocol, you need at least 180 epochs to withdraw your deposit", + "deposit-terms": "Nervos DAO is a system layer decentralized infrastructure. Your saving here is secure.\nAccording to the Nervos DAO protocol, you need at least 180 epochs to withdraw your deposit.", "deposited-action-label": "Withdraw", "withdrawing-action-label": "Claim", "minimal-fee-required": "The minimum deposit capacity is {{minimal}} CKB", diff --git a/packages/neuron-ui/src/locales/zh.json b/packages/neuron-ui/src/locales/zh.json index 732dd1e728..c09d821e65 100644 --- a/packages/neuron-ui/src/locales/zh.json +++ b/packages/neuron-ui/src/locales/zh.json @@ -315,8 +315,8 @@ "deposit-records": "存款记录", "apy": "预期年化利率", "deposit-at": "存入于{{time}}", - "claim": "Claim", - "withdraw": "Withdraw", + "claim": "取款", + "withdraw": "结算", "fee": "手续费", "deposit-to-nervos-dao": "存入 Nervos DAO", "withdraw-from-nervos-dao": "从 Nervos DAO 取出", @@ -325,16 +325,15 @@ "proceed": "继续", "deposit-value": "存款", "interest": "利息", - "yield": "Yield", "notice-wait-time": "注意: 您需要等待 {{epochs}} epochs {{blocks}} 区块(~{{days}}天)完成最终取款。", - "deposit-terms": "Nervos DAO is a system layer decentralized infrastructure. Your saving here is secure.\nAccording to the Nervos DAO protocol, you need at least 180 epochs to withdraw your deposit", - "deposited-action-label": "Withdraw", - "withdrawing-action-label": "Claim", + "deposit-terms": "Nervos DAO 是一个系统层面的去中心化底层设施。您在其中存款是十分安全的。\n根据 Nervos DAO 的协议, 您需要等待至少 180 个 epochs 才能取回您的存款。", + "deposited-action-label": "结算", + "withdrawing-action-label": "取款", "minimal-fee-required": "存入金额应不少于 {{minimal}} CKB", "interest-accumulated": "已累计 {{blockNumber}} 个块的利息", "blocks-left": " 还需等待 {{epochs}} epochs {{blocks}} 个块(~{{days}} 天)", "withdraw-alert": "风险提示:距离 NervosDAO 规定的最近一个允许提现 epoch 仅剩下 {{epochs}} 个 epoch,存在提现交易拥堵无法上链从而导致只能在下一个提现周期(约 {{days}} 天)的风险", - "insufficient-alert-title": "Insufficient Period", + "insufficient-alert-title": "未达到要求周期", "insufficient-alert-message": "Nervos DAO 要求您在至少 4 个 epochs 后执行此操作" } }