aboutsummaryrefslogtreecommitdiffstats
path: root/src/locales/zh.json
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-06-24 14:41:36 -0700
committerAdam Soltys <[email protected]>2026-06-24 14:41:36 -0700
commitc81616ed0024c0cec693b552de5c5b6d7056eff3 (patch)
treea26b493f6590f3be33569c62f4f2769c60c32662 /src/locales/zh.json
parent3463af1d81c2712d657bbf30ecba98ffe5873729 (diff)
downloadcoinosv3-c81616ed0024c0cec693b552de5c5b6d7056eff3.tar.gz
coinosv3-c81616ed0024c0cec693b552de5c5b6d7056eff3.zip
Add account switching and watch-only wallets
Accounts: a switcher (header chip → Accounts screen) lets you keep several wallets loaded and flip between them without re-importing. Per the chosen model, full (seed) accounts live only in sessionStorage — ephemeral, no seed on disk; watch-only accounts (no seed) are persisted in localStorage and reload across restarts. enterWallet is refactored around an accounts list (add/switch/remove/lock); Add wallet reaches the unlock screen with a back button. Watch-only: load any wallet from its account xpub/zpub (parseAccountKey normalizes zpub→xpub; the existing public-derivation path yields the same addresses). Signing is blocked, the Send tab and seed/sync/offline cards are hidden, and a watch-only note is shown. Settings gains a "Public key" card (export this wallet's zpub) so it can be watched read-only elsewhere. Password-encrypted persistence for full accounts is the planned next step. New strings translated across all 19 locales. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Diffstat (limited to 'src/locales/zh.json')
-rw-r--r--src/locales/zh.json19
1 files changed, 18 insertions, 1 deletions
diff --git a/src/locales/zh.json b/src/locales/zh.json
index 074b4e8..cf7de6f 100644
--- a/src/locales/zh.json
+++ b/src/locales/zh.json
@@ -172,5 +172,22 @@
"giftReclaimed": "已收回",
"giftRevokeConfirm": "立即撤销此礼物?这会将这笔币退回你的钱包并使链接失效。",
"giftReclaimedTag": "仍可领取",
- "giftMinNote": "按当前手续费至少 {n},以便领取时高于尘埃。"
+ "giftMinNote": "按当前手续费至少 {n},以便领取时高于尘埃。",
+ "accounts": "账户",
+ "addWallet": "添加钱包",
+ "lockAll": "全部锁定",
+ "remove": "移除",
+ "watchOnly": "仅查看",
+ "watchOnlyTag": "仅查看",
+ "watchOnlyAdd": "添加仅查看",
+ "watchOnlyDesc": "通过账户公钥查看任意钱包。你可以接收并查看余额和历史记录,但无法发送。",
+ "watchOnlyNote": "这是一个仅查看钱包。你可以接收并查看,但无法发送。",
+ "watchXpubLabel": "账户 xpub 或 zpub",
+ "labelOptional": "标签(可选)",
+ "walletLabelN": "钱包 {n}",
+ "watchLabelN": "查看 {n}",
+ "publicKey": "公钥",
+ "publicKeyDesc": "分享它即可在另一台设备或应用上以只读方式查看此钱包。它会暴露你的地址,而非你的密钥。",
+ "copyKey": "复制密钥",
+ "showPublicKey": "显示公钥"
} \ No newline at end of file