From eb299830a2611a45e997bc729176ede81c5eead2 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Wed, 24 Jun 2026 13:47:11 -0700 Subject: Make gift Reclaim a real on-chain revoke The old "Reclaim" only un-reserved the coin locally, so the gift link stayed claimable. Replace it with "Revoke": a confirmed action that sweeps the reserved coin back into the sender's own wallet at a high fee (wallet.revokeGift), double-spending the gift's presigned input so the link can't be claimed once it confirms. Races a simultaneous claimer; if the gift was already claimed the broadcast just fails. New strings translated across all 19 locales. Co-Authored-By: Claude Opus 4.8 (1M context) --- src/locales/zh.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/locales/zh.json') diff --git a/src/locales/zh.json b/src/locales/zh.json index 6de1544..2e990ba 100644 --- a/src/locales/zh.json +++ b/src/locales/zh.json @@ -158,12 +158,14 @@ "giftAmountInvalid": "请输入有效金额。", "giftAnother": "再创建一个", "giftReserved": "{n} 枚币已预留给未领取的礼物", - "giftReclaim": "收回", "claimBody": "将它领取到一个仅由你自己掌控的全新钱包中。", "claimBtn": "领取", "claimFailed": "此礼物已被领取或不再可用。", "claimedTitle": "已领取!", "claimedBody": "你的 Bitcoin 正在到账。请备份你的恢复助记词以妥善保管。", "giftLinkReveal": "创建赠送链接", - "copyLink": "复制链接" + "copyLink": "复制链接", + "giftRevoke": "撤销", + "giftRevokeConfirm": "撤销此礼物?这会将这笔币退回你的钱包,并使链接失效。", + "giftRevoked": "礼物已撤销" } \ No newline at end of file -- cgit v1.2.3