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