From e6035849f9b88bdd8cd665b868bbe121fa77e538 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Sun, 27 Sep 2026 15:07:30 -0700 Subject: Copy: no more em dashes, anywhere people read. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Claude-Session: https://claude.ai/code/session_01VhUKyXKtsJ67QAFfb7QR9D --- src/nostr-login.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/nostr-login.js') 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 {} } -- cgit v1.2.3