diff --git a/app/views/budgets/stats/show.html.erb b/app/views/budgets/stats/show.html.erb index 51c12e292..46c09d574 100644 --- a/app/views/budgets/stats/show.html.erb +++ b/app/views/budgets/stats/show.html.erb @@ -15,7 +15,7 @@
<%= @stats[:total_participants] %>
diff --git a/app/views/polls/stats.html.erb b/app/views/polls/stats.html.erb index 98767e2b6..d718f2c1b 100644 --- a/app/views/polls/stats.html.erb +++ b/app/views/polls/stats.html.erb @@ -9,10 +9,10 @@
<%= t("polls.show.stats.total_votes") %>
diff --git a/config/i18n-tasks.yml b/config/i18n-tasks.yml
index 251efb113..35d06d172 100644
--- a/config/i18n-tasks.yml
+++ b/config/i18n-tasks.yml
@@ -45,6 +45,7 @@ data:
- config/locales/%{locale}/user_groups.yml
- config/locales/%{locale}/i18n.yml
- config/locales/%{locale}/milestones.yml
+ - config/locales/%{locale}/stats.yml
# Locale files to write new keys to, based on a list of key pattern => file rules. Matched from top to bottom:
# `i18n-tasks normalize -p` will force move the keys according to these rules
diff --git a/config/locales/en/budgets.yml b/config/locales/en/budgets.yml
index 8616539fc..b5039aea6 100644
--- a/config/locales/en/budgets.yml
+++ b/config/locales/en/budgets.yml
@@ -192,10 +192,8 @@ en:
prev_phase_dates_invalid: "Start date must be later than the start date of the previous enabled phase (%{phase_name})"
next_phase_dates_invalid: "End date must be earlier than the end date of the next enabled phase (%{phase_name})"
stats:
- title: Participation stats
link: Stats
page_title: "%{budget} - Participation stats"
- total_participants: Total Participants
total_budget_investments: Total Proposed Investments
total_selected_investments: Proposals on final phase
total_unfeasible_investments: Unfeasible proposals
diff --git a/config/locales/en/general.yml b/config/locales/en/general.yml
index 5773c1c95..49a74c6e6 100644
--- a/config/locales/en/general.yml
+++ b/config/locales/en/general.yml
@@ -654,8 +654,6 @@ en:
stats_menu: "Participation statistics"
results_menu: "Poll results"
stats:
- title: "Participation data"
- total_participation: "Total participation"
total_votes: "Total amount of given votes"
votes: "VOTES"
web: "WEB"
diff --git a/config/locales/en/stats.yml b/config/locales/en/stats.yml
new file mode 100644
index 000000000..c1f7f1b23
--- /dev/null
+++ b/config/locales/en/stats.yml
@@ -0,0 +1,4 @@
+en:
+ stats:
+ title: "Participation data"
+ total_participants: "Participants"
diff --git a/config/locales/es/budgets.yml b/config/locales/es/budgets.yml
index cc849d1c6..eaa78c1d8 100644
--- a/config/locales/es/budgets.yml
+++ b/config/locales/es/budgets.yml
@@ -192,10 +192,8 @@ es:
prev_phase_dates_invalid: "La fecha de inicio debe ser posterior a la fecha de inicio de la anterior fase habilitada (%{phase_name})"
next_phase_dates_invalid: "La fecha de fin debe ser anterior a la fecha de fin de la siguiente fase habilitada (%{phase_name})"
stats:
- title: Estadísticas de participación
link: Estadísticas
page_title: "%{budget} - Estadísticas de participación"
- total_participants: Total participantes
total_budget_investments: Total propuestas enviadas
total_selected_investments: Propuestas en la fase final
total_unfeasible_investments: Propuestas inviables
diff --git a/config/locales/es/general.yml b/config/locales/es/general.yml
index 76125ee5a..377768318 100644
--- a/config/locales/es/general.yml
+++ b/config/locales/es/general.yml
@@ -654,8 +654,6 @@ es:
stats_menu: "Estadísticas de participación"
results_menu: "Resultados de la votación"
stats:
- title: "Datos de participación"
- total_participation: "Participación total"
total_votes: "Nº total de votos emitidos"
votes: "VOTOS"
web: "WEB"
diff --git a/config/locales/es/stats.yml b/config/locales/es/stats.yml
new file mode 100644
index 000000000..46c87d551
--- /dev/null
+++ b/config/locales/es/stats.yml
@@ -0,0 +1,4 @@
+es:
+ stats:
+ title: "Estadísticas de participación"
+ total_participants: "Participantes"