From 962dd097b790860b95adef396effebeac02e56a7 Mon Sep 17 00:00:00 2001
From: decabeza
Date: Fri, 12 May 2017 19:12:19 +0200
Subject: [PATCH] fixes i18n
---
app/views/mailer/budget_investment_selected.html.erb | 2 +-
app/views/mailer/budget_investment_unselected.html.erb | 2 +-
config/locales/mailers.en.yml | 2 +-
config/locales/mailers.es.yml | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/app/views/mailer/budget_investment_selected.html.erb b/app/views/mailer/budget_investment_selected.html.erb
index 6898f54a7..71d0a475c 100644
--- a/app/views/mailer/budget_investment_selected.html.erb
+++ b/app/views/mailer/budget_investment_selected.html.erb
@@ -10,7 +10,7 @@
- <%= t("mailers.budget_investment_selected.share" %>
+ <%= t("mailers.budget_investment_selected.share") %>
diff --git a/app/views/mailer/budget_investment_unselected.html.erb b/app/views/mailer/budget_investment_unselected.html.erb
index 12762effc..ec0224d77 100644
--- a/app/views/mailer/budget_investment_unselected.html.erb
+++ b/app/views/mailer/budget_investment_unselected.html.erb
@@ -10,7 +10,7 @@
- <%= t("mailers.budget_investment_unselected.participate",
+ <%= t("mailers.budget_investment_unselected.participate_html",
url: link_to(t("mailers.budget_investment_unselected.participate_url"),
budget_url(@investment.budget), style: "color: #2895F1; text-decoration: underline;")) %>
diff --git a/config/locales/mailers.en.yml b/config/locales/mailers.en.yml
index 65ccb7467..65da97b55 100755
--- a/config/locales/mailers.en.yml
+++ b/config/locales/mailers.en.yml
@@ -96,7 +96,7 @@ en:
subject: "Your investment project '%{code}' has not been selected"
hi: "Dear user,"
unselected_html: "From the City Council we want to thank you for your participation in the participatory budgets. We regret to inform you that your investment project '%{title}' has not been selected for the final voting phase."
- participate: "You can continue participating in the final voting phase voting for investments projects from May 15th to June 30th."
+ participate_html: "You can continue participating in the final voting phase voting for investments projects from May 15th to June 30th."
participate_url: "participate in the final voting"
thanks: "Thank you again for participating."
sincerely: "Sincererly"
diff --git a/config/locales/mailers.es.yml b/config/locales/mailers.es.yml
index 42f0fc75b..dc51148f8 100644
--- a/config/locales/mailers.es.yml
+++ b/config/locales/mailers.es.yml
@@ -86,7 +86,7 @@ es:
subject: "Tu propuesta de inversión '%{code}' no ha sido seleccionada"
hi: "Estimado/a usuario/a"
unselected_html: "Desde el Ayuntamiento de Madrid agradecemos que hayas participado con tu idea en los Presupuestos Participativos. Lamentamos informarte de que tu proyecto '%{title}' no ha sido seleccionado para la fase de votación final."
- participate: "Puedes continuar participando en la votación final votando proyectos para toda la ciudad y el distrito que elijas desde el 15 de mayo hasta el 30 de junio de 2017."
+ participate_html: "Puedes continuar participando en la votación final votando proyectos para toda la ciudad y el distrito que elijas desde el 15 de mayo hasta el 30 de junio de 2017."
participate_url: "participes en la votación final"
thanks: "Gracias de nuevo por tu participación."
sincerely: "Atentamente"