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/vi.json | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/locales/vi.json') diff --git a/src/locales/vi.json b/src/locales/vi.json index 2c7786f..4de3cd0 100644 --- a/src/locales/vi.json +++ b/src/locales/vi.json @@ -158,12 +158,14 @@ "giftAmountInvalid": "Nhập một số tiền hợp lệ.", "giftAnother": "Tạo cái khác", "giftReserved": "{n} coin được để dành cho các món quà chưa nhận", - "giftReclaim": "Lấy lại", "claimBody": "Nhận nó vào một ví hoàn toàn mới mà chỉ riêng bạn kiểm soát.", "claimBtn": "Nhận ngay", "claimFailed": "Món quà này đã được nhận hoặc không còn khả dụng.", "claimedTitle": "Đã nhận!", "claimedBody": "Bitcoin của bạn đang trên đường tới. Hãy sao lưu cụm từ khôi phục để giữ an toàn.", "giftLinkReveal": "Tạo liên kết tặng", - "copyLink": "Sao chép liên kết" -} + "copyLink": "Sao chép liên kết", + "giftRevoke": "Thu hồi", + "giftRevokeConfirm": "Thu hồi quà này? Việc này chuyển đồng coin về ví của bạn và khiến liên kết ngừng hoạt động.", + "giftRevoked": "Đã thu hồi quà" +} \ No newline at end of file -- cgit v1.2.3