diff --git a/app/models/budget/stats.rb b/app/models/budget/stats.rb index 832007020..de07b7040 100644 --- a/app/models/budget/stats.rb +++ b/app/models/budget/stats.rb @@ -7,7 +7,7 @@ class Budget def generate stats = %w[total_participants total_participants_support_phase total_participants_vote_phase total_budget_investments total_votes - total_feasible_investments total_unfeasible_investments total_male_participants total_female_participants total_supports + total_selected_investments total_unfeasible_investments total_male_participants total_female_participants total_supports total_unknown_gender_or_age age_groups male_percentage female_percentage headings] stats.map { |stat_name| [stat_name.to_sym, send(stat_name)] }.to_h end diff --git a/app/views/budgets/stats/show.html.erb b/app/views/budgets/stats/show.html.erb index cb3bf6169..919ae5d52 100644 --- a/app/views/budgets/stats/show.html.erb +++ b/app/views/budgets/stats/show.html.erb @@ -53,9 +53,9 @@
-
+
<%= t("budgets.stats.total_selected_investments") %>:
- <%= @stats[:total_feasible_investments] %>
+ <%= @stats[:total_selected_investments] %>
diff --git a/config/locales/en/budgets.yml b/config/locales/en/budgets.yml
index fff10aa1c..2b41cee5d 100644
--- a/config/locales/en/budgets.yml
+++ b/config/locales/en/budgets.yml
@@ -197,7 +197,7 @@ en:
page_title: "%{budget} - Participation stats"
total_participants: Total Participants
total_budget_investments: Total Proposed Investments
- total_feasible_investments: Proposals on final phase
+ total_selected_investments: Proposals on final phase
total_unfeasible_investments: Unfeasible proposals
total_participants_support_phase: Support phase
participants: Participants
diff --git a/config/locales/es/budgets.yml b/config/locales/es/budgets.yml
index 7e29f0367..c72e8b85d 100644
--- a/config/locales/es/budgets.yml
+++ b/config/locales/es/budgets.yml
@@ -197,7 +197,7 @@ es:
page_title: "%{budget} - Estadísticas de participación"
total_participants: Total participantes
total_budget_investments: Total propuestas enviadas
- total_feasible_investments: Propuestas en la fase final
+ total_selected_investments: Propuestas en la fase final
total_unfeasible_investments: Propuestas inviables
total_participants_support_phase: Fase de apoyos
participants: Participantes