From 2f9e573101b9e0e31ee3cae3245fa3a59db3e0b0 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Mon, 29 Jun 2026 08:32:41 -0700 Subject: Swaps: say 'Swap fee' / provider-agnostic copy instead of naming Boltz MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The fee label and status copy shouldn't hardcode the provider, since the swap backend is configurable. 'Boltz fee' → 'Swap fee', and the pay/settle messages no longer name Boltz. (The settings card still says 'Boltz-compatible provider', which is an accurate description of the API standard.) Co-Authored-By: Claude Opus 4.8 (1M context) --- src/app.js | 2 +- src/i18n.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app.js b/src/app.js index 43c639c..7d4dad7 100644 --- a/src/app.js +++ b/src/app.js @@ -2573,7 +2573,7 @@ function swapListView() { (s.kind === 'submarine' && s.status === 'success') ? h('div', { class: 'small', style: 'color:#36d36b' }, 'Invoice paid ✓') : null, (s.kind === 'submarine' && ['funding', 'paying'].includes(s.status)) - ? h('div', { class: 'small faint' }, 'Funding lockup / waiting for Boltz to pay…') : null, + ? h('div', { class: 'small faint' }, 'Funding lockup / waiting for the swap to settle…') : null, (s.kind === 'submarine' && s.status === 'refundable') ? h('div', { class: 'col', style: 'gap:4px' }, h('div', { class: 'small', style: 'color:#e0a13a' }, 'Payment failed — refundable after timeout block ' + s.timeoutBlockHeight), diff --git a/src/i18n.js b/src/i18n.js index 9403dcc..57cdc32 100644 --- a/src/i18n.js +++ b/src/i18n.js @@ -360,12 +360,12 @@ const STR = { lnQuoting: 'Getting a quote…', lnPayTitle: 'Pay over Lightning', lnPayAmount: 'Amount', - lnPayBoltzFee: 'Boltz fee', + lnPayBoltzFee: 'Swap fee', lnPayNetworkFee: 'Network fee', lnPayTotal: 'Total', lnPayConfirm: 'Pay', lnPaySentTitle: 'Lightning payment sent', - lnPaySentBody: 'Boltz pays the invoice once the on-chain lockup confirms.', + lnPaySentBody: 'The invoice is paid once the on-chain lockup confirms.', spScan: 'Scan for silent payments', spScanning: 'Scanning…', spWatching: 'Watching for payments', -- cgit v1.2.3