Adds translations on mailer message

This commit is contained in:
Alberto Garcia Cabeza
2016-06-15 17:55:42 +02:00
parent f606a3bcbe
commit 0366d7efb2
3 changed files with 7 additions and 1 deletions

View File

@@ -56,7 +56,9 @@
<tr>
<td style="padding-left: 10px;">
<p style="font-family: 'Open Sans','Helvetica Neue',arial,sans-serif;font-size: 14px;font-weight: normal;line-height: 24px; margin: 0; font-style: italic; padding-bottom: 20px;">
Si no quieres recibir notificaciones de propuestas, puedes entrar en <a href="https://decide.madrid.es/account">Mi cuenta</a> y desmarcar la opción "Recibir resumen de notificaciones sobre propuestas".
<%= t('mailers.proposal_notification_digest.unsubscribe',
account: link_to(t('mailers.proposal_notification_digest.unsubscribe_account'),
account_path)).html_safe %>
</p>
</td>
</tr>

View File

@@ -34,6 +34,8 @@ en:
title: You received the following notifications
share: Share proposal
comment: Comment proposal
unsubscribe: "If you don't want receive proposal's notification, visit %{account} and unckeck 'Receive a summary of proposal notifications'."
unsubscribe_account: My account
direct_message_for_receiver:
subject: "You have received a new private message"
reply: Reply to %{sender}

View File

@@ -34,6 +34,8 @@ es:
title: Has recibido las siguientes notificaciones
share: Compartir propuesta
comment: Comentar propuesta
unsubscribe: "Si no quieres recibir notificaciones de propuestas, puedes entrar en %{account} y desmarcar la opción 'Recibir resumen de notificaciones sobre propuestas'."
unsubscribe_account: Mi cuenta
direct_message_for_receiver:
subject: "Has recibido un nuevo mensaje privado"
reply: Responder a %{sender}