Skip to content

Commit b6c04f5

Browse files
authored
Merge pull request #2151 from nervosnetwork/fix/update-hint
update hint of synchronization and warning of change
2 parents d6a6b45 + 644a6dd commit b6c04f5

File tree

6 files changed

+18
-18
lines changed

6 files changed

+18
-18
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -492,8 +492,8 @@
492492
"102": "$t(messages.fields.{{fieldName}}) is invalid.",
493493
"103": "$t(messages.fields.keystore-password) is incorrect.",
494494
"104": "Fail to connect to the node, please restart Neuron.",
495-
"105": "You need more capacities for change (at least 61 CKBytes).",
496-
"106": "You need more capacities for change (at least 61 CKBytes), or slide to the end to send all your balance.",
495+
"105": "You need more capacities for change (more than 61 CKBytes).",
496+
"106": "You need more capacities for change (more than 61 CKBytes), or slide to the end to send all your balance.",
497497
"107": "The amount {{amount}} CKB is too small, transfer with locktime requires an amount no less than 69 CKB.",
498498
"108": "The given address does not belong to current wallet. Please check your wallet or wait for synchronizing complete.",
499499
"109": "Insufficient balance.",
@@ -502,7 +502,7 @@
502502
"112": "Wallet {{id}} not found.",
503503
"113": "Keystore is invalid, please check your file integrity.",
504504
"114": "The minimal transfer balance is {{bytes}} CKBytes.",
505-
"115": "You need more capacities for change (at least 61 CKBytes), or click 'Max' button to send all your balance.",
505+
"115": "You need more capacities for change (more than 61 CKBytes), or click 'Max' button to send all your balance.",
506506
"201": "$t(messages.fields.{{fieldName}}) is required.",
507507
"202": "$t(messages.fields.{{fieldName}}) {{fieldValue}} is used.",
508508
"203": "$t(messages.fields.{{fieldName}}) {{fieldValue}} is too long, it should be shorter than or equal to {{length}}.",
@@ -526,7 +526,7 @@
526526
"402": "CKB App does not open. Please open the CKB App on your device.",
527527
"403": "No device detected. Please connect your device.",
528528
"404": "Multiple device detected. Only one device of the same model can be connected.",
529-
"600": "Please make sure the sync has finalized before you do any operation."
529+
"600": "Please make sure the sync has finalized before you do any transaction related operation."
530530
}
531531
},
532532
"sync": {

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -485,8 +485,8 @@
485485
"102": "$t(messages.fields.{{fieldName}})無效。",
486486
"103": "$t(messages.fields.keystore-password)不正確。",
487487
"104": "未連接到節點,請重啓 Neuron。",
488-
"105": "您需要有足夠的餘額來支付找零(至少61 CKBytes)。",
489-
"106": "您需要有足夠的餘額來支付找零(至少61 CKBytes),或者拖動滑塊到最右端發送全部餘額。",
488+
"105": "您需要有足夠的餘額來支付找零(大于 61 CKBytes)。",
489+
"106": "您需要有足夠的餘額來支付找零(大于 61 CKBytes),或者拖動滑塊到最右端發送全部餘額。",
490490
"107": "金額 {{amount}} CKB 太小,含鎖定時間轉帳需要輸入一個不小於 69 CKB 的值。",
491491
"108": "當前錢包地址列表中不包含輸入地址,請檢查錢包設置或等待同步完成。",
492492
"109": "餘額不足。",
@@ -495,7 +495,7 @@
495495
"112": "未找到錢包 {{id}}。",
496496
"113": "Keystore 格式錯誤,請檢查檔案完整性。",
497497
"114": "最小轉帳金額為 {{bytes}} CKBytes。",
498-
"115": "您需要有足夠的餘額來支付找零(至少61 CKBytes),或者點擊 'Max' 按鈕發送全部餘額。",
498+
"115": "您需要有足夠的餘額來支付找零(大于 61 CKBytes),或者點擊 'Max' 按鈕發送全部餘額。",
499499
"201": "缺少$t(messages.fields.{{fieldName}})。",
500500
"202": "$t(messages.fields.{{fieldName}}) {{fieldValue}} 已被使用。",
501501
"203": "$t(messages.fields.{{fieldName}}) {{fieldValue}} 太長,其長度應不超過 {{length}}。",
@@ -519,7 +519,7 @@
519519
"402": "CKB 應用未打開。請在妳的設備打開 CKB 應用。",
520520
"403": "未檢測到設備,請檢查妳的設備連接。",
521521
"404": "檢測到多個設備,同一型號的設備只能同時連接一個。",
522-
"600": "做任何錢包操作前請先確保同步已完成"
522+
"600": "做任何交易相關的錢包操作前請先確保同步已完成"
523523
}
524524
},
525525
"sync": {

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -485,8 +485,8 @@
485485
"102": "$t(messages.fields.{{fieldName}})无效。",
486486
"103": "$t(messages.fields.keystore-password) 不正确。",
487487
"104": "未连接到节点,请重启 Neuron。",
488-
"105": "您需要有足够的余额来支付找零(至少 61 CKBytes)。",
489-
"106": "您需要有足够的余额来支付找零(至少 61 CKBytes),或者拖动滑块到最右端发送全部余额。",
488+
"105": "您需要有足够的余额来支付找零(大于 61 CKBytes)。",
489+
"106": "您需要有足够的余额来支付找零(大于 61 CKBytes),或者拖动滑块到最右端发送全部余额。",
490490
"107": "金额 {{amount}} CKB 太小, 含锁定时间转账需要输入一个不小于 69 CKB 的值。",
491491
"108": "当前钱包地址列表中不包含输入地址,请检查钱包设置或等待同步完成。",
492492
"109": "余额不足。",
@@ -495,7 +495,7 @@
495495
"112": "未找到钱包 {{id}}。",
496496
"113": "Keystore 格式不正确,请检查文件完整性。",
497497
"114": "最小转账金额为 {{bytes}} CKBytes。",
498-
"115": "您需要有足够的余额来支付找零(至少 61 CKBytes),或者点击 'Max' 按钮发送全部余额。",
498+
"115": "您需要有足够的余额来支付找零(大于 61 CKBytes),或者点击 'Max' 按钮发送全部余额。",
499499
"201": "缺少$t(messages.fields.{{fieldName}})。",
500500
"202": "$t(messages.fields.{{fieldName}}) {{fieldValue}} 已被使用。",
501501
"203": "$t(messages.fields.{{fieldName}}) {{fieldValue}} 太长, 其长度应不超过 {{length}}。",
@@ -519,7 +519,7 @@
519519
"402": "CKB 应用未打开。请在你的设备打开 CKB 应用。",
520520
"403": "未检测到设备,请检查你的设备连接。",
521521
"404": "检查到多个设备,同一型号的设备只能同时连接一个。",
522-
"600": "做任何钱包操作前请先确保同步已完成"
522+
"600": "做任何交易相关的钱包操作前请先确保同步已完成"
523523
}
524524
},
525525
"sync": {

packages/neuron-wallet/src/locales/en.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@ export default {
9292
'invalid-mnemonic': 'Wallet seed is invalid, please check it again.',
9393
'unsupported-cipher': 'Unsupported cipher.',
9494
'capacity-not-enough': 'Insufficient balance.',
95-
'capacity-not-enough-for-change': "You need more capacities for change (at least 61 CKBytes).",
96-
'capacity-not-enough-for-change-by-transfer': "You need more capacities for change (at least 61 CKBytes), or click 'Max' button to send all your balance.",
95+
'capacity-not-enough-for-change': "You need more capacities for change (more than 61 CKBytes).",
96+
'capacity-not-enough-for-change-by-transfer': "You need more capacities for change (more than 61 CKBytes), or click 'Max' button to send all your balance.",
9797
'live-capacity-not-enough': 'Insufficient available balance, please try again when last transaction has been confirmed.',
9898
'capacity-too-small': 'The minimal transfer balance is {{bytes}} CKBytes.',
9999
'should-be-type-of': '{{field}} should be type of {{type}}.',

packages/neuron-wallet/src/locales/zh-tw.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ export default {
9191
'invalid-mnemonic': '助記詞無效,請檢查。',
9292
'unsupported-cipher': '不支持的 Cipher。',
9393
'capacity-not-enough': '餘額不足。',
94-
'capacity-not-enough-for-change': "您需要有足够的餘額來支付找零(至少 61 CKBytes)。",
95-
'capacity-not-enough-for-change-by-transfer': "您需要有足够的餘額來支付找零(至少 61 CKBytes),或者點擊 'Max' 按鈕發送全部餘額。",
94+
'capacity-not-enough-for-change': "您需要有足够的餘額來支付找零(大于 61 CKBytes)。",
95+
'capacity-not-enough-for-change-by-transfer': "您需要有足够的餘額來支付找零(大于 61 CKBytes),或者點擊 'Max' 按鈕發送全部餘額。",
9696
'live-capacity-not-enough': '可用餘額不足,請等待上一筆交易上鏈。',
9797
'capacity-too-small': '最小轉帳金額為 {{bytes}} CKBytes。',
9898
'should-be-type-of': '{{field}} 應該為 {{type}} 類型。',

packages/neuron-wallet/src/locales/zh.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ export default {
9191
'invalid-mnemonic': '助记词不合法,请检查。',
9292
'unsupported-cipher': '不支持的 Cipher。',
9393
'capacity-not-enough': '余额不足。',
94-
'capacity-not-enough-for-change': "您需要有足够的余额来支付找零(至少 61 CKBytes)。",
95-
'capacity-not-enough-for-change-by-transfer': "您需要有足够的余额来支付找零(至少 61 CKBytes),或者点击 'Max' 按钮发送全部余额。",
94+
'capacity-not-enough-for-change': "您需要有足够的余额来支付找零(大于 61 CKBytes)。",
95+
'capacity-not-enough-for-change-by-transfer': "您需要有足够的余额来支付找零(大于 61 CKBytes),或者点击 'Max' 按钮发送全部余额。",
9696
'live-capacity-not-enough': '可用余额不足,请等待上一笔交易上链。',
9797
'capacity-too-small': '最小转账金额为 {{bytes}} CKBytes。',
9898
'should-be-type-of': '{{field}} 应该为 {{type}} 类型。',

0 commit comments

Comments
 (0)