diff options
| author | Adam Soltys <[email protected]> | 2026-06-24 15:06:26 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-06-24 15:06:26 -0700 |
| commit | bdc5779b425151f47a4f5c93566a9f40f952428d (patch) | |
| tree | 0cfc95ac751f0d857d8d4ec2322fe29142c77aa0 /src/locales/zh.json | |
| parent | c81616ed0024c0cec693b552de5c5b6d7056eff3 (diff) | |
| download | coinosv3-bdc5779b425151f47a4f5c93566a9f40f952428d.tar.gz coinosv3-bdc5779b425151f47a4f5c93566a9f40f952428d.zip | |
Add optional password-encrypted persistence for full accounts
Per-account "Save on this device" encrypts a seed account into a
localStorage vault (scrypt KDF + XChaCha20-Poly1305 via @noble), so it
survives a browser close. On reopen, a vault prompt unlocks all saved
wallets with the password (or "Use another wallet" to skip). Default
stays session-only; the password is held only in memory for the session
and re-encrypts on save/forget. Wrong password fails closed (AEAD).
Adds @noble/ciphers dependency. 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.json | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/src/locales/zh.json b/src/locales/zh.json index cf7de6f..72bc340 100644 --- a/src/locales/zh.json +++ b/src/locales/zh.json @@ -189,5 +189,22 @@ "publicKey": "公钥", "publicKeyDesc": "分享它即可在另一台设备或应用上以只读方式查看此钱包。它会暴露你的地址,而非你的密钥。", "copyKey": "复制密钥", - "showPublicKey": "显示公钥" + "showPublicKey": "显示公钥", + "saveDevice": "保存到此设备", + "forgetDevice": "已保存 · 忘记", + "savedTag": "已保存", + "setPassword": "设置密码", + "setPasswordDesc": "在此设备上加密此钱包。日后需用它解锁已保存的钱包。", + "enterPassword": "输入你的密码", + "enterPasswordDesc": "解锁已保存的钱包以继续。", + "password": "密码", + "confirmPassword": "确认密码", + "pwTooShort": "请至少使用 8 个字符。", + "pwMismatch": "两次密码不一致。", + "pwWrong": "密码错误。", + "unlockSaved": "解锁已保存的钱包", + "unlockSavedDesc": "输入你的密码以打开此设备上保存的钱包。", + "unlock": "解锁", + "useAnotherWallet": "使用其他钱包", + "save": "保存" }
\ No newline at end of file |
