Skip to content

Commit

Permalink
Fix Spanish (es) inconsistent interpolations
Browse files Browse the repository at this point in the history
  • Loading branch information
Senen committed Sep 15, 2020
1 parent 0f333d2 commit a369562
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion app/views/layouts/_footer.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div class="row">
<div class="small-12 large-4 column">
<h1 class="logo">
<%= link_to t("layouts.header.open_gov", open: t("layouts.header.open")), root_path %>
<%= link_to t("layouts.header.open_gov"), root_path %>
</h1>

<p class="info">
Expand Down
1 change: 0 additions & 1 deletion config/locales/en/general.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions config/locales/es/budgets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ es:
amount_available:
knapsack: "Te quedan <span>%{count}</span> para invertir"
approval:
zero: "Te quedan <span>0</span> votos disponibles"
one: "Te queda <span>1</span> voto disponible"
zero: "Te quedan <span>%{count}</span> votos disponibles"
one: "Te queda <span>%{count}</span> voto disponible"
other: "Te quedan <span>%{count}</span> votos disponibles"
amount_spent:
knapsack: "Coste total <span>%{count}</span>"
Expand Down
3 changes: 1 addition & 2 deletions config/locales/es/general.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a369562

Please sign in to comment.