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
2 changes: 2 additions & 0 deletions app/views/idv/phone/new.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@
idv_gpo_path,
),
) %>
<% else %>
<%= t('idv.messages.phone.failed_number.try_again_html') %>
<% end %>
<% end %>

Expand Down
4 changes: 2 additions & 2 deletions config/locales/idv/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -216,9 +216,9 @@ en:
This is to help verify your identity.
failed_number:
alert_text: We couldn’t match you to this number.
gpo_alert_html: If you don’t have <strong>another</strong> number to try,
%{link_html} instead.
gpo_alert_html: Try <strong>another</strong> number or %{link_html}.
gpo_verify_link: verify by mail
try_again_html: Try <strong>another</strong> number.
rules:
- Based in the United States (including U.S. territories)
- Your primary number (the one you use the most often)
Expand Down
6 changes: 3 additions & 3 deletions config/locales/idv/es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -226,9 +226,9 @@ es:
código único. Esto es para ayudar a verificar su identidad.
failed_number:
alert_text: No pudimos asociarlo a este número.
gpo_alert_html: Si no dispone de <strong>otro</strong> número de teléfono,
%{link_html}.
gpo_verify_link: realice la verificación por correo
gpo_alert_html: Pruebe con <strong>otro</strong> número o %{link_html}.
gpo_verify_link: verifique por correo
try_again_html: Pruebe con <strong>otro</strong> número.
rules:
- Con base en Estados Unidos (incluidos los territorios de EE.UU.)
- Su número principal (el que utiliza con más frecuencia)
Expand Down
6 changes: 3 additions & 3 deletions config/locales/idv/fr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -240,9 +240,9 @@ fr:
code à usage unique. Ceci est pour aider à vérifier votre identité.
failed_number:
alert_text: Nous n’avons pas pu vous associer à ce numéro.
gpo_alert_html: Si vous n’avez pas <strong>d’autre</strong> numéro de téléphone
à essayer, %{link_html}.
gpo_verify_link: vérifiez plutôt par courrier
gpo_alert_html: Essayez un <strong>autre</strong> numéro ou %{link_html}.
gpo_verify_link: vérifiez par courrier
try_again_html: Essayez un <strong>autre</strong> numéro.
rules:
- Basé aux Etats-Unis (y compris les territoires américains)
- Votre numéro principal (celui que vous utilisez le plus souvent)
Expand Down
5 changes: 5 additions & 0 deletions spec/features/idv/steps/phone_step_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,11 @@
),
),
)
expect(page).to have_content(
strip_tags(
t('idv.messages.phone.failed_number.try_again_html'),
),
)

click_idv_send_security_code
click_on t('idv.failure.phone.warning.try_again_button')
Expand Down