mirror of
https://github.com/mastodon/mastodon.git
synced 2026-04-25 16:05:44 -05:00
Add translation string for Webauthn key nickname (#37371)
This commit is contained in:
parent
e8a49bd6ae
commit
1fe737e0bd
|
|
@ -8,7 +8,12 @@
|
|||
%p.hint= t('webauthn_credentials.description_html')
|
||||
|
||||
.fields_group
|
||||
= f.input :nickname, wrapper: :with_block_label, hint: t('webauthn_credentials.nickname_hint'), input_html: { autocomplete: 'off' }, required: true
|
||||
= f.input :nickname,
|
||||
wrapper: :with_block_label,
|
||||
label: t('webauthn_credentials.nickname'),
|
||||
hint: t('webauthn_credentials.nickname_hint'),
|
||||
input_html: { autocomplete: 'off' },
|
||||
required: true
|
||||
|
||||
.actions
|
||||
= f.button :button, t('webauthn_credentials.add'), class: 'js-webauthn', type: :submit
|
||||
|
|
|
|||
|
|
@ -2191,6 +2191,7 @@ en:
|
|||
error: There was a problem deleting you security key. Please try again.
|
||||
success: Your security key was successfully deleted.
|
||||
invalid_credential: Invalid security key
|
||||
nickname: Nickname
|
||||
nickname_hint: Enter the nickname of your new security key
|
||||
not_enabled: You haven't enabled WebAuthn yet
|
||||
not_supported: This browser doesn't support security keys
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user