Skip to content

Commit 3c62598

Browse files
committed
feat(neuron-ui): add more translation of nervos dao
1 parent 154a892 commit 3c62598

3 files changed

Lines changed: 8 additions & 10 deletions

File tree

packages/neuron-ui/src/components/NervosDAO/DepositDialog.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ const DepositDialog = ({
6161
</Text>
6262
<Stack>
6363
<Text as="h2" variant="large">
64-
{t('nervos-dao.notice')}
64+
{`${t('nervos-dao.notice')}:`}
6565
</Text>
6666
{t('nervos-dao.deposit-terms')
6767
.split('\n')

packages/neuron-ui/src/locales/en.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -325,9 +325,8 @@
325325
"proceed": "Proceed",
326326
"deposit-value": "Deposit",
327327
"interest": "Interest",
328-
"yield": "Yield",
329328
"notice-wait-time": "Notice: You need to wait {{epochs}} epochs {{blocks}} blocks(~{{days}} days) to claim the saving.",
330-
"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",
329+
"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.",
331330
"deposited-action-label": "Withdraw",
332331
"withdrawing-action-label": "Claim",
333332
"minimal-fee-required": "The minimum deposit capacity is {{minimal}} CKB",

packages/neuron-ui/src/locales/zh.json

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -315,8 +315,8 @@
315315
"deposit-records": "存款记录",
316316
"apy": "预期年化利率",
317317
"deposit-at": "存入于{{time}}",
318-
"claim": "Claim",
319-
"withdraw": "Withdraw",
318+
"claim": "取款",
319+
"withdraw": "结算",
320320
"fee": "手续费",
321321
"deposit-to-nervos-dao": "存入 Nervos DAO",
322322
"withdraw-from-nervos-dao": "从 Nervos DAO 取出",
@@ -325,16 +325,15 @@
325325
"proceed": "继续",
326326
"deposit-value": "存款",
327327
"interest": "利息",
328-
"yield": "Yield",
329328
"notice-wait-time": "注意: 您需要等待 {{epochs}} epochs {{blocks}} 区块(~{{days}}天)完成最终取款。",
330-
"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",
331-
"deposited-action-label": "Withdraw",
332-
"withdrawing-action-label": "Claim",
329+
"deposit-terms": "Nervos DAO 是一个系统层面的去中心化底层设施。您在其中存款是十分安全的。\n根据 Nervos DAO 的协议, 您需要等待至少 180 epochs 才能取回您的存款。",
330+
"deposited-action-label": "结算",
331+
"withdrawing-action-label": "取款",
333332
"minimal-fee-required": "存入金额应不少于 {{minimal}} CKB",
334333
"interest-accumulated": "已累计 {{blockNumber}} 个块的利息",
335334
"blocks-left": " 还需等待 {{epochs}} epochs {{blocks}} 个块(~{{days}} 天)",
336335
"withdraw-alert": "风险提示:距离 NervosDAO 规定的最近一个允许提现 epoch 仅剩下 {{epochs}} 个 epoch,存在提现交易拥堵无法上链从而导致只能在下一个提现周期(约 {{days}} 天)的风险",
337-
"insufficient-alert-title": "Insufficient Period",
336+
"insufficient-alert-title": "未达到要求周期",
338337
"insufficient-alert-message": "Nervos DAO 要求您在至少 4 个 epochs 后执行此操作"
339338
}
340339
}

0 commit comments

Comments
 (0)