Improve confirmation instructions texts

The texts for the confirmation instructions referred to "reset the password".
We have updated the texts to refer to confirmation instructions.
This commit is contained in:
taitus
2022-03-29 08:15:18 +02:00
parent f4887089bd
commit d0571a4a73
3 changed files with 8 additions and 10 deletions

View File

@@ -9,8 +9,8 @@ en:
updated: "Password successfully updated" updated: "Password successfully updated"
confirmations: confirmations:
confirmed: "Your account has been confirmed." confirmed: "Your account has been confirmed."
send_instructions: "In a few minutes you will receive an email containing instructions on how to reset your password." send_instructions: "In a few minutes you will receive an email containing instructions on how to confirm your email address."
send_paranoid_instructions: "If your email address is in our database, in a few minutes you will receive an email containing instructions on how to reset your password." send_paranoid_instructions: "If your email address exists in our database, in a few minutes you will receive an email with instructions on how to confirm your email address."
failure: failure:
already_authenticated: "You are already signed in." already_authenticated: "You are already signed in."
inactive: "Your account has not yet been activated." inactive: "Your account has not yet been activated."

View File

@@ -9,8 +9,8 @@ es:
updated: "Contraseña actualizada con éxito" updated: "Contraseña actualizada con éxito"
confirmations: confirmations:
confirmed: "Tu cuenta ha sido confirmada. Por favor autentifícate con tu red social o tu usuario y contraseña" confirmed: "Tu cuenta ha sido confirmada. Por favor autentifícate con tu red social o tu usuario y contraseña"
send_instructions: "Recibirás un correo electrónico en unos minutos con instrucciones sobre cómo restablecer tu contraseña." send_instructions: "Recibirás un correo electrónico en unos minutos con instrucciones sobre cómo confirmar tu cuenta."
send_paranoid_instructions: "Si tu correo electrónico existe en nuestra base de datos recibirás un correo electrónico en unos minutos con instrucciones sobre cómo restablecer tu contraseña." send_paranoid_instructions: "Si tu correo electrónico existe en nuestra base de datos recibirás un correo electrónico en unos minutos con instrucciones sobre cómo confirmar tu cuenta."
failure: failure:
already_authenticated: "Ya has iniciado sesión." already_authenticated: "Ya has iniciado sesión."
inactive: "Tu cuenta aún no ha sido activada." inactive: "Tu cuenta aún no ha sido activada."

View File

@@ -594,9 +594,8 @@ describe "Users" do
fill_in "Email", with: "manuela@consul.dev" fill_in "Email", with: "manuela@consul.dev"
click_button "Re-send instructions" click_button "Re-send instructions"
expect(page).to have_content "If your email address is in our database, in a few minutes you "\ expect(page).to have_content "If your email address exists in our database, in a few minutes you will "\
"will receive an email containing instructions on how to reset "\ "receive an email with instructions on how to confirm your email address."
"your password."
end end
scenario "Re-send confirmation instructions with unexisting email" do scenario "Re-send confirmation instructions with unexisting email" do
@@ -607,9 +606,8 @@ describe "Users" do
fill_in "Email", with: "fake@mail.dev" fill_in "Email", with: "fake@mail.dev"
click_button "Re-send instructions" click_button "Re-send instructions"
expect(page).to have_content "If your email address is in our database, in a few minutes you "\ expect(page).to have_content "If your email address exists in our database, in a few minutes you will "\
"will receive an email containing instructions on how to reset "\ "receive an email with instructions on how to confirm your email address."
"your password."
end end
scenario "Sign in, admin with password expired" do scenario "Sign in, admin with password expired" do