aboutsummaryrefslogtreecommitdiffstats
path: root/src/locales/zh.json
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/locales/zh.json
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/locales/zh.json')
-rw-r--r--src/locales/zh.json5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/locales/zh.json b/src/locales/zh.json
index c3a3d6e..074b4e8 100644
--- a/src/locales/zh.json
+++ b/src/locales/zh.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