Move budget stats translations to stats files
We were using custom translations, but now this code is going to be included in the main CONSUL repository.
This commit is contained in:
@@ -32,7 +32,7 @@
|
|||||||
<%= link_to t("budgets.results.link"), budget_results_path(@budget) %>
|
<%= link_to t("budgets.results.link"), budget_results_path(@budget) %>
|
||||||
</li>
|
</li>
|
||||||
<li class="tabs-title">
|
<li class="tabs-title">
|
||||||
<%= link_to t("budgets.stats.link"), budget_stats_path(@budget) %>
|
<%= link_to t("stats.budgets.link"), budget_stats_path(@budget) %>
|
||||||
</li>
|
</li>
|
||||||
<li class="tabs-title is-active">
|
<li class="tabs-title is-active">
|
||||||
<%= link_to t("budgets.executions.link"), budget_executions_path(@budget), class: "is-active" %>
|
<%= link_to t("budgets.executions.link"), budget_executions_path(@budget), class: "is-active" %>
|
||||||
|
|||||||
@@ -32,7 +32,7 @@
|
|||||||
<%= link_to t("budgets.results.link"), budget_results_path(@budget), class: "is-active" %>
|
<%= link_to t("budgets.results.link"), budget_results_path(@budget), class: "is-active" %>
|
||||||
</li>
|
</li>
|
||||||
<li class="tabs-title">
|
<li class="tabs-title">
|
||||||
<%= link_to t("budgets.stats.link"), budget_stats_path(@budget) %>
|
<%= link_to t("stats.budgets.link"), budget_stats_path(@budget) %>
|
||||||
</li>
|
</li>
|
||||||
<li class="tabs-title">
|
<li class="tabs-title">
|
||||||
<%= link_to t("budgets.executions.link"), budget_executions_path(@budget) %>
|
<%= link_to t("budgets.executions.link"), budget_executions_path(@budget) %>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<% provide :title do %>
|
<% provide :title do %>
|
||||||
<%= t("budgets.stats.page_title", budget: @budget.name) %>
|
<%= t("stats.budgets.page_title", budget: @budget.name) %>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% provide :social_media_meta_tags do %>
|
<% provide :social_media_meta_tags do %>
|
||||||
<%= render "shared/social_media_meta_tags",
|
<%= render "shared/social_media_meta_tags",
|
||||||
@@ -30,7 +30,7 @@
|
|||||||
<%= link_to t("budgets.results.link"), budget_results_path(@budget) %>
|
<%= link_to t("budgets.results.link"), budget_results_path(@budget) %>
|
||||||
</li>
|
</li>
|
||||||
<li class="tabs-title is-active">
|
<li class="tabs-title is-active">
|
||||||
<%= link_to t("budgets.stats.link"), budget_stats_path(@budget), class: "is-active" %>
|
<%= link_to t("stats.budgets.link"), budget_stats_path(@budget), class: "is-active" %>
|
||||||
</li>
|
</li>
|
||||||
<li class="tabs-title">
|
<li class="tabs-title">
|
||||||
<%= link_to t("budgets.executions.link"), budget_executions_path(@budget) %>
|
<%= link_to t("budgets.executions.link"), budget_executions_path(@budget) %>
|
||||||
@@ -99,22 +99,22 @@
|
|||||||
<table class="stats-districts survey-districts">
|
<table class="stats-districts survey-districts">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="col" rowspan="2"><%= t("budgets.stats.heading") %></th>
|
<th scope="col" rowspan="2"><%= t("stats.budgets.heading") %></th>
|
||||||
<th scope="col" rowspan="2"><%= t("budgets.stats.investments_sent_html") %></th>
|
<th scope="col" rowspan="2"><%= t("stats.budgets.investments_sent_html") %></th>
|
||||||
<th scope="col" colspan="3"><%= t("budgets.stats.participants_support_phase") %></th>
|
<th scope="col" colspan="3"><%= t("stats.budgets.participants_support_phase") %></th>
|
||||||
<th scope="col" colspan="3"><%= t("budgets.stats.participants_voting_phase") %></th>
|
<th scope="col" colspan="3"><%= t("stats.budgets.participants_voting_phase") %></th>
|
||||||
<th scope="col" colspan="3"><%= t("budgets.stats.participants_total") %></th>
|
<th scope="col" colspan="3"><%= t("stats.budgets.participants_total") %></th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="col" class="tiny"><%= t("budgets.stats.total") %></th>
|
<th scope="col" class="tiny"><%= t("stats.budgets.total") %></th>
|
||||||
<th scope="col" class="tiny"><%= t("budgets.stats.percent_total_participants_html") %></th>
|
<th scope="col" class="tiny"><%= t("stats.budgets.percent_total_participants_html") %></th>
|
||||||
<th scope="col" class="tiny"><%= t("budgets.stats.percent_heading_census_html") %></th>
|
<th scope="col" class="tiny"><%= t("stats.budgets.percent_heading_census_html") %></th>
|
||||||
<th scope="col" class="tiny"><%= t("budgets.stats.total") %></th>
|
<th scope="col" class="tiny"><%= t("stats.budgets.total") %></th>
|
||||||
<th scope="col" class="tiny"><%= t("budgets.stats.percent_total_participants_html") %></th>
|
<th scope="col" class="tiny"><%= t("stats.budgets.percent_total_participants_html") %></th>
|
||||||
<th scope="col" class="tiny"><%= t("budgets.stats.percent_heading_census_html") %></th>
|
<th scope="col" class="tiny"><%= t("stats.budgets.percent_heading_census_html") %></th>
|
||||||
<th scope="col" class="tiny"><%= t("budgets.stats.total") %></th>
|
<th scope="col" class="tiny"><%= t("stats.budgets.total") %></th>
|
||||||
<th scope="col" class="tiny"><%= t("budgets.stats.percent_total_participants_html") %></th>
|
<th scope="col" class="tiny"><%= t("stats.budgets.percent_total_participants_html") %></th>
|
||||||
<th scope="col" class="tiny"><%= t("budgets.stats.percent_heading_census_html") %></th>
|
<th scope="col" class="tiny"><%= t("stats.budgets.percent_heading_census_html") %></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody id="headings">
|
<tbody id="headings">
|
||||||
@@ -153,13 +153,13 @@
|
|||||||
<div class="small-12 column">
|
<div class="small-12 column">
|
||||||
<div id="total_unknown_gender_or_age">
|
<div id="total_unknown_gender_or_age">
|
||||||
<p class="help-text">
|
<p class="help-text">
|
||||||
<%= t("budgets.stats.no_demographic_data", total: @stats[:total_unknown_gender_or_age]) %>
|
<%= t("stats.budgets.no_demographic_data", total: @stats[:total_unknown_gender_or_age]) %>
|
||||||
</p>
|
</p>
|
||||||
<p class="help-text">
|
<p class="help-text">
|
||||||
<%= t("budgets.stats.participatory_disclaimer") %>
|
<%= t("stats.budgets.participatory_disclaimer") %>
|
||||||
</p>
|
</p>
|
||||||
<p class="help-text">
|
<p class="help-text">
|
||||||
<%= t("budgets.stats.heading_disclaimer") %>
|
<%= t("stats.budgets.heading_disclaimer") %>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -191,17 +191,3 @@ en:
|
|||||||
dates_range_invalid: "Start date can't be equal or later than End date"
|
dates_range_invalid: "Start date can't be equal or later than End date"
|
||||||
prev_phase_dates_invalid: "Start date must be later than the start date of the previous enabled phase (%{phase_name})"
|
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})"
|
next_phase_dates_invalid: "End date must be earlier than the end date of the next enabled phase (%{phase_name})"
|
||||||
stats:
|
|
||||||
link: Stats
|
|
||||||
page_title: "%{budget} - Participation stats"
|
|
||||||
total: Total
|
|
||||||
heading: Heading
|
|
||||||
investments_sent_html: "Investment proposals sent"
|
|
||||||
participants_support_phase: Participants support phase
|
|
||||||
participants_voting_phase: Participants voting phase
|
|
||||||
participants_total: Total Participants
|
|
||||||
percent_total_participants_html: "% <br>Total<br>Participants"
|
|
||||||
percent_heading_census_html: "% <br>Heading<br>Census"
|
|
||||||
no_demographic_data: "* There is no demographic data for %{total} participants."
|
|
||||||
participatory_disclaimer: "** The numbers of total participation refer to persons that created, supported or voted investment proposals."
|
|
||||||
heading_disclaimer: "*** Data about headings refer to the heading where each user voted, not necessarily the one that person is registered on."
|
|
||||||
|
|||||||
@@ -17,6 +17,8 @@ en:
|
|||||||
geozone: "District"
|
geozone: "District"
|
||||||
geozone_participation: "% District population participation"
|
geozone_participation: "% District population participation"
|
||||||
budgets:
|
budgets:
|
||||||
|
link: "Stats"
|
||||||
|
page_title: "%{budget} - Participation stats"
|
||||||
total_investments: "Total proposed investments"
|
total_investments: "Total proposed investments"
|
||||||
total_selected_investments: "Proposals on final phase"
|
total_selected_investments: "Proposals on final phase"
|
||||||
total_unfeasible_investments: "Unfeasible proposals"
|
total_unfeasible_investments: "Unfeasible proposals"
|
||||||
@@ -26,6 +28,17 @@ en:
|
|||||||
participants: "Participants"
|
participants: "Participants"
|
||||||
supports: "Supports"
|
supports: "Supports"
|
||||||
by_heading: "Participants by heading"
|
by_heading: "Participants by heading"
|
||||||
|
total: "Total"
|
||||||
|
heading: "Heading"
|
||||||
|
investments_sent_html: "Investment proposals sent"
|
||||||
|
participants_support_phase: "Participants support phase"
|
||||||
|
participants_voting_phase: "Participants voting phase"
|
||||||
|
participants_total: "Total Participants"
|
||||||
|
percent_total_participants_html: "% <br>Total<br>Participants"
|
||||||
|
percent_heading_census_html: "% <br>Heading<br>Census"
|
||||||
|
no_demographic_data: "* There is no demographic data for %{total} participants."
|
||||||
|
participatory_disclaimer: "** The numbers of total participation refer to persons that created, supported or voted investment proposals."
|
||||||
|
heading_disclaimer: "*** Data about headings refer to the heading where each user voted, not necessarily the one that person is registered on."
|
||||||
polls:
|
polls:
|
||||||
by_channel: "Participants by channel"
|
by_channel: "Participants by channel"
|
||||||
by_gender_and_channel: "Participants by gender and channel"
|
by_gender_and_channel: "Participants by gender and channel"
|
||||||
|
|||||||
@@ -191,17 +191,3 @@ es:
|
|||||||
dates_range_invalid: "La fecha de comienzo no puede ser igual o superior a la de finalización"
|
dates_range_invalid: "La fecha de comienzo no puede ser igual o superior a la de finalización"
|
||||||
prev_phase_dates_invalid: "La fecha de inicio debe ser posterior a la fecha de inicio de la anterior fase habilitada (%{phase_name})"
|
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})"
|
next_phase_dates_invalid: "La fecha de fin debe ser anterior a la fecha de fin de la siguiente fase habilitada (%{phase_name})"
|
||||||
stats:
|
|
||||||
link: Estadísticas
|
|
||||||
page_title: "%{budget} - Estadísticas de participación"
|
|
||||||
total: Total
|
|
||||||
heading: Distrito
|
|
||||||
investments_sent_html: "Propuestas<br>enviadas"
|
|
||||||
participants_support_phase: Participación fase apoyos
|
|
||||||
participants_voting_phase: Participación fase votación
|
|
||||||
participants_total: Participación total
|
|
||||||
percent_total_participants_html: "% <br>Total<br>Participantes"
|
|
||||||
percent_heading_census_html: "% <br>Censo<br>Distrito"
|
|
||||||
no_demographic_data: "* No se dispone de los datos demográficos de %{total} participantes."
|
|
||||||
participatory_disclaimer: "** Las cifras de participación total se refieren a personas que han creado, apoyado o votado propuestas."
|
|
||||||
heading_disclaimer: "*** Los datos de distrito se refieren al distrito en el que el usuario ha votado, no necesariamente en el que está empadronado."
|
|
||||||
|
|||||||
@@ -17,6 +17,8 @@ es:
|
|||||||
geozone: "Distrito"
|
geozone: "Distrito"
|
||||||
geozone_participation: "% Partipación población del distrito"
|
geozone_participation: "% Partipación población del distrito"
|
||||||
budgets:
|
budgets:
|
||||||
|
link: "Estadísticas"
|
||||||
|
page_title: "%{budget} - Estadísticas de participación"
|
||||||
total_investments: "Total propuestas enviadas"
|
total_investments: "Total propuestas enviadas"
|
||||||
total_selected_investments: "Propuestas en la fase final"
|
total_selected_investments: "Propuestas en la fase final"
|
||||||
total_unfeasible_investments: "Propuestas inviables"
|
total_unfeasible_investments: "Propuestas inviables"
|
||||||
@@ -26,6 +28,17 @@ es:
|
|||||||
participants: "Participantes"
|
participants: "Participantes"
|
||||||
supports: "Apoyos"
|
supports: "Apoyos"
|
||||||
by_heading: "Participación por distritos"
|
by_heading: "Participación por distritos"
|
||||||
|
total: "Total"
|
||||||
|
heading: "Distrito"
|
||||||
|
investments_sent_html: "Propuestas<br>enviadas"
|
||||||
|
participants_support_phase: Participación fase apoyos
|
||||||
|
participants_voting_phase: Participación fase votación
|
||||||
|
participants_total: Participación total
|
||||||
|
percent_total_participants_html: "% <br>Total<br>Participantes"
|
||||||
|
percent_heading_census_html: "% <br>Censo<br>Distrito"
|
||||||
|
no_demographic_data: "* No se dispone de los datos demográficos de %{total} participantes."
|
||||||
|
participatory_disclaimer: "** Las cifras de participación total se refieren a personas que han creado, apoyado o votado propuestas."
|
||||||
|
heading_disclaimer: "*** Los datos de distrito se refieren al distrito en el que el usuario ha votado, no necesariamente en el que está empadronado."
|
||||||
polls:
|
polls:
|
||||||
by_channel: "Participación por medio"
|
by_channel: "Participación por medio"
|
||||||
by_gender_and_channel: "Participación por género y medio"
|
by_gender_and_channel: "Participación por género y medio"
|
||||||
|
|||||||
Reference in New Issue
Block a user