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