aboutsummaryrefslogtreecommitdiffstats
path: root/src/i18n.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-11-04 22:05:32 -0700
committerAdam Soltys <[email protected]>2026-11-04 22:05:32 -0700
commit31c4598795932b62f5cb5a7e69088561caacb7bf (patch)
treed3d22e442898e95693fc5e347d48ee14cab6d956 /src/i18n.js
parent08821882bc323c3411940f6150b4a731c1833c49 (diff)
downloadcoinosv3-31c4598795932b62f5cb5a7e69088561caacb7bf.tar.gz
coinosv3-31c4598795932b62f5cb5a7e69088561caacb7bf.zip
A Lightning invoice that Spending can't cover, with too little in Savings to move over, is offered the door that works: a Lightning receive into Spending. "can you help me" (a user, 2026-11-03, screenshot): 546 sats in Savings, 0 in Spending, a 175-sat invoice — the ask said "Move Savings into Spending first", and that button led to a board panel saying "Needs at least 1,000 sats in Savings" (the coinos server's board minimum), a dead end dressed as a way through. The ask now knows whether Savings can fund a move at all — the server's minimum, from the live manager or the last copy of its info seen, plus the board transaction's chain fee — and when it can't, says what Savings holds and what a move needs and offers "Receive over Lightning instead", which opens Spending's Receive page; a Lightning receive lands in Spending directly, no confirmation, and the invoice can be paid from there. The same question replaces the hardcoded "more than 1,000 sats in Savings" guess behind the pasted-invoice path (its error now carries the same sentence), the Ark send review's move door and the zap card's "Move sats into Spending" button (arkSavingsCanBoard hook), and the board offer's prefill honours the minimum before the manager is connected (it read 0 then, and prefilled 179). tools/ark-ln-savings-small-test.js: 546 sats → the receive door, no move button; 1,000 sats (the minimum, but not the fee on top) → the same; 5,000 → the move, straight to the board panel prefilled at the minimum
Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01VMan6TFgisGKUDhdStLUvs
Diffstat (limited to 'src/i18n.js')
-rw-r--r--src/i18n.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/i18n.js b/src/i18n.js
index db54708..36beef0 100644
--- a/src/i18n.js
+++ b/src/i18n.js
@@ -1359,6 +1359,8 @@ const STR = {
arkLnFromSavingsShort: 'Spending can’t cover this one. Move funds over from Savings first. That takes an on-chain confirmation, so ask for a fresh invoice afterwards.',
arkLnUseSpending: 'Switch to Spending and continue',
arkLnMoveFirst: 'Move Savings into Spending first',
+ arkLnSavingsTooSmall: 'Savings holds {have}, and a move into Spending needs at least {min} plus the on-chain fee. Receive over Lightning to fund Spending directly, or add to Savings first.',
+ arkLnReceiveInstead: 'Receive over Lightning instead',
arkLnFee: 'Fee',
arkLnPaying: 'Paying invoice…',
arkLnRetrying: 'Route failed. Retrying with a bigger fee budget ({n}/{of})…',