From c81616ed0024c0cec693b552de5c5b6d7056eff3 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Wed, 24 Jun 2026 14:41:36 -0700 Subject: Add account switching and watch-only wallets MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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) --- src/locales/hi.json | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'src/locales/hi.json') diff --git a/src/locales/hi.json b/src/locales/hi.json index 5b88673..b3cbc36 100644 --- a/src/locales/hi.json +++ b/src/locales/hi.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 -- cgit v1.2.3