Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
be71723
Update Welcome to say 5 to 10 days
soniaconnolly Sep 15, 2023
ea48506
Update PhoneErrors to say 5 to 10 days
soniaconnolly Sep 15, 2023
3176a6c
Update RequestLetter to say 5 to 10 days
soniaconnolly Sep 15, 2023
b6e315f
Update LetterEnqueued to say 5 to 10 days
soniaconnolly Sep 15, 2023
d26fac5
Update EnterCode to say up to 10 days
soniaconnolly Sep 15, 2023
6a97036
Update Didn'tReceiveLetter to say up to 10 days
soniaconnolly Sep 15, 2023
a3b270a
Update Phone Warning to say 5 to 10 days
soniaconnolly Sep 15, 2023
2515e58
Update ResendLetter to say 5 to 10 days
soniaconnolly Sep 15, 2023
fb4ba6b
Update MailOnlyWarning to say 5 to 10 days
soniaconnolly Sep 15, 2023
9f7dadd
Fixups
soniaconnolly Sep 15, 2023
52cc67a
Update `<b> </b>` to `<strong> </strong>` in one place.
soniaconnolly Sep 15, 2023
30df442
Lint
soniaconnolly Sep 15, 2023
7442187
Merge remote-tracking branch 'origin/main' into sonia-lg-10850-5-10-days
soniaconnolly Sep 18, 2023
0abc423
Merge remote-tracking branch 'origin/main' into sonia-lg-10850-5-10-days
soniaconnolly Sep 18, 2023
fc4cdc9
Change First Class Mail to First-Class Mail in translations
soniaconnolly Sep 18, 2023
b4406a7
Remove strong tag from around phone warning message about by mail len…
soniaconnolly Sep 18, 2023
36cfa63
Correct French translaton for option_verify_by_mail_html (Phone Error…
soniaconnolly Sep 18, 2023
7a9cc97
Merge remote-tracking branch 'origin/main' into sonia-lg-10850-5-10-days
soniaconnolly Sep 19, 2023
bb7bc8e
Update translations to match ticket
soniaconnolly Sep 19, 2023
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: 1 addition & 1 deletion app/views/idv/by_mail/request_letter/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<%= render StatusPageComponent.new(status: :warning) do |c| %>
<% c.with_header { @presenter.title } %>
<p>
<%= t('idv.messages.gpo.resend_timeframe') %>
<%= t('idv.messages.gpo.resend_timeframe_html') %>
</p>
<p>
<%= t('idv.messages.gpo.resend_code_warning') %>
Expand Down
2 changes: 1 addition & 1 deletion app/views/idv/phone_errors/warning.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@

<p>
<%= t('idv.failure.phone.warning.gpo.explanation') %>
<strong><%= t('idv.failure.phone.warning.gpo.how_long_it_takes') %></strong>
<%= t('idv.failure.phone.warning.gpo.how_long_it_takes_html') %>
</p>

<div class="margin-y-5">
Expand Down
2 changes: 1 addition & 1 deletion config/locales/doc_auth/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ en:
- '<strong>Verify by phone</strong>: We’ll call or text your phone
number. This takes a few minutes.'
- '<strong>Verify by mail</strong>: We’ll mail a letter to your home
address. This takes about 3 to 7 business days.'
address. This takes <strong>5 to 10 days</strong>.'
welcome: 'You will need your:'
tips:
document_capture_header_text: 'For best results:'
Expand Down
2 changes: 1 addition & 1 deletion config/locales/doc_auth/es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ es:
- '<strong>Verificar por teléfono</strong>: Le llamaremos o enviaremos
un mensaje de texto a su número de teléfono. Esto lleva unos minutos'
- '<strong>Verificar por correo</strong>: Le enviaremos una carta a su
domicilio. Esto tarda entre 3 y 7 días laborables.'
domicilio. Esto tarda entre <strong>5 y 10 días</strong>.'
welcome: 'Necesitará su:'
tips:
document_capture_header_text: 'Para obtener los mejores resultados:'
Expand Down
4 changes: 2 additions & 2 deletions config/locales/doc_auth/fr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -266,8 +266,8 @@ fr:
enverrons un SMS à votre numéro de téléphone. Cela prend quelques
minutes.'
- '<strong>Vérification par courrier</strong> : Nous vous enverrons une
lettre à votre adresse personnelle. Cela prend de 3 à 7 jours
ouvrables.'
lettre à votre adresse personnelle. Cela prend <strong>5 à 10
jours</strong>.'
welcome: 'Vous aurez besoin de votre:'
tips:
document_capture_header_text: 'Pour obtenir les meilleurs résultats:'
Expand Down
27 changes: 13 additions & 14 deletions config/locales/idv/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ en:
gpo:
button: Verify by mail
heading: 'We couldn’t verify your identity by phone'
option_try_again_later_html: 'Cancel and start over again after <b>%{time_left}</b>'
option_verify_by_mail_html: 'Verify by mail, which typically takes <b>3-7 business days</b>'
option_try_again_later_html: 'Cancel and start over again after <strong>%{time_left}</strong>'
option_verify_by_mail_html: 'Verify by mail, which takes <strong>5 to 10 days</strong>'
options_header: 'You can:'
timeout: Our request to verify your information timed out. Please try again.
warning:
Expand All @@ -116,7 +116,7 @@ en:
explanation: If you don’t have another phone number to try, verify by mail
instead.
heading: Verify by mail
how_long_it_takes: This typically takes 3 - 7 business days.
how_long_it_takes_html: This takes <strong>5 to 10 days</strong>.
heading: We couldn’t match you to this number
learn_more_link: 'Learn more about what phone number to use'
next_steps_html: 'Try <strong>another</strong> number that you use often and
Expand Down Expand Up @@ -180,8 +180,8 @@ en:
instructions: If you have your letter, enter the 10-character code from the
letter you received.
intro:
be_patient_html: Please note that <strong>letters typically take 3 to 7 business
days to arrive</strong>. Thank you for your patience.
be_patient_html: Please note that letters take up to <strong>10 days</strong> to
arrive. Thank you for your patience.
request_new_letter_link: request a new letter
request_new_letter_prompt_html: If you haven’t received your letter, you may
<span>%{request_new_letter_link}</span>.
Expand All @@ -193,8 +193,8 @@ en:
title: Confirm your account
intro_html: '<p>If you have received your letter, please enter your one-time
code below. </p><p>If your letter hasn’t arrived yet, please be patient
as <strong>letters typically take 3 to 7 business days to
arrive</strong>. Thank you for your patience.</p>'
as letters take up to <strong>10 days</strong> to arrive. Thank you for
your patience.</p>'
return_to_profile: Return to your profile
title: Welcome back
wrong_address: Not the right address?
Expand All @@ -210,10 +210,9 @@ en:
verified information, please %{link_html}.
activated_link: contact us
clear_and_start_over: Clear my information and start over
come_back_later_html: <p>Letters typically take <strong>3 to 7 business
days</strong> to arrive through USPS First Class Mail.</p> <p>Once your
letter arrives, sign in to %{app_name}, and enter your one-time code
when prompted.</p>
come_back_later_html: <p>Letters take <strong>5 to 10 days</strong> to arrive
via USPS First-Class Mail.</p> <p>Once your letter arrives, sign in to
%{app_name}, and enter your one-time code when prompted.</p>
come_back_later_no_sp_html: You can return to your <strong>%{app_name} account</strong> for now.
come_back_later_password_html: <strong>Don’t forget your password.</strong><br
/> If you reset your password, the one-time code in your letter will no
Expand All @@ -231,9 +230,9 @@ en:
resend_code_warning: If you request a new letter now, the one-time code from
your current letter will remain valid for a limited time. You may
still use the one-time code from either letter.
resend_timeframe: Letters typically take 3 to 7 business days to arrive.
timeframe_html: Letters are sent the next business day via USPS First Class Mail
and <strong>typically take 3 to 7 business days to arrive</strong>.
resend_timeframe_html: Letters take <strong>5 to 10 days</strong> to arrive.
timeframe_html: Letters are sent the next business day via USPS First-Class Mail
and arrive in <strong>5 to 10 days</strong>.
gpo_reminder:
body_html: You requested a letter to verify your identity on
<strong>%{date_letter_was_sent}</strong>. You’ll need to enter the
Expand Down
32 changes: 16 additions & 16 deletions config/locales/idv/es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,10 @@ es:
gpo:
button: Verificar por correo
heading: No pudimos asociarlo a este número
option_try_again_later_html: 'Cancelar y empezar de nuevo transcurridas <b>%{time_left}</b>'
option_verify_by_mail_html: 'Verificar por correo, lo que suele demorar de <b>3
a 7 días hábiles</b>'
option_try_again_later_html: 'Cancelar y empezar de nuevo transcurridas
<strong>%{time_left}</strong>'
option_verify_by_mail_html: 'Verificar por correo, lo cual tarda entre <strong>5
y 10 días</strong>'
options_header: 'Puede:'
timeout: Nuestra solicitud para verificar tu información ha caducado. Vuelve a
intentarlo.
Expand All @@ -123,7 +124,7 @@ es:
explanation: Si no dispones de otro número de teléfono para intentarlo,
verifícalo por correo.
heading: Verificar por correo
how_long_it_takes: Suele tardar entre 3 y 7 días laborables.
how_long_it_takes_html: Esto tarda entre <strong>5 y 10 días</strong>.
heading: No pudimos asociarlo a este número
learn_more_link: 'Más información sobre qué número de teléfono usar'
next_steps_html: 'Pruebe con <strong>otro</strong> número que utilice a menudo y
Expand Down Expand Up @@ -187,8 +188,8 @@ es:
instructions: Si ya tiene su carta, introduzca el código de 10 caracteres de la
carta que recibió.
intro:
be_patient_html: Tenga en cuenta que las cartas <strong>suelen tardar entre 3 y
7 días laborables en llegar</strong>. Gracias por su paciencia.
be_patient_html: Tenga en cuenta que las cartas tardan hasta <strong>10
días</strong> en llegar. Gracias por su paciencia.
request_new_letter_link: solicitar una nueva
request_new_letter_prompt_html: Si no ha recibido su carta, puede
<span>%{request_new_letter_link}</span>.
Expand All @@ -200,8 +201,8 @@ es:
title: Confirme su cuenta
intro_html: '<p>Si ha recibido su carta, introduzca su código único a
continuación.</p> <p>Si su carta aún no ha llegado, tenga paciencia, ya
que las <strong>cartas suelen tardar de 3 a 7 días hábiles en
llegar</strong>. Gracias por su paciencia.</p>'
que las cartas tardan hasta <strong>10 días</strong> en llegar. Gracias
por su paciencia.</p>'
return_to_profile: Regrese a su perfil
title: Bienvenido de nuevo
wrong_address: ¿La dirección no es correcta?
Expand All @@ -217,10 +218,10 @@ es:
información verificada, por favor, %{link_html}.
activated_link: Contáctenos
clear_and_start_over: Borrar mi información y empezar de nuevo
come_back_later_html: <p>Las cartas suelen tardar de <strong>3 a 7 días
hábiles</strong> en llegar a través de USPS First Class Mail.</p> <p>Una
vez que reciba la carta, inicie sesión en %{app_name} e introduzca el
código único cuando se le solicite.</p>
come_back_later_html: <p>Las cartas tardan entre <strong>5 y 10 días</strong> en
llegar por USPS First-Class Mail.</p> <p>Una vez que reciba la carta,
inicie sesión en %{app_name} e introduzca el código único cuando se le
solicite.</p>
come_back_later_no_sp_html: Ahora puedes volver a tu <strong>cuenta de %{app_name}</strong>.
come_back_later_password_html: <strong>No olvide su contraseña.</strong><br />
Si restablece su contraseña, el código único de su carta ya no
Expand All @@ -239,10 +240,9 @@ es:
vez de tu carta actual seguirá siendo válido durante un tiempo
limitado. Puedes seguir utilizando el código de una sola vez de
cualquiera de las dos cartas.
resend_timeframe: Las cartas suelen tardar entre 3 y 7 días hábiles en llegar.
timeframe_html: Las cartas se envían al día siguiente por First Class Mail de
USPS y <strong>suelen tardar entre 3 y 7 días hábiles en
llegar</strong>.
resend_timeframe_html: Las cartas tardan entre <strong>5 y 10 días</strong> en llegar.
timeframe_html: Las cartas se envían al siguiente día hábil por USPS First-Class
Mail y tardan entre <strong>5 y 10 días</strong> en llegar.
gpo_reminder:
body_html: El <strong>%{date_letter_was_sent}</strong> solicitaste una carta
para verificar tu identidad. Deberás ingresar el código que contiene
Expand Down
37 changes: 17 additions & 20 deletions config/locales/idv/fr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,8 @@ fr:
gpo:
button: Vérifier par courrier
heading: Nous n’avons pas pu vérifier votre identité par téléphone
option_try_again_later_html: 'Annuler et recommencer après <b>%{time_left}</b>'
option_verify_by_mail_html: Vérifier par courrier, ce qui prend généralement de
<b>trois à sept jours ouvrables</b>.
option_try_again_later_html: 'Annuler et recommencer après <strong>%{time_left}</strong>'
option_verify_by_mail_html: Vérifier par courrier, qui nécessite <strong>5 à 10 jours</strong>.
options_header: 'Vous Pouvez :'
timeout: Notre demande de vérification de vos renseignements a expiré. Veuillez
réessayer.
Expand All @@ -129,7 +128,7 @@ fr:
explanation: Si vous n’avez pas d’autre numéro de téléphone à essayer, vérifiez
plutôt par courrier.
heading: Vérifier par courrier
how_long_it_takes: Cette procédure prend typiquement 3 à 7 jours ouvrables.
how_long_it_takes_html: Cela prend <strong>5 à 10 jours</strong>.
heading: Nous n’avons pas pu vous associer à ce numéro
learn_more_link: 'Apprenez-en plus sur quel numéro de téléphone utiliser'
next_steps_html: 'Essayez <strong>un autre</strong> numéro que vous utilisez
Expand Down Expand Up @@ -195,9 +194,9 @@ fr:
instructions: Si vous avez reçu votre lettre, veuillez entrer le code à 10
caractères figurant sur la lettre que vous avez reçue.
intro:
be_patient_html: 'Veuillez noter que les lettres prennent <strong>généralement
entre trois à sept jours ouvrables pour arriver</strong>. Nous vous
remercions de votre patience.'
be_patient_html: 'Veuillez noter que les lettres mettent jusqu’à <strong>10
jours</strong> pour arriver. Nous vous remercions de votre
patience.'
request_new_letter_link: demander une nouvelle
request_new_letter_prompt_html: Si votre lettre n’est pas encore arrivée, vous
pouvez en <span>%{request_new_letter_link}</span>.
Expand All @@ -210,9 +209,9 @@ fr:
title: Confirmez votre compte
intro_html: '<p>Si vous avez reçu votre lettre, veuillez entrer votre code à
usage unique ci-dessous. </p> <p>Si votre lettre n’est pas encore
arrivée, veuillez être patient car les <strong>lettres prennent
généralement entre trois à sept jours ouvrables pour arriver</strong>.
Nous vous remercions de votre patience.</p>'
arrivée, veuillez être patient car les lettres mettent jusqu’à
<strong>10 jours</strong> pour arriver. Nous vous remercions de votre
patience.</p>'
return_to_profile: Retourner à votre profil
title: Content de vous revoir
wrong_address: Pas la bonne adresse?
Expand All @@ -228,11 +227,10 @@ fr:
information vérifiée, veuillez %{link_html}.
activated_link: communiquer avec nous
clear_and_start_over: Supprimer mes données et recommencer
come_back_later_html: <p>Les lettres prennent généralement <strong>trois à sept
jours ouvrables</strong> pour arriver par le biais du courriel de
première classe de l’USPS.</p><p>Une fois votre lettre arrivée,
connectez-vous à %{app_name} et entrez votre code à usage unique lorsque
vous y êtes invité.</p>
come_back_later_html: <p>Les lettres mettent <strong>5 à 10 jours</strong> pour
arriver par le courrier de première classe d’USPS.</p><p>Une fois votre
lettre arrivée, connectez-vous à %{app_name} et entrez votre code à
usage unique lorsque vous y êtes invité.</p>
come_back_later_no_sp_html: Vous pouvez revenir à votre <strong>compte
%{app_name}</strong> pour le moment.
come_back_later_password_html: <strong>N’oubliez pas votre mot de
Expand All @@ -254,11 +252,10 @@ fr:
usage unique de votre lettre actuelle restera valable pendant une
période limitée. Vous pouvez toujours utiliser le code à usage unique
de l’une ou l’autre lettre.
resend_timeframe: Les lettres mettent généralement entre trois et sept jours
ouvrables pour arriver.
timeframe_html: Les lettres sont envoyées les jours ouvrables par courriel de
première classe de USPS et <strong>prennent généralement entre trois à
sept jours ouvrables pour être reçues</strong>.
resend_timeframe_html: Les lettres mettent <strong>5 à 10 jours</strong> pour arriver.
timeframe_html: Les lettres sont envoyées le jour ouvrable suivant par le
courrier de première classe d’USPS et arrivent dans un délai de
<strong>5 à 10 jours</strong>.
gpo_reminder:
body_html: Vous avez demandé une lettre pour vérifier votre identité le
<strong>%{date_letter_was_sent}</strong>. Vous devrez saisir le code
Expand Down
4 changes: 2 additions & 2 deletions config/locales/vendor_outage/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ en:
message_html: '%{sp_name_html} needs to make sure you are you — not someone
pretending to be you.'
options_html:
- Continue now and verify by mail, which takes <strong>3 to 7
business days</strong>.
- Continue now and verify by mail, which takes <strong>5 to 10
days</strong>.
- Exit Login.gov and try again later.
options_prompt: 'You can:'
status_page_html: Unfortunately, we’re having technical difficulties right now.
Expand Down
4 changes: 2 additions & 2 deletions config/locales/vendor_outage/es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ es:
message_html: '%{sp_name_html} necesita asegurarse de que es usted realmente y
no alguien que se hace pasar por usted.'
options_html:
- Continuar ahora y verificar por correo, que tarda de <strong>3 a 7
días laborables</strong>.
- Continuar ahora y verificar por correo, lo cual tarda entre
<strong>5 y 10 días</strong>.
- Salir de Login.gov e inténtelo de nuevo más tarde.
options_prompt: 'Usted puede:'
status_page_html: Lamentablemente, estamos teniendo problemas técnicos.
Expand Down
4 changes: 2 additions & 2 deletions config/locales/vendor_outage/fr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ fr:
message_html: '%{sp_name_html} doit s’assurer que c’est bien vous — et non
quelqu’un qui se fait passer pour vous.'
options_html:
- Continuer maintenant et effectuer la vérification par courrier, ce
qui prend de <strong>3 à 7 jours ouvrables</strong>.
- Continuer maintenant et effectuer la vérification par courrier,
qui nécessite <strong>5 à 10 jours</strong>.
- Quitter Login.gov.
options_prompt: 'Vous pouvez :'
status_page_html: Malheureusement, nous avons actuellement des difficultés
Expand Down
2 changes: 1 addition & 1 deletion spec/features/idv/steps/gpo_step_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
# Confirm that we show the correct content on
# the GPO page for users requesting re-send
expect(page).to have_content(t('idv.titles.mail.resend'))
expect(page).to have_content(t('idv.messages.gpo.resend_timeframe'))
expect(page).to have_content(strip_tags(t('idv.messages.gpo.resend_timeframe_html')))
expect(page).to have_content(t('idv.messages.gpo.resend_code_warning'))
expect(page).to have_content(t('idv.buttons.mail.resend'))
expect(page).to_not have_content(t('idv.messages.gpo.info_alert'))
Expand Down
5 changes: 2 additions & 3 deletions spec/views/idv/phone_errors/warning.html.erb_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,8 @@
end

it 'says how long gpo takes' do
expect(rendered).to have_css(
'strong',
text: t('idv.failure.phone.warning.gpo.how_long_it_takes'),
expect(rendered).to have_text(
strip_tags(t('idv.failure.phone.warning.gpo.how_long_it_takes_html')),
)
end

Expand Down