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/ur.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/locales/ur.json') diff --git a/src/locales/ur.json b/src/locales/ur.json index 0d523d6..ebc667e 100644 --- a/src/locales/ur.json +++ b/src/locales/ur.json @@ -157,7 +157,7 @@ "giftLinkReveal": "تحفہ لنک بنائیں", "copyLink": "لنک کاپی کریں", "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