From 4b191f4eb8ad519e982f6667f2b540cdd77e539a Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Sun, 2 Aug 2026 23:48:31 -0700 Subject: First-run onboarding: a five-step wizard and a coach-mark tour MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Claude-Session: https://claude.ai/code/session_01Wvj4aoeMZwA7VUGdJP9Swi --- src/i18n.js | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'src/i18n.js') 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…', -- cgit v1.2.3