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/ar.json | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/locales/ar.json') diff --git a/src/locales/ar.json b/src/locales/ar.json index 57f2ea6..bbac720 100644 --- a/src/locales/ar.json +++ b/src/locales/ar.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