Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def troubleshooting_options
flow: :two_factor_authentication,
step: :otp_confirmation,
),
text: t('two_factor_authentication.phone_verification.troubleshooting.learn_more'),
text: t('two_factor_authentication.learn_more'),
new_tab: true,
},
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
step: :webauthn_verification,
),
new_tab: true,
).with_content(t('two_factor_authentication.phone_verification.troubleshooting.learn_more')) %>
).with_content(t('two_factor_authentication.learn_more')) %>
<% end %>
<% end %>
<%= render 'shared/cancel', link: @presenter.cancel_link %>
4 changes: 2 additions & 2 deletions app/views/users/phone_setup/spam_protection.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,11 @@
step: :phone_setup_spam_protection,
),
new_tab: true,
).with_content(t('two_factor_authentication.phone_verification.troubleshooting.learn_more')) %>
).with_content(t('two_factor_authentication.learn_more')) %>
<% end %>

<% unless local_assigns[:two_factor_options_path].present? %>
<%= render PageFooterComponent.new do %>
<%= link_to t('links.cancel'), account_path %>
<% end %>
<% end %>
<% end %>
2 changes: 1 addition & 1 deletion config/locales/two_factor_authentication/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ en:
this account. If it is, there may be a problem with your PIV/CAC, PIN, or
something went wrong on our end. Try again or choose another
authentication method.
learn_more: Learn more about authentication options
login_intro: You set these up when you created your account.
login_options:
auth_app: Authentication app
Expand Down Expand Up @@ -128,7 +129,6 @@ en:
troubleshooting:
change_number: Use another phone number
code_not_received: I didn’t receive my one-time code
learn_more: Learn more about authentication options
piv_cac_fallback:
question: Don’t have your PIV or CAC available?
piv_cac_header_text: Present your PIV/CAC
Expand Down
2 changes: 1 addition & 1 deletion config/locales/two_factor_authentication/es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ es:
correcto para esta cuenta. Si es así, puede haber un problema con su
PIV/CAC, PIN o algo salió mal de nuestra parte. Intente nuevamente o elija
otro método de autenticación.
learn_more: Más información sobre las opciones de autenticación.
login_intro: Usted configuró esto cuando creó su cuenta.
login_options:
auth_app: Aplicación de autenticación
Expand Down Expand Up @@ -136,7 +137,6 @@ es:
troubleshooting:
change_number: Utilice otro número de teléfono.
code_not_received: No recibí mi código de un solo uso.
learn_more: Más información sobre las opciones de autenticación.
piv_cac_fallback:
question: '¿No tienes su PIV o CAC disponibles?'
piv_cac_header_text: Presenta tu PIV/CAC
Expand Down
2 changes: 1 addition & 1 deletion config/locales/two_factor_authentication/fr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ fr:
PIV/CAC pour ce compte. Si c’est le cas, votre PIV/CAC, votre NIP ou un
problème survenu de notre côté pourrait bien poser problème. Réessayez ou
choisissez une autre méthode d’authentification.
learn_more: En savoir plus sur les options d’authentification
login_intro: Vous les avez configurés lorsque vous avez crée votre compte.
login_options:
auth_app: Application d’authentification
Expand Down Expand Up @@ -142,7 +143,6 @@ fr:
troubleshooting:
change_number: Utilisez un autre numéro de téléphone
code_not_received: Je n’ai pas reçu mon code à usage unique
learn_more: En savoir plus sur les options d’authentification
piv_cac_fallback:
question: Votre PIV ou CAC n’est pas disponible?
piv_cac_header_text: Veuillez présenter votre carte PIV/CAC
Expand Down
2 changes: 1 addition & 1 deletion spec/views/phone_setup/spam_protection.html.erb_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

it 'has expected troubleshooting options' do
expect(rendered).to have_link(
t('two_factor_authentication.phone_verification.troubleshooting.learn_more'),
t('two_factor_authentication.learn_more'),
href: help_center_redirect_path(
category: 'get-started',
article: 'authentication-options',
Expand Down