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')
|
%p.hint= t('webauthn_credentials.description_html')
|
||||||
|
|
||||||
.fields_group
|
.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
|
.actions
|
||||||
= f.button :button, t('webauthn_credentials.add'), class: 'js-webauthn', type: :submit
|
= 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.
|
error: There was a problem deleting you security key. Please try again.
|
||||||
success: Your security key was successfully deleted.
|
success: Your security key was successfully deleted.
|
||||||
invalid_credential: Invalid security key
|
invalid_credential: Invalid security key
|
||||||
|
nickname: Nickname
|
||||||
nickname_hint: Enter the nickname of your new security key
|
nickname_hint: Enter the nickname of your new security key
|
||||||
not_enabled: You haven't enabled WebAuthn yet
|
not_enabled: You haven't enabled WebAuthn yet
|
||||||
not_supported: This browser doesn't support security keys
|
not_supported: This browser doesn't support security keys
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user