Upgrade: keygen-step translation

This commit is contained in:
danidfra 2024-09-28 15:53:08 -03:00
parent 86705d4728
commit 5524091b9f
3 changed files with 14 additions and 4 deletions

View File

@ -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>

View File

@ -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",

View File

@ -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",