aboutsummaryrefslogtreecommitdiffstats
path: root/src/i18n.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-06-26 09:03:49 -0700
committerAdam Soltys <[email protected]>2026-06-26 09:03:49 -0700
commiteef3193729ccea2c3d712cda9381c24325fac260 (patch)
treedd22d714a3667773a73fc42e3b0a88b3171bdbae /src/i18n.js
parent190c849cf9ce1c09501fedea33020098c8026c1d (diff)
downloadcoinosv3-eef3193729ccea2c3d712cda9381c24325fac260.tar.gz
coinosv3-eef3193729ccea2c3d712cda9381c24325fac260.zip
Fold the coinos opt-out into a single Data source picker
Replace the Esplora|Electrum backend toggle plus the separate 'Instant notifications' on/off with one 'Data source' selector: • coinos (instant) — default; explorer data + coinos push • Block explorer — REST + polling, nothing sent to coinos (the opt-out) • Electrum server — one WS server for data + push (your node / public) Picking a non-coinos source IS the privacy opt-out, so the standalone toggle is gone. A single 'mode' setting drives getBackend()/getRealtimeEnabled(), so the wallet/wsUrl logic is unchanged; existing per-feature settings migrate in (realtime=off → explorer, backend=electrum → electrum). coinos⇄explorer just flips the watcher (no rescan); to/from electrum rebuilds the backend. Sets up cleanly for a future coinos Fulcrum: 'coinos' mode upgrades from REST+watcher to a full Electrum backend transparently. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Diffstat (limited to 'src/i18n.js')
-rw-r--r--src/i18n.js12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/i18n.js b/src/i18n.js
index aa8b499..e3341a7 100644
--- a/src/i18n.js
+++ b/src/i18n.js
@@ -260,14 +260,16 @@ const STR = {
explorerUrl: 'Server URL',
explorerUrlHint: 'Esplora / electrs REST base, e.g. https://mempool.space/api',
dataSource: 'Data source',
- backendEsplora: 'Explorer',
- backendElectrum: 'Electrum',
- backendElectrumDesc: 'Fetch data and get instant payments over one Electrum WebSocket. Point it at your own Fulcrum/electrs for a fully self-hosted wallet — no coinos, no REST.',
+ dataSourceDesc: 'Where Hal reads the chain and how it learns about incoming payments.',
+ modeCoinos: 'coinos (instant)',
+ modeCoinosDesc: 'The default. Instant payment alerts via coinos, with chain data from a public block explorer.',
+ modeExplorer: 'Block explorer',
+ modeExplorerDesc: 'Reads from your chosen block explorer and polls for payments — nothing is sent to coinos. A bit slower.',
+ modeElectrum: 'Electrum server',
+ backendElectrumDesc: 'Data and instant payments over one Electrum WebSocket. Point it at your own Fulcrum/electrs for a fully self-hosted wallet — no coinos, no REST.',
electrumUrl: 'Electrum server (wss://)',
electrumUrlHint: 'A WebSocket Electrum server, e.g. wss://your-node:50004',
silentPaymentNote: 'Silent payment',
- instantNotif: 'Instant notifications',
- instantNotifDesc: 'Uses coinos to push payments the instant they arrive. Turn off to poll the explorer above instead — a bit slower, but your addresses are never sent to coinos.',
deviceSync: 'Device sync',
deviceSyncDesc: 'Keep this wallet in sync across your devices by storing an encrypted copy on a Nostr relay — only a device with your seed can read it. Turn it off to keep everything on this device.',
syncAcross: 'Sync across devices',