Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions app/presenters/webauthn_setup_mismatch_presenter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ def heading

def description
if platform_authenticator?
t('webauthn_setup_mismatch.description.webauthn_platform')
t('webauthn_setup_mismatch.description.webauthn_platform_html')
else
t('webauthn_setup_mismatch.description.webauthn')
t('webauthn_setup_mismatch.description.webauthn_html')
end
end

Expand Down
4 changes: 2 additions & 2 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2046,8 +2046,8 @@ webauthn_platform_recommended.description_save_time: Save time by using your fac
webauthn_platform_recommended.heading: Set up face or touch unlock for a quick and easy sign in
webauthn_platform_recommended.skip: Skip
webauthn_setup_mismatch.description_undo: Click “Undo” to remove this option.
webauthn_setup_mismatch.description.webauthn: We noticed you’re using a security key instead of face or touch unlock. Click “Continue” to use your security key to sign in from now on.
webauthn_setup_mismatch.description.webauthn_platform: We noticed you’re using face or touch unlock instead of a security key. Click “Continue” to use face or touch unlock to sign in from now on.
webauthn_setup_mismatch.description.webauthn_html: <p>We noticed you’re using a security key instead of face or touch unlock.</p><p> Click “Continue” to use your security key to sign in from now on.</p>
webauthn_setup_mismatch.description.webauthn_platform_html: <p>We noticed you’re using face or touch unlock instead of a security key.</p><p> Click “Continue” to use face or touch unlock to sign in from now on.</p>
webauthn_setup_mismatch.heading.webauthn: Security key detected
webauthn_setup_mismatch.heading.webauthn_platform: Face or touch unlock detected
webauthn_setup_mismatch.undo: Undo
Expand Down
4 changes: 2 additions & 2 deletions config/locales/es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2058,8 +2058,8 @@ webauthn_platform_recommended.description_save_time: Save time by using your fac
webauthn_platform_recommended.heading: Set up face or touch unlock for a quick and easy sign in
webauthn_platform_recommended.skip: Skip
webauthn_setup_mismatch.description_undo: Haga clic en “Deshacer” para quitar esta opción.
webauthn_setup_mismatch.description.webauthn: Sabemos que está usando una clave de seguridad en lugar de desbloqueo facial o táctil. Haga clic en “Continuar” para iniciar sesión con su clave de seguridad de aquí en adelante.
webauthn_setup_mismatch.description.webauthn_platform: Sabemos que está usando desbloqueo facial o táctil en lugar de una clave de seguridad. Haga clic en “Continuar” para iniciar sesión con desbloqueo facial o táctil de aquí en adelante.
webauthn_setup_mismatch.description.webauthn_html: <p>Sabemos que está usando una clave de seguridad en lugar de desbloqueo facial o táctil.</p> <p>Haga clic en “Continuar” para iniciar sesión con su clave de seguridad de aquí en adelante.</p>
webauthn_setup_mismatch.description.webauthn_platform_html: <p>Sabemos que está usando desbloqueo facial o táctil en lugar de una clave de seguridad.</p> <p>Haga clic en “Continuar” para iniciar sesión con desbloqueo facial o táctil de aquí en adelante.</p>
webauthn_setup_mismatch.heading.webauthn: Se detectó clave de seguridad
webauthn_setup_mismatch.heading.webauthn_platform: Se detectó desbloqueo facial o táctil
webauthn_setup_mismatch.undo: Deshacer
Expand Down
4 changes: 2 additions & 2 deletions config/locales/fr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2046,8 +2046,8 @@ webauthn_platform_recommended.description_save_time: Save time by using your fac
webauthn_platform_recommended.heading: Set up face or touch unlock for a quick and easy sign in
webauthn_platform_recommended.skip: Skip
webauthn_setup_mismatch.description_undo: Cliquez sur « Annuler » pour supprimer cette option.
webauthn_setup_mismatch.description.webauthn: Nous avons remarqué que vous utilisiez une clé de sécurité au lieu du déverrouillage facial ou tactile. Cliquez sur « Suite » pour utiliser votre clé de sécurité afin de vous connecter à partir de maintenant.
webauthn_setup_mismatch.description.webauthn_platform: Nous avons remarqué que vous utilisiez le déverrouillage facial ou tactile au lieu d’une clé de sécurité. Cliquez sur « Suite » pour utiliser le déverrouillage facial ou tactile afin de vous connecter à partir de maintenant.
webauthn_setup_mismatch.description.webauthn_html: Nous avons remarqué que vous utilisiez une clé de sécurité au lieu du déverrouillage facial ou tactile. Cliquez sur &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;« Suite » pour utiliser votre clé de sécurité afin de vous connecter à partir de maintenant.
webauthn_setup_mismatch.description.webauthn_platform_html: Nous avons remarqué que vous utilisiez le déverrouillage facial ou tactile au lieu d’une clé de sécurité. Cliquez sur &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;« Suite » pour utiliser le déverrouillage facial ou tactile afin de vous connecter à partir de maintenant.
Comment thread
mdiarra3 marked this conversation as resolved.
Outdated
webauthn_setup_mismatch.heading.webauthn: Clé de sécurité détectée
webauthn_setup_mismatch.heading.webauthn_platform: Déverrouillage facial ou tactile détecté
webauthn_setup_mismatch.undo: Annuler
Expand Down
4 changes: 2 additions & 2 deletions config/locales/zh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2059,8 +2059,8 @@ webauthn_platform_recommended.description_save_time: Save time by using your fac
webauthn_platform_recommended.heading: Set up face or touch unlock for a quick and easy sign in
webauthn_platform_recommended.skip: Skip
webauthn_setup_mismatch.description_undo: 点击“撤消”可删除此选项。
webauthn_setup_mismatch.description.webauthn: 我们注意到您正在使用安全密钥而不是人脸或触摸解锁。点击“继续”即可从现在开始使用您的安全密钥登录。
webauthn_setup_mismatch.description.webauthn_platform: 我们注意到您正在使用人脸或触摸解锁,而不是安全密钥。点击“继续”即可从现在开始使用人脸或触摸解锁登录。
webauthn_setup_mismatch.description.webauthn_html: <p>我们注意到您正在使用安全密钥而不是人脸或触摸解锁。</p><p>点击“继续”即可从现在开始使用您的安全密钥登录。</p>
webauthn_setup_mismatch.description.webauthn_platform_html: <p>我们注意到您正在使用人脸或触摸解锁,而不是安全密钥。</p><p>点击“继续”即可从现在开始使用人脸或触摸解锁登录。</p>
webauthn_setup_mismatch.heading.webauthn: 发现安全密钥
webauthn_setup_mismatch.heading.webauthn_platform: 发现人脸或触摸解锁
webauthn_setup_mismatch.undo: 撤消
Expand Down
4 changes: 2 additions & 2 deletions spec/presenters/webauthn_setup_mismatch_presenter_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@
context 'with non-platform authenticator' do
let(:platform_authenticator) { false }

it { is_expected.to eq(t('webauthn_setup_mismatch.description.webauthn')) }
it { is_expected.to eq(t('webauthn_setup_mismatch.description.webauthn_html')) }
end

context 'with platform authenticator' do
let(:platform_authenticator) { true }

it { is_expected.to eq(t('webauthn_setup_mismatch.description.webauthn_platform')) }
it { is_expected.to eq(t('webauthn_setup_mismatch.description.webauthn_platform_html')) }
end
end

Expand Down