aboutsummaryrefslogtreecommitdiffstats
path: root/src/i18n.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-06-28 17:32:55 -0700
committerAdam Soltys <[email protected]>2026-06-28 17:32:55 -0700
commit6fd4469cd09226a3a8672251bc825a26945fcad5 (patch)
tree155b561cbba8405b86fea8443de3afbbbbf31b99 /src/i18n.js
parenta267f7f37fd178ebb58871188067b571b18a67f1 (diff)
downloadcoinosv3-6fd4469cd09226a3a8672251bc825a26945fcad5.tar.gz
coinosv3-6fd4469cd09226a3a8672251bc825a26945fcad5.zip
Gifts: let recipients claim into an existing wallet, not just a new one
Opening a gift link when you already have wallet(s) now shows a 'Choose where to receive it' screen — each known wallet (full accounts this session plus the durable directory, deduped by xpub) plus 'Receive into a new wallet'. A first-timer with no wallets goes straight to a fresh wallet as before. Claiming into an existing wallet activates it non-provisionally and sweeps the gift to its receive address (watch-only is fine — re-enter the seed to spend), skipping the new-seed backup step. Both bearer and locked (NIP-17) gifts route through the same claimGift() entry. Verified in-browser: selection lists the wallet + new option + amount; claim-into-address mechanic proven on regtest. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Diffstat (limited to 'src/i18n.js')
-rw-r--r--src/i18n.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/i18n.js b/src/i18n.js
index 047509b..babe3e0 100644
--- a/src/i18n.js
+++ b/src/i18n.js
@@ -288,6 +288,10 @@ const STR = {
giftRevoked: 'Gift revoked',
copyLink: 'Copy link',
claimBody: 'Claim it into a brand-new wallet that only you control.',
+ claimIntoPrompt: 'Choose where to receive it.',
+ claimNewWallet: 'Receive into a new wallet',
+ goToWallet: 'Go to wallet',
+ giftClaimedToast: 'Gift claimed',
claimBtn: 'Claim it',
claimFeeNote: '~{n} fee',
claimFailed: 'This gift has already been claimed or is no longer available.',