aboutsummaryrefslogtreecommitdiffstats
path: root/src/i18n.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-08-03 22:52:54 -0700
committerAdam Soltys <[email protected]>2026-08-03 22:52:54 -0700
commit7b7e93a6086171fec8a710063c86dbe5d4b9841f (patch)
tree9d38117bdd33d4323430b446c3df0df6a42d90ba /src/i18n.js
parent9510929a197fc38f1de762d99c8fde80c788ca30 (diff)
downloadcoinosv3-7b7e93a6086171fec8a710063c86dbe5d4b9841f.tar.gz
coinosv3-7b7e93a6086171fec8a710063c86dbe5d4b9841f.zip
Give the nostr settings page a way to reconnect
The app could tell you your signer wasn't connected and then send you somewhere with nothing to click: once an account was linked, the nostr card showed only an npub. It now shows connected/not connected, says what's missing, and offers the same signer options as signing in — refusing a different account rather than quietly swapping identities, since this is a reconnect and not a login. Pasted keys go back to not being persisted at all. Storing one would have survived a reload, but the UI promises a pasted key is used once and never kept, and that promise is worth more than saving a paste; those logins reconnect from this card like any other. The chat banner now tracks the live signer alone. The flag that suppressed it after a reconnect would also have hidden a later genuine disconnect. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Wvj4aoeMZwA7VUGdJP9Swi
Diffstat (limited to 'src/i18n.js')
-rw-r--r--src/i18n.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/i18n.js b/src/i18n.js
index 7c55c65..82a48b9 100644
--- a/src/i18n.js
+++ b/src/i18n.js
@@ -575,6 +575,11 @@ const STR = {
nlLinkTitle: 'Nostr account',
nlLinkDesc: 'Link this wallet to your Nostr account so you can open it on other devices by logging in with Nostr.',
nlLinkedDesc: 'This wallet opens when you log in with this Nostr account.',
+ nlConnected: 'connected',
+ nlDisconnected: 'not connected',
+ nlReconnectDesc: "Your signer isn't connected, so this app can't sign as you. Reconnect it to post and update your profile — your wallet and balance aren't affected.",
+ nlReconnected: 'Signer reconnected',
+ nlWrongAccount: 'That signer is a different Nostr account. Reconnect with {npub}.',
nlLinked: 'Wallet linked to your Nostr account',
nlNeedSeed: 'This wallet has no recovery phrase loaded.',
nlAlreadyLinked: 'That Nostr account already has a different wallet.',