diff options
| author | Adam Soltys <[email protected]> | 2026-06-28 14:25:09 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-06-28 14:25:09 -0700 |
| commit | a267f7f37fd178ebb58871188067b571b18a67f1 (patch) | |
| tree | 1b31c134c568fa04f0305f1e604d693310217d72 /src/i18n.js | |
| parent | 06376a71d4b9a4f579095933d91fe0a369b5e0fe (diff) | |
| download | coinosv3-a267f7f37fd178ebb58871188067b571b18a67f1.tar.gz coinosv3-a267f7f37fd178ebb58871188067b571b18a67f1.zip | |
Gifts: re-view link/QR for unclaimed gifts + mark claimed ones in history
Persist a per-account gift record (shareable link/code + amount, plus a locked
gift's claim code) when a gift is created, so:
- Unclaimed gifts in History get a 'Gift link' button that re-opens the QR + link
(and the claim code for locked gifts), to re-share without recreating the gift.
- Once a gift's coin is spent and we didn't revoke it, it shows in History as
'claimed' instead of vanishing. Revoking marks the record so a reclaim isn't
mislabelled as claimed.
Verified on regtest: create → outstanding=1, link stored; after the recipient
claims → outstanding=0, claimed=1 with the right amount.
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Diffstat (limited to 'src/i18n.js')
| -rw-r--r-- | src/i18n.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/i18n.js b/src/i18n.js index 3562337..047509b 100644 --- a/src/i18n.js +++ b/src/i18n.js @@ -269,6 +269,9 @@ const STR = { newWalletBody: 'Back up your recovery phrase to keep it safe.', giftHistoryTitle: 'Gift link', giftUnclaimedTag: 'unclaimed', + giftClaimedTag: 'claimed', + giftView: 'Gift link', + giftCodeLabel: 'Claim code (sent via DM)', giftCancel: 'Cancel', viewAllGifts: 'View all gifts ({n})', prevPage: '‹ Prev', |
