Skip to content

Commit

Permalink
feat(neuron-ui): add more translation of nervos dao
Browse files Browse the repository at this point in the history
  • Loading branch information
Keith-CY committed Nov 13, 2019
1 parent 154a892 commit 3c62598
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const DepositDialog = ({
</Text>
<Stack>
<Text as="h2" variant="large">
{t('nervos-dao.notice')}
{`${t('nervos-dao.notice')}:`}
</Text>
{t('nervos-dao.deposit-terms')
.split('\n')
Expand Down
3 changes: 1 addition & 2 deletions packages/neuron-ui/src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
13 changes: 6 additions & 7 deletions packages/neuron-ui/src/locales/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -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 取出",
Expand All @@ -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 后执行此操作"
}
}
Expand Down

0 comments on commit 3c62598

Please sign in to comment.