aboutsummaryrefslogtreecommitdiffstats
path: root/src/features
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-09-27 15:07:30 -0700
committerAdam Soltys <[email protected]>2026-09-27 15:07:30 -0700
commite6035849f9b88bdd8cd665b868bbe121fa77e538 (patch)
treeb575589cf8757cfd61e25db2cdd24b106a8befff /src/features
parent3da7f9d52dee6a535190cd5e0db152a3689c7e8e (diff)
downloadcoinosv3-e6035849f9b88bdd8cd665b868bbe121fa77e538.tar.gz
coinosv3-e6035849f9b88bdd8cd665b868bbe121fa77e538.zip
Copy: no more em dashes, anywhere people read.
Every English string, the translations, the README and the messages the code shows people now break with a full stop, a colon or a comma instead. Only console logs and the "—" placeholder for an empty cell keep the dash. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01VhUKyXKtsJ67QAFfb7QR9D
Diffstat (limited to 'src/features')
-rw-r--r--src/features/gifts-wallet.js2
-rw-r--r--src/features/nwc.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/features/gifts-wallet.js b/src/features/gifts-wallet.js
index 6776788..824ddc0 100644
--- a/src/features/gifts-wallet.js
+++ b/src/features/gifts-wallet.js
@@ -323,7 +323,7 @@ export function installGiftWallet(wallet) {
if (change >= DUST) { eAmount = gift; }
// change would be dust: drop it into the fee, single output, honour the
// requested amount (fee = sum - gift, which must clear a 1-output fee).
- else { eAmount = gift; change = 0n; if (sum - gift < fundFee(1)) throw new Error('Not enough to cover the funding fee — try a smaller gift.'); }
+ else { eAmount = gift; change = 0n; if (sum - gift < fundFee(1)) throw new Error('Not enough to cover the funding fee. Try a smaller gift.'); }
}
if (eAmount < DUST) throw new Error('Gift amount is too small.');
// the throwaway key that holds the gift until the claimer sweeps it
diff --git a/src/features/nwc.js b/src/features/nwc.js
index 5b95975..4259207 100644
--- a/src/features/nwc.js
+++ b/src/features/nwc.js
@@ -924,7 +924,7 @@ export function nwcFeature(ctx) {
h('div', { class: 'small faint' }, t('nwcTabWarning')),
lastError
? h('div', { class: 'notice err', style: 'font-size:11px' },
- `${new Date(lastError.at).toLocaleTimeString()} — ${lastError.why}`)
+ `${new Date(lastError.at).toLocaleTimeString()}: ${lastError.why}`)
: null,
lastSeen
? h('div', { class: 'small faint' },