From 761f5f3f93e2ef10929f02df86335618a760165f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sen=C3=A9n=20Rodero=20Rodr=C3=ADguez?= Date: Sat, 5 Sep 2020 09:44:01 +0200 Subject: [PATCH] Fix inconsistent interpolations --- app/views/layouts/_footer.html.erb | 2 +- config/locales/en/general.yml | 1 - config/locales/es/budgets.yml | 4 ++-- config/locales/es/general.yml | 3 +-- 4 files changed, 4 insertions(+), 6 deletions(-) diff --git a/app/views/layouts/_footer.html.erb b/app/views/layouts/_footer.html.erb index 383469811..a627e3228 100644 --- a/app/views/layouts/_footer.html.erb +++ b/app/views/layouts/_footer.html.erb @@ -2,7 +2,7 @@

- <%= link_to t("layouts.header.open_gov", open: t("layouts.header.open")), root_path %> + <%= link_to t("layouts.header.open_gov"), root_path %>

diff --git a/config/locales/en/general.yml b/config/locales/en/general.yml index ce2cf6fec..dd02281b4 100644 --- a/config/locales/en/general.yml +++ b/config/locales/en/general.yml @@ -241,7 +241,6 @@ en: help: Help my_account_link: My account my_activity_link: My content - open: open open_gov: Open government proposals: Proposals poll_questions: Voting diff --git a/config/locales/es/budgets.yml b/config/locales/es/budgets.yml index 0030ebe59..86b563134 100644 --- a/config/locales/es/budgets.yml +++ b/config/locales/es/budgets.yml @@ -6,8 +6,8 @@ es: amount_available: knapsack: "Te quedan %{count} para invertir" approval: - zero: "Te quedan 0 votos disponibles" - one: "Te queda 1 voto disponible" + zero: "Te quedan %{count} votos disponibles" + one: "Te queda %{count} voto disponible" other: "Te quedan %{count} votos disponibles" amount_spent: knapsack: "Coste total %{count}" diff --git a/config/locales/es/general.yml b/config/locales/es/general.yml index c2d0c6d6b..fa7bfaf29 100644 --- a/config/locales/es/general.yml +++ b/config/locales/es/general.yml @@ -241,8 +241,7 @@ es: help: Ayuda my_account_link: Mi cuenta my_activity_link: Mi contenido - open: abierto - open_gov: Gobierno %{open} + open_gov: Gobierno abierto proposals: Propuestas poll_questions: Votaciones budgets: Presupuestos participativos