Add translation string for Webauthn key nickname (#37371)

This commit is contained in:
Claire authored and GitHub committed 2026-01-05 10:35:28 +00:00
1 parent e8a49bd6ae
commit 1fe737e0bd
2 files changed
+7 -1

No files matched your search

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