Improves texts for instructions emails

This commit is contained in:
Alberto Garcia Cabeza
2015-08-26 19:43:51 +02:00
parent 4382a83c30
commit 33b501d98e
4 changed files with 13 additions and 11 deletions

View File

@@ -1,9 +1,13 @@
<td style="padding-bottom: 20px; padding-left: 10px;"> <td style="padding-bottom: 20px; padding-left: 10px;">
<h1 style="font-family: 'Open Sans','Helvetica Neue',arial,sans-serif;"> <h1 style="font-family: 'Open Sans','Helvetica Neue',arial,sans-serif;">
<%= t("devise_views.mailer.confirmation_instructions.welcome") %> <strong><%= @email %></strong> <%= t("devise_views.mailer.confirmation_instructions.title") %>
</h1> </h1>
<p style="font-family: 'Open Sans','Helvetica Neue',arial,sans-serif;font-size: 14px;font-weight: normal;line-height: 24px;">
<%= t("devise_views.mailer.confirmation_instructions.welcome") %> <strong><%= @email %></strong>
</p>
<p style="font-family: 'Open Sans','Helvetica Neue',arial,sans-serif;font-size: 14px;font-weight: normal;line-height: 24px;"> <p style="font-family: 'Open Sans','Helvetica Neue',arial,sans-serif;font-size: 14px;font-weight: normal;line-height: 24px;">
<%= t("devise_views.mailer.confirmation_instructions.text") %> <%= t("devise_views.mailer.confirmation_instructions.text") %>
</p> </p>

View File

@@ -17,10 +17,6 @@
</p> </p>
<p style="font-family: 'Open Sans','Helvetica Neue',arial,sans-serif;font-size: 14px;font-weight: normal;line-height: 24px;"> <p style="font-family: 'Open Sans','Helvetica Neue',arial,sans-serif;font-size: 14px;font-weight: normal;line-height: 24px;">
<%= t("devise_views.mailer.reset_password_instructions.ignore_text") %> <%= t("devise_views.mailer.reset_password_instructions.ignore_text") %> <%= t("devise_views.mailer.reset_password_instructions.info_text") %>
</p>
<p style="font-family: 'Open Sans','Helvetica Neue',arial,sans-serif;font-size: 14px;font-weight: normal;line-height: 24px;">
<%= t("devise_views.mailer.reset_password_instructions.info_text") %>
</p> </p>
</td> </td>

View File

@@ -6,13 +6,14 @@ en:
submit: "Resend confirmation instructions" submit: "Resend confirmation instructions"
mailer: mailer:
confirmation_instructions: confirmation_instructions:
title: "Welcome to open government"
welcome: "Welcome" welcome: "Welcome"
text: "You can confirm your account email through the link below:" text: "You can confirm your account email through the link below:"
confirm_link: "Confirm my account" confirm_link: "Confirm my account"
reset_password_instructions: reset_password_instructions:
hello: "Hello" hello: "Hello"
title: Change your password title: Change your password
text: "Someone has requested a link to change your password. You can do this through the link below." text: "Someone has requested to change your password. You can do this through the link below:"
change_link: "Change my password" change_link: "Change my password"
ignore_text: "If you didn't request this, please ignore this email." ignore_text: "If you didn't request this, please ignore this email."
info_text: "Your password won't change until you access the link above and create a new one." info_text: "Your password won't change until you access the link above and create a new one."

View File

@@ -6,15 +6,16 @@ es:
submit: "Reenviar instrucciones de confirmación" submit: "Reenviar instrucciones de confirmación"
mailer: mailer:
confirmation_instructions: confirmation_instructions:
welcome: "Bienvenido" title: "Bienvenido/a a gobierno abierto"
welcome: "Bienvenido/a"
text: "Puedes confirmar tu cuenta de correo electrónico en el siguiente enlace:" text: "Puedes confirmar tu cuenta de correo electrónico en el siguiente enlace:"
confirm_link: "Confirmar mi cuenta" confirm_link: "Confirmar mi cuenta"
reset_password_instructions: reset_password_instructions:
hello: "Hola" hello: "Hola"
title: "Cambiar tu contraseña" title: "Cambiar tu contraseña"
text: "Se ha solicitado un enlace para cambiar tu contraseña, puedes hacerlo en el siguiente enlace:" text: "Se ha solicitado cambiar tu contraseña, puedes hacerlo en el siguiente enlace:"
change_link: "cambiar mi contraseña" change_link: "Cambiar mi contraseña"
ignore_text: "Si tu no lo has solicitado, puedes ignorar este email" ignore_text: "Si tu no lo has solicitado, puedes ignorar este email."
info_text: "Tu contraseña no cambiará hasta que no accedas al enlace y la modifiques." info_text: "Tu contraseña no cambiará hasta que no accedas al enlace y la modifiques."
unlock_instructions: unlock_instructions:
hello: "Hola" hello: "Hola"