aboutsummaryrefslogtreecommitdiffstats
path: root/src/i18n.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-08-01 23:07:02 -0700
committerAdam Soltys <[email protected]>2026-08-01 23:07:02 -0700
commit83ad00a39863bb6a61e15977202fe2feea2ca696 (patch)
tree251325b582093cdcaf08ba52981ee9905e018e9c /src/i18n.js
parent88d93de66b9ba713c5cc1a8fc5b1528ea1d74fb8 (diff)
downloadcoinosv3-83ad00a39863bb6a61e15977202fe2feea2ca696.tar.gz
coinosv3-83ad00a39863bb6a61e15977202fe2feea2ca696.zip
Drop npub-locked gifts; collapse Nostr login behind a button
Gifts are plain bearer links again: the recipient-npub field, the one-time claim code, the DM delivery, the /lg/ claim route and the NIP-07 in-place decrypt are all gone, along with the crypto that only they used. Unclaimed gifts remain reclaimable by the sender, so nothing can be stranded by the removal. The unlock screen shows a single 'Sign in with Nostr' button that reveals the login options when tapped, instead of the full card competing with create/import. Co-Authored-By: Claude Fable 5 <[email protected]>
Diffstat (limited to 'src/i18n.js')
-rw-r--r--src/i18n.js19
1 files changed, 1 insertions, 18 deletions
diff --git a/src/i18n.js b/src/i18n.js
index c1722d2..6e62e35 100644
--- a/src/i18n.js
+++ b/src/i18n.js
@@ -234,31 +234,14 @@ const STR = {
giftExceedsBalance: 'That’s more than your balance.',
giftNeedsHeadroom: 'Gift up to {n}, or tap Max to gift your whole balance.',
giftAnother: 'Create another',
- giftLockPlaceholder: 'Lock to npub (optional)',
- giftLockHint: 'Optionally lock this gift to a nostr account: the link stays public, but only they get the claim code — sent to them as a nostr DM.',
- giftLockTo: 'For',
- giftLockInvalid: 'Not a valid npub or hex pubkey.',
- giftLockedTo: 'For',
giftForYou: 'A gift for you',
claimGift: 'Claim',
dismiss: 'Dismiss',
- giftCodeHint: 'Check your nostr direct messages for the claim code, then paste it below.',
- claimCodePlaceholder: 'Paste claim code',
- claimCodeWrong: 'That code didn’t work — check your nostr DM and try again.',
- giftDmText: "🎁 You've received a Bitcoin gift of {amount}! Claim it here: {link}\n\nClaim code: {code}",
- giftDmSent: 'Claim code sent to them via nostr DM.',
- giftDmSending: 'Sending the claim code…',
- giftDmFailed: 'Couldn’t send the nostr DM. Share this code with them privately:',
giftCopyCode: 'Copy claim code',
giftQrTooLong: 'Too large for a QR code — share the link below instead.',
giftConsolidateExplain: 'This gift would bundle {count} coins, making it costly for the recipient to claim. Splitting one coin first (~{fee}) gives them a clean single-input gift.',
giftConsolidateFirst: 'Split into one coin first',
giftUseManyCoins: 'Use {count} coins anyway',
- claimWithExtension: 'Claim with nostr extension',
- orEnterCode: 'or paste the claim code',
- extWrongAccount: 'Your extension is signed in as a different nostr account than this gift is for.',
- extNoNip44: 'Your nostr extension doesn’t support NIP-44 — paste the code instead.',
- extDecryptFailed: 'Couldn’t decrypt with the extension — try the code.',
nostrKeyTitle: 'Nostr address',
nostrKeyDesc: 'Share this so others can lock a gift to you — the claim code is sent here as a nostr DM.',
giftSplitExplain: 'This gift would lock {lock} until it’s claimed ({change} of it comes back to you then). You can split a right-sized coin first for about {fee} so only the gift amount stays locked.',
@@ -300,7 +283,6 @@ const STR = {
claimIntoExisting: 'Receive into one of your wallets:',
claimOr: 'or',
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.',
@@ -428,6 +410,7 @@ const STR = {
arkLnPayFailed: 'Payment failed',
arkLnRefunded: 'Payment failed — funds returned to your Ark balance.',
arkLnPaidTitle: 'Paid!',
+ nlSignIn: 'Sign in with Nostr',
nlTitle: 'Log in with Nostr',
nlDesc: 'Use your Nostr account to open your wallet — on any device, with the same account.',
nlExtension: 'Use browser extension',