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/bn.json | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'src/locales/bn.json') diff --git a/src/locales/bn.json b/src/locales/bn.json index 27d657b..211d077 100644 --- a/src/locales/bn.json +++ b/src/locales/bn.json @@ -170,5 +170,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