summaryrefslogtreecommitdiffstats
path: root/src/i18n.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-08-02 23:48:31 -0700
committerAdam Soltys <[email protected]>2026-08-02 23:48:31 -0700
commit4b191f4eb8ad519e982f6667f2b540cdd77e539a (patch)
tree07c409c93e0e0d99df249ad40bf95da67ed99eb6 /src/i18n.js
parent02d60eb824cad0b8c09cb5685a6c2dbe02e16c4f (diff)
downloadcoinosv3-4b191f4eb8ad519e982f6667f2b540cdd77e539a.tar.gz
coinosv3-4b191f4eb8ad519e982f6667f2b540cdd77e539a.zip
First-run onboarding: a five-step wizard and a coach-mark tour
Fresh devices land in a full-screen flow instead of the unlock screen: welcome → "do you have a nostr account?" (sign in brings wallet, name, and profile along; No mints a wallet on the spot) → claim a username (the background npub-default only surfaces a Keep button; a custom claim — or a restored login's recovered name — advances by itself) → pick a punk or upload a photo (nostr.build), published as the kind-0 name+picture → confetti. "Enter coinos" drops into a three-stop tour: the avatar menu, the Spending/Savings toggle, and the tabs with the swipe tip — each highlighted by a measured gold ring over a dimmed page. One time only (localStorage flag), with an "I already have a wallet" escape to the classic screen. New seams: names.namesClaimForm, messages.publishProfile. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Wvj4aoeMZwA7VUGdJP9Swi
Diffstat (limited to 'src/i18n.js')
-rw-r--r--src/i18n.js27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/i18n.js b/src/i18n.js
index 9db02d4..d1587a0 100644
--- a/src/i18n.js
+++ b/src/i18n.js
@@ -479,6 +479,33 @@ const STR = {
arkLnRefunded: 'Payment failed — your money is back in Spending.',
arkLnPaidTitle: 'Paid!',
nlSignIn: 'Sign in with Nostr',
+ onbWelcomeTitle: 'Welcome to coinos',
+ onbWelcomeBody: 'A bitcoin wallet that lives in your browser: instant payments, encrypted chat, and your keys never leave the device. Ready to get started?',
+ onbStart: "Let's go",
+ onbHaveWallet: 'I already have a wallet',
+ onbNostrTitle: 'Do you already have a nostr account?',
+ onbNostrBody: 'Sign in with it and your wallet, name, and profile come with you. No idea what nostr is? No problem — we\u2019ll set everything up fresh.',
+ onbNostrYes: 'Yes — sign me in',
+ onbNostrNo: 'No — create my wallet',
+ onbSigninTitle: 'Sign in with Nostr',
+ onbNameTitle: 'Claim your username',
+ onbNameBody: 'Your payment address — people can send you bitcoin with just this.',
+ onbNameWait: 'Getting things ready…',
+ onbKeepName: 'Keep {addr} for now',
+ onbAvatarTitle: 'Choose your look',
+ onbAvatarBody: 'Pick a punk or upload your own picture. You can change it anytime.',
+ onbUpload: 'Upload a photo',
+ onbUploadFailed: 'Upload failed — try a punk for now',
+ onbContinue: 'Continue',
+ onbSkipAvatar: 'Continue with my default',
+ onbDoneTitle: "You're all set!",
+ onbDoneBody: 'Your wallet is ready, your address is live, and the coinos community chat is waiting for you.',
+ onbEnter: 'Enter coinos',
+ tourAvatar: 'Your avatar lives here — profile, messages, settings, and logout are all behind it.',
+ tourBalance: 'Two balances: Spending is instant and free, Savings is on-chain. Tap to switch — everything follows.',
+ tourTabs: 'Receive, send, and your history. Tip: swipe left and right to move between them.',
+ tourNext: 'Next',
+ tourSkip: 'Skip',
nlConnectApp: '📱 Connect a signer app',
nlOpenSigner: 'Open signer app',
nlWaitingSigner: 'Waiting for your signer to connect…',