From 3463af1d81c2712d657bbf30ecba98ffe5873729 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Wed, 24 Jun 2026 14:12:46 -0700 Subject: Fee-aware gift minimum; move gift entrypoint to Send page MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Minimum: the flat 546-sat floor is replaced by a fee-aware minimum (dust + one claim fee of headroom, floored at 546) via giftMinimum(), so the recipient clears dust comfortably even if fees rise before they claim — e.g. ~1000 sats at 5 sat/vB, ~7300 at 50. The create form shows the live minimum and rejects below it; buildClaimTx keeps the hard 294-sat dust guard as a final backstop (claim fails rather than handing over dust). UI: the gift entrypoint moves from Settings to a "Gift some Bitcoin" link on the Send page, opening the gift view as a send sub-view with a back button. New strings translated across all 19 locales. Co-Authored-By: Claude Opus 4.8 (1M context) --- src/locales/hi.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/locales/hi.json') diff --git a/src/locales/hi.json b/src/locales/hi.json index 880841d..5b88673 100644 --- a/src/locales/hi.json +++ b/src/locales/hi.json @@ -155,7 +155,7 @@ "giftLinkDesc": "एक राशि को लिंक के रूप में पहले से साइन करें। जो भी इसे खोलेगा, वह Bitcoin को एक बिल्कुल नए वॉलेट में प्राप्त कर लेगा जिसे केवल वही नियंत्रित करता है।", "giftLinkWarn": "⚠ जो भी इस लिंक को खोलेगा वह राशि प्राप्त कर सकता है, इसलिए इसे केवल उसी व्यक्ति के साथ साझा करें जिसे आप उपहार दे रहे हैं। राशि कम रखें।", "giftAmountLabel": "उपहार में देने की राशि", - "giftAmountInvalid": "एक मान्य राशि दर्ज करें।", + "giftAmountInvalid": "कम से कम {n} दर्ज करें।", "giftAnother": "एक और बनाएँ", "giftReserved": "बिना दावे वाले उपहार लिंक ({n})", "claimBody": "इसे एक बिल्कुल नए वॉलेट में प्राप्त करें जिसे केवल आप नियंत्रित करते हैं।", @@ -171,5 +171,6 @@ "giftReclaimPrompt": "वापस लेने से यह सिक्का आपके अगले भुगतान के लिए मुक्त हो जाता है, लेकिन जब तक आप इसे खर्च नहीं करते, लिंक दावा-योग्य रहता है। इसके बजाय अभी रद्द करने के लिए नेटवर्क शुल्क चुकाएं?", "giftReclaimed": "सिक्का वापस लिया गया", "giftRevokeConfirm": "इस उपहार को अभी रद्द करें? यह सिक्का आपके वॉलेट में वापस भेजता है और लिंक को निष्क्रिय कर देता है।", - "giftReclaimedTag": "अब भी दावा-योग्य" + "giftReclaimedTag": "अब भी दावा-योग्य", + "giftMinNote": "मौजूदा शुल्क पर कम से कम {n}, ताकि दावा करते समय यह डस्ट से ऊपर रहे।" } \ No newline at end of file -- cgit v1.2.3