mirror of
https://gitlab.com/soapbox-pub/mkstack.git
synced 2026-12-03 08:07:21 +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':
|
||||
return 'Welcome';
|
||||
case 'generate':
|
||||
return 'Create account';
|
||||
return 'Create a Nostr account';
|
||||
case 'secure':
|
||||
return 'Save your key';
|
||||
case 'profile':
|
||||
@@ -474,14 +474,14 @@ const AuthDialog: React.FC<AuthDialogProps> = ({ isOpen, onClose }) => {
|
||||
|
||||
<div className="space-y-2">
|
||||
<Button onClick={() => setStep('generate')} className="w-full h-12">
|
||||
Create new account
|
||||
Create a new Nostr account
|
||||
</Button>
|
||||
<Button
|
||||
variant="outline"
|
||||
onClick={() => setStep('login')}
|
||||
className="w-full h-12"
|
||||
>
|
||||
I already have an account
|
||||
Log in to an existing account
|
||||
</Button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user