Skip to content

Commit dd0c7dc

Browse files
committed
feat(neuron-ui): add content in deposit notice
1 parent 1784095 commit dd0c7dc

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ const WithdrawDialog = ({
100100
</span>
101101
</Text>
102102
<div>
103-
<Text as="p" variant="medium" block>
103+
<Text as="p" variant="small" block>
104104
{message}
105105
</Text>
106106
<Text as="p" variant="xSmall" block styles={{ root: { color: 'red' } }}>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@
326326
"deposit-value": "Deposit",
327327
"interest": "Interest",
328328
"notice-wait-time": "Notice: You need to wait {{epochs}} epochs {{blocks}} blocks(~{{days}} days) to claim the saving.",
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.",
329+
"deposit-terms": "Nervos DAO needs 102 CKB for receipt storage, which is not interest-bearing.\nNervos 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.",
330330
"deposited-action-label": "Withdraw",
331331
"withdrawing-action-label": "Claim",
332332
"minimal-fee-required": "The minimum deposit capacity is {{minimal}} CKB",

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@
326326
"deposit-value": "存款",
327327
"interest": "利息",
328328
"notice-wait-time": "注意: 您需要等待 {{epochs}} epochs {{blocks}} 区块(~{{days}}天)完成最终取款。",
329-
"deposit-terms": "Nervos DAO 是一个系统层面的去中心化底层设施。您在其中存款是十分安全的。\n根据 Nervos DAO 的协议, 您需要等待至少 180 个 epochs 才能取回您的存款。",
329+
"deposit-terms": "存入 NervosDAO 的资产中需要 102 CKB 作为存款凭证的存储,这部分 CKB 是无法产生利息的。\nNervos DAO 是一个系统层面的去中心化底层设施。您在其中存款是十分安全的。\n根据 Nervos DAO 的协议, 您需要等待至少 180 个 epochs 才能取回您的存款。",
330330
"deposited-action-label": "结算",
331331
"withdrawing-action-label": "取款",
332332
"minimal-fee-required": "存入金额应不少于 {{minimal}} CKB",

0 commit comments

Comments
 (0)