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/mr.json | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'src/locales/mr.json') diff --git a/src/locales/mr.json b/src/locales/mr.json index a4c864e..ed90448 100644 --- a/src/locales/mr.json +++ b/src/locales/mr.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