From e30c0623c28815a8249c32a79e28afbbc9e88633 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Wed, 24 Jun 2026 16:39:55 -0700 Subject: Fold watch-only into Import; support xprv spending import MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Home screen is back to two tabs (Create / Import). The Import box now takes a recovery phrase, an xpub/zpub, or an xprv/zprv: - mnemonic → full wallet (as before) - xpub/zpub → watch-only (view/receive, no Send) - xprv/zprv → full spending wallet with no mnemonic. parseExtendedKey classifies + normalizes version bytes; account() derives the BIP84 path from a master xprv (depth 0) or uses an account-level xprv as-is; signing works (only watch-only blocks it). Vault persists xprv accounts too; Settings shows an "Imported key" note instead of a recovery card and hides Nostr sync (no seed). Public-key export still works. Note: a seed phrase cannot be derived from an xprv (one-way KDF), so an xprv wallet has no recovery words by design. New strings in all 19 locales. Co-Authored-By: Claude Opus 4.8 (1M context) --- src/locales/ur.json | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/locales/ur.json') diff --git a/src/locales/ur.json b/src/locales/ur.json index 55f7801..cddfcc6 100644 --- a/src/locales/ur.json +++ b/src/locales/ur.json @@ -176,7 +176,6 @@ "accounts": "اکاؤنٹس", "addWallet": "والیٹ شامل کریں", "lockAll": "سب کو لاک کریں", - "remove": "ہٹائیں", "watchOnly": "صرف دیکھنے کے لیے", "watchOnlyTag": "صرف دیکھنے کے لیے", "watchOnlyAdd": "صرف دیکھنے والا شامل کریں", @@ -206,5 +205,10 @@ "unlockSavedDesc": "اس ڈیوائس پر محفوظ شدہ والیٹ کھولنے کے لیے اپنا پاس ورڈ درج کریں۔", "unlock": "کھولیں", "useAnotherWallet": "کوئی اور والیٹ استعمال کریں", - "save": "محفوظ کریں" + "save": "محفوظ کریں", + "importLabel": "ریکوری فقرہ یا کلید", + "importPlaceholder": "آپ کے 12 یا 24 الفاظ، یا ایک xpub / xprv", + "invalidImport": "یہ درست ریکوری فقرہ، xpub یا xprv نہیں ہے۔", + "importedKey": "درآمد شدہ کلید", + "importedKeyNote": "یہ والیٹ ایک توسیعی نجی کلید سے درآمد کیا گیا تھا، اس لیے کوئی ریکوری فقرہ نہیں ہے۔ والیٹ برقرار رکھنے کے لیے اسی کلید کا بیک اپ رکھیں۔" } \ No newline at end of file -- cgit v1.2.3