Merge branch 'upgrade-translation-sign-in' into 'main'
Upgrade: keygen-step translation Closes #1736 See merge request soapbox-pub/soapbox!3130
This commit is contained in:
commit
53a91e4cd6
|
@ -74,22 +74,24 @@ const KeygenStep: React.FC<IKeygenStep> = ({ onClose }) => {
|
|||
|
||||
<Stack alignItems='center'>
|
||||
<Button theme='primary' size='lg' icon={require('@tabler/icons/outline/download.svg')} onClick={handleDownload}>
|
||||
Download key
|
||||
<FormattedMessage id='nostr_signup.keygen.download_key_button' defaultMessage='Download key' />
|
||||
</Button>
|
||||
</Stack>
|
||||
|
||||
<FormGroup labelText='Secret key'>
|
||||
<FormGroup labelText={<FormattedMessage id='nostr_signup.keygen.label_text' defaultMessage='Secret Key' />}>
|
||||
<CopyableInput value={nsec} type='password' onCopy={handleCopy} />
|
||||
</FormGroup>
|
||||
|
||||
<Stack className='rounded-xl bg-gray-100 p-4 dark:bg-gray-800'>
|
||||
<Text>Back up your secret key in a secure place. If lost, your account cannot be recovered. Never share your secret key with anyone.</Text>
|
||||
<Text>
|
||||
<FormattedMessage id='nostr_signup.keygen.text' defaultMessage='Back up your secret key in a secure place. If lost, your account cannot be recovered. Never share your secret key with anyone.' />
|
||||
</Text>
|
||||
</Stack>
|
||||
|
||||
<Stack alignItems='end'>
|
||||
<Tooltip text='Download your key to continue' disabled={downloaded}>
|
||||
<Button theme='accent' disabled={!downloaded} size='lg' onClick={handleNext}>
|
||||
Next
|
||||
<FormattedMessage id='nostr_signup.keygen.next' defaultMessage='Next' />
|
||||
</Button>
|
||||
</Tooltip>
|
||||
</Stack>
|
||||
|
|
|
@ -1176,6 +1176,10 @@
|
|||
"nostr_signup.key-add.title": "Import Key",
|
||||
"nostr_signup.key.title": "You need a key to continue",
|
||||
"nostr_signup.key_generate": "Generate key",
|
||||
"nostr_signup.keygen.download_key_button": "Download key",
|
||||
"nostr_signup.keygen.label_text": "Secret Key",
|
||||
"nostr_signup.keygen.next": "Next",
|
||||
"nostr_signup.keygen.text": "Back up your secret key in a secure place. If lost, your account cannot be recovered. Never share your secret key with anyone.",
|
||||
"nostr_signup.keygen.title": "Your new key",
|
||||
"nostr_signup.siwe.action": "Sign in with extension",
|
||||
"nostr_signup.siwe.alt": "Sign in with key",
|
||||
|
|
|
@ -1167,6 +1167,10 @@
|
|||
"nostr_signup.key.title": "Você precisa de uma chave para continuar",
|
||||
"nostr_signup.key_generate": "Gerar chave",
|
||||
"nostr_signup.keygen.title": "Sua nova chave",
|
||||
"nostr_signup.keygen.download_key_button": "Baixar chave",
|
||||
"nostr_signup.keygen.label_text": "Chave secreta",
|
||||
"nostr_signup.keygen.text": "Faça backup da sua chave secreta em um lugar seguro. Se for perdida, sua conta não poderá ser recuperada. Nunca compartilhe sua chave secreta com ninguém.",
|
||||
"nostr_signup.keygen.next": "Proximo",
|
||||
"nostr_signup.siwe.action": "Faça login com a extensão",
|
||||
"nostr_signup.siwe.alt": "Faça login com a chave",
|
||||
"nostr_signup.siwe.title": "Entrar",
|
||||
|
|
Loading…
Reference in New Issue