mirror of
https://gitlab.com/soapbox-pub/mkstack.git
synced 2026-12-06 00:37:23 +00:00
Make signup/login dialog language Nostr-specific
Match Agora's wording in the AuthDialog welcome step and generate step title to be more explicit that accounts are Nostr accounts: - 'Create new account' -> 'Create a new Nostr account' - 'I already have an account' -> 'Log in to an existing account' - 'Create account' (step title) -> 'Create a Nostr account'
This commit is contained in:
1 file changed
+3
-3
@@ -427,7 +427,7 @@ const AuthDialog: React.FC<AuthDialogProps> = ({ isOpen, onClose }) => {
|
|||||||
case 'welcome':
|
case 'welcome':
|
||||||
return 'Welcome';
|
return 'Welcome';
|
||||||
case 'generate':
|
case 'generate':
|
||||||
return 'Create account';
|
return 'Create a Nostr account';
|
||||||
case 'secure':
|
case 'secure':
|
||||||
return 'Save your key';
|
return 'Save your key';
|
||||||
case 'profile':
|
case 'profile':
|
||||||
@@ -474,14 +474,14 @@ const AuthDialog: React.FC<AuthDialogProps> = ({ isOpen, onClose }) => {
|
|||||||
|
|
||||||
<div className="space-y-2">
|
<div className="space-y-2">
|
||||||
<Button onClick={() => setStep('generate')} className="w-full h-12">
|
<Button onClick={() => setStep('generate')} className="w-full h-12">
|
||||||
Create new account
|
Create a new Nostr account
|
||||||
</Button>
|
</Button>
|
||||||
<Button
|
<Button
|
||||||
variant="outline"
|
variant="outline"
|
||||||
onClick={() => setStep('login')}
|
onClick={() => setStep('login')}
|
||||||
className="w-full h-12"
|
className="w-full h-12"
|
||||||
>
|
>
|
||||||
I already have an account
|
Log in to an existing account
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in new issue
Block a user