aboutsummaryrefslogtreecommitdiffstats
path: root/src/i18n.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-06-24 14:12:46 -0700
committerAdam Soltys <[email protected]>2026-06-24 14:12:46 -0700
commit3463af1d81c2712d657bbf30ecba98ffe5873729 (patch)
tree897aa78d3aa3f9227b6a3de00132ded16607033a /src/i18n.js
parent1a92d81b792f9e6d2ecb284aab979985a36d34c7 (diff)
downloadcoinosv3-3463af1d81c2712d657bbf30ecba98ffe5873729.tar.gz
coinosv3-3463af1d81c2712d657bbf30ecba98ffe5873729.zip
Fee-aware gift minimum; move gift entrypoint to Send page
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) <[email protected]>
Diffstat (limited to 'src/i18n.js')
-rw-r--r--src/i18n.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/i18n.js b/src/i18n.js
index 57475dc..abb9015 100644
--- a/src/i18n.js
+++ b/src/i18n.js
@@ -151,7 +151,8 @@ const STR = {
giftLinkWarn: '⚠ Anyone who opens this link can claim the amount, so share it only with the person you are gifting. Keep amounts small.',
giftLinkReveal: 'Create gift link',
giftAmountLabel: 'Amount to gift',
- giftAmountInvalid: 'Enter a valid amount.',
+ giftAmountInvalid: 'Enter at least {n}.',
+ giftMinNote: 'Minimum {n} at current fees, so it clears dust when claimed.',
giftAnother: 'Create another',
giftReserved: 'Unclaimed gift links ({n})',
giftReclaim: 'Reclaim',