Add missing heading title on mailers

This commit is contained in:
decabeza
2022-04-28 18:25:46 +02:00
committed by taitus
parent bec59f1f9f
commit 8c078ae0a9
7 changed files with 36 additions and 6 deletions

View File

@@ -1,5 +1,9 @@
<td style="<%= css_for_mailer_content %>">
<h1 style="<%= css_for_mailer_heading %>">
<%= t("mailers.budget_investment_selected.title") %>
</h1>
<p style="<%= css_for_mailer_text %>">
<%= t("mailers.budget_investment_selected.hi") %>
</p>

View File

@@ -1,5 +1,9 @@
<td style="<%= css_for_mailer_content %>">
<h1 style="<%= css_for_mailer_heading %>">
<%= t("mailers.budget_investment_unfeasible.title") %>
</h1>
<p style="<%= css_for_mailer_text %>">
<%= t("mailers.budget_investment_unfeasible.hi") %>
</p>

View File

@@ -1,5 +1,9 @@
<td style="<%= css_for_mailer_content %>">
<h1 style="<%= css_for_mailer_heading %>">
<%= t("mailers.budget_investment_unselected.title") %>
</h1>
<p style="<%= css_for_mailer_text %>">
<%= t("mailers.budget_investment_unselected.hi") %>
</p>

View File

@@ -1,7 +1,11 @@
<td style="<%= css_for_mailer_content %>">
<h1 style="<%= css_for_mailer_heading %>">
<%= t("mailers.direct_message_for_sender.title") %>
</h1>
<p style="<%= css_for_mailer_text %>">
<%= sanitize(t("mailers.direct_message_for_sender.title",
<%= sanitize(t("mailers.direct_message_for_sender.text",
receiver: @direct_message.receiver.name)) %>
</p>

View File

@@ -1,7 +1,11 @@
<td style="<%= css_for_mailer_content %>">
<p style="<%= css_for_mailer_text %>">
<h1 style="<%= css_for_mailer_heading %>">
<%= t("mailers.email_verification.title") %>
</h1>
<p style="<%= css_for_mailer_text %>">
<%= t("mailers.email_verification.text") %>
</p>
<p style="<%= css_for_mailer_text %>">

View File

@@ -20,7 +20,8 @@ en:
instructions: To complete the verification of your user account you must click %{verification_link}.
subject: Confirm your email
thanks: Thank you very much.
title: Confirm your account using the following link
title: "Confirm your email"
text: "Confirm your account using the following link."
reply:
hi: Hi
new_reply_by: There is a new response from <strong>%{commenter}</strong> to your comment on
@@ -39,7 +40,8 @@ en:
unsubscribe_text: "If you don't want to receive direct messages, visit %{notifications} and uncheck 'Receive emails about direct messages'."
direct_message_for_sender:
subject: "You have sent a new private message"
title: "You have sent a new private message to <strong>%{receiver}</strong> with the content:"
title: "You have sent a new private message"
text: "You have sent a new private message to <strong>%{receiver}</strong> with the content:"
user_invite:
ignore: "If you have not requested this invitation don't worry, you can ignore this email."
text: "Thank you for applying to join %{org}! In seconds you can start to participate, just fill the form below:"
@@ -57,6 +59,7 @@ en:
sincerely: "Sincerely,"
share: "Share your project"
budget_investment_unfeasible:
title: "Your investment project has been marked as unfeasible"
hi: "Dear user,"
new: "For all these, we invite you to elaborate a <strong>new investment</strong> that adjusts to the conditions of this process. You can do it following this link: %{url}."
new_href: "new investment project"
@@ -65,6 +68,7 @@ en:
subject: "Your investment project '%{code}' has been marked as unfeasible"
budget_investment_selected:
subject: "Your investment project '%{code}' has been selected"
title: "Your investment project has been selected"
hi: "Dear user,"
share: "Start to get votes, share your investment project on social networks. Share is essential to make it a reality."
share_button: "Share your investment project"
@@ -72,6 +76,7 @@ en:
sincerely: "Sincererly"
budget_investment_unselected:
subject: "Your investment project '%{code}' has not been selected"
title: "Your investment project has not been selected"
hi: "Dear user,"
thanks: "Thank you again for participating."
sincerely: "Sincererly"

View File

@@ -20,7 +20,8 @@ es:
instructions: Para terminar de verificar tu cuenta de usuario pulsa %{verification_link}.
subject: Verifica tu email
thanks: Muchas gracias.
title: Verifica tu cuenta con el siguiente enlace
title: "Verifica tu email"
text: "Verifica tu cuenta con el siguiente enlace."
reply:
hi: Hola
new_reply_by: Hay una nueva respuesta de <strong>%{commenter}</strong> a tu comentario en
@@ -39,7 +40,8 @@ es:
unsubscribe_text: "Si no quieres recibir mensajes privados, puedes entrar en %{notifications} y desmarcar la opción 'Recibir emails con mensajes privados'."
direct_message_for_sender:
subject: "Has enviado un nuevo mensaje privado"
title: "Has enviado un nuevo mensaje privado a <strong>%{receiver}</strong> con el siguiente contenido:"
title: "Has enviado un nuevo mensaje privado"
text: "Has enviado un nuevo mensaje privado a <strong>%{receiver}</strong> con el siguiente contenido:"
user_invite:
ignore: "Si no has solicitado esta invitación no te preocupes, puedes ignorar este correo."
text: "¡Gracias por solicitar unirte a %{org}! En unos segundos podrás empezar a participar, sólo tienes que rellenar el siguiente formulario:"
@@ -57,6 +59,7 @@ es:
sincerely: "Atentamente,"
share: "Comparte tu proyecto"
budget_investment_unfeasible:
title: "Tu proyecto de gasto ha sido marcado como inviable"
hi: "Estimado/a usuario/a"
new: "Por todo ello, te invitamos a que elabores un <strong>nuevo proyecto de gasto</strong> que se ajuste a las condiciones de este proceso. Esto lo puedes hacer en este enlace: %{url}."
new_href: "nuevo proyecto de gasto"
@@ -65,6 +68,7 @@ es:
subject: "Tu proyecto de gasto '%{code}' ha sido marcado como inviable"
budget_investment_selected:
subject: "Tu proyecto de gasto '%{code}' ha sido seleccionado"
title: "Tu proyecto de gasto ha sido seleccionado"
hi: "Estimado/a usuario/a"
share: "Empieza ya a conseguir votos, comparte tu proyecto de gasto en redes sociales. La difusión es fundamental para conseguir que se haga realidad."
share_button: "Comparte tu proyecto"
@@ -72,6 +76,7 @@ es:
sincerely: "Atentamente"
budget_investment_unselected:
subject: "Tu proyecto de gasto '%{code}' no ha sido seleccionado"
title: "Tu proyecto de gasto no ha sido seleccionado"
hi: "Estimado/a usuario/a"
thanks: "Gracias de nuevo por tu participación."
sincerely: "Atentamente"