aboutsummaryrefslogtreecommitdiffstats
path: root/src/i18n.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-09-27 08:29:00 -0700
committerAdam Soltys <[email protected]>2026-09-27 08:29:00 -0700
commitb06bbb48e6c6c7f81a9592ab9562bb8e3042b2b6 (patch)
treee26dd2251b60ec0f73c0aa55d8d3fc5d40ca30ad /src/i18n.js
parent095b5601c0b02d05f40ae7f435f9630988bd212b (diff)
downloadcoinosv3-b06bbb48e6c6c7f81a9592ab9562bb8e3042b2b6.tar.gz
coinosv3-b06bbb48e6c6c7f81a9592ab9562bb8e3042b2b6.zip
Amber (NIP-55) signs you in on Android: one intent per request, the answer read off the clipboard or pasted.
Closes #7. A "Sign in with Amber" door on Android opens nostrsigner: intents for get_public_key, sign_event and nip44 encrypt/decrypt, with a waiting card that reads the clipboard when the tab returns (or takes a paste). Requests queue one at a time — a sign-in fires the backup, relay list and follows together — and each answer is checked for its type so a stale clipboard is never mistaken for one. An interactive signer is not asked to decrypt DMs or private lists that arrive on their own; each trip through Amber is a deliberate one. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01VhUKyXKtsJ67QAFfb7QR9D
Diffstat (limited to 'src/i18n.js')
-rw-r--r--src/i18n.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/i18n.js b/src/i18n.js
index bab913d..165dc6c 100644
--- a/src/i18n.js
+++ b/src/i18n.js
@@ -985,6 +985,12 @@ const STR = {
nlSignInNostr: 'Sign in with Nostr',
nlDesc: 'Use your Nostr account to open your wallet — on any device, with the same account.',
nlExtension: 'Use browser extension',
+ nlAmber: 'Sign in with Amber (Android)',
+ nlAmberWait: 'Waiting for your signer app… approve there, then come back here.',
+ nlAmberPasteHint: 'The answer is read from the clipboard when you return. If nothing happens, paste it here:',
+ nlAmberPastePh: 'Paste the signer’s answer',
+ nlAmberPasteBtn: 'Use it',
+ nlAmberBadPaste: 'That doesn’t look like the answer to this request.',
nlGoogle: 'Sign in with Google',
nlPasskey: 'Sign in with a passkey',
nlKeyOrBunker: 'nsec, private key, or bunker://…',