diff options
| author | Adam Soltys <[email protected]> | 2026-09-27 15:07:30 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-09-27 15:07:30 -0700 |
| commit | e6035849f9b88bdd8cd665b868bbe121fa77e538 (patch) | |
| tree | b575589cf8757cfd61e25db2cdd24b106a8befff /src/nostr-login.js | |
| parent | 3da7f9d52dee6a535190cd5e0db152a3689c7e8e (diff) | |
| download | coinosv3-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/nostr-login.js')
| -rw-r--r-- | src/nostr-login.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nostr-login.js b/src/nostr-login.js index 085d985..d6cb978 100644 --- a/src/nostr-login.js +++ b/src/nostr-login.js @@ -466,12 +466,12 @@ export async function fetchWalletBackup(signer, relays = BACKUP_RELAYS) { return pool.querySync([url], filter, { maxWait: 6000 }); })); const answered = results.filter((r) => r.status === 'fulfilled'); - if (!answered.length) throw new Error('could not reach any relay to look for an existing wallet — check your connection and try again'); + if (!answered.length) throw new Error('could not reach any relay to look for an existing wallet. Check your connection and try again'); const newest = answered.flatMap((r) => r.value).sort((a, b) => b.created_at - a.created_at)[0]; if (!newest) return null; let body; try { body = JSON.parse(await signer.decryptSelf(newest.content)); } - catch { throw new Error('found this account’s wallet but could not decrypt it — approve the decryption prompt in your signer and try again'); } + catch { throw new Error('found this account’s wallet but could not decrypt it. Approve the decryption prompt in your signer and try again'); } if (!body || !body.mnemonic) throw new Error('found this account’s wallet backup but it is unreadable'); return body; } finally { try { pool.close(relays); } catch {} } |
