Add translation string for Webauthn key nickname (#37371)

This commit is contained in:
Claire 2026-01-05 11:35:28 +01:00 committed by GitHub
parent e8a49bd6ae
commit 1fe737e0bd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 1 deletions

View File

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

View File

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