Fix budget stats translations with line breaks

This commit is contained in:
Bertocq
2017-06-30 12:15:11 +02:00
committed by Javi Martín
parent 6899ba9a9f
commit fd4ea312c3
3 changed files with 22 additions and 22 deletions

View File

@@ -99,7 +99,7 @@
<div class="row" data-equalizer>
<div class="small-12 column">
<h2 class="subtitle"><%= t("budgets.stats.by_gender") %></h2>
<h2 class="subtitle"><%= t("budgets.stats.by_gender_html") %></h2>
</div>
<hr>
@@ -150,7 +150,7 @@
<div class="row">
<div class="small-12 column margin-top">
<h2 class="subtitle"><%= t("budgets.stats.by_age") %></h2>
<h2 class="subtitle"><%= t("budgets.stats.by_age_html") %></h2>
</div>
<hr class="double">
@@ -197,7 +197,7 @@
<div class="row">
<div class="small-12 column">
<h2 class="subtitle"><%= t("budgets.stats.by_heading") %></h2>
<h2 class="subtitle"><%= t("budgets.stats.by_heading_html") %></h2>
</div>
<div class="small-12 column">
@@ -212,14 +212,14 @@
</tr>
<tr>
<th class="tiny"><%= t("budgets.stats.total").upcase %></th>
<th class="tiny"><%= t("budgets.stats.percent_total_participants").upcase %></th>
<th class="tiny"><%= t("budgets.stats.percent_heading_census").upcase %></th>
<th class="tiny"><%= t("budgets.stats.percent_total_participants_html") %></th>
<th class="tiny"><%= t("budgets.stats.percent_heading_census_html") %></th>
<th class="tiny"><%= t("budgets.stats.total").upcase %></th>
<th class="tiny"><%= t("budgets.stats.percent_total_participants").upcase %></th>
<th class="tiny"><%= t("budgets.stats.percent_heading_census").upcase %></th>
<th class="tiny"><%= t("budgets.stats.percent_total_participants_html") %></th>
<th class="tiny"><%= t("budgets.stats.percent_heading_census_html") %></th>
<th class="tiny"><%= t("budgets.stats.total").upcase %></th>
<th class="tiny"><%= t("budgets.stats.percent_total_participants").upcase %></th>
<th class="tiny"><%= t("budgets.stats.percent_heading_census").upcase %></th>
<th class="tiny"><%= t("budgets.stats.percent_total_participants_html") %></th>
<th class="tiny"><%= t("budgets.stats.percent_heading_census_html") %></th>
</tr>
</thead>
</thead>
@@ -261,7 +261,7 @@
<div class="small-12 column">
<p id="total_unknown_gender_or_age">
<em>
<%= t("budgets.stats.no_demographic_data", total: @stats[:total_unknown_gender_or_age]) %>
<%= t("budgets.stats.no_demographic_data_html", total: @stats[:total_unknown_gender_or_age]) %>
</em>
<br>
<em>

View File

@@ -203,22 +203,22 @@ en:
supports: Supports
votes: Votes
total_participants_vote_phase: Voting Phase
by_gender: "Participants<br>by sex"
by_gender_html: "Participants<br>by sex"
total_male_participants: Mens
total_female_participants: Women
by_age: "Participants by<br> age groups"
by_age_html: "Participants by<br> age groups"
age: Age
total: Total
more_than: More than
years: years
by_heading: "Participants by<br> heading"
by_heading_html: "Participants by<br> heading"
heading: Heading
investments_sent: Investment proposals sent
participants_support_phase: Participants support phase
participants_voting_phase: Participants voting phase
participants_total: Total Participants
percent_total_participants: "% <br>Total<br>Participants"
percent_heading_census: "% <br>Heading<br>Census"
no_demographic_data: "* There is no demographic data for<br>%{total}<br>participants."
percent_total_participants_html: "% <br>Total<br>Participants"
percent_heading_census_html: "% <br>Heading<br>Census"
no_demographic_data_html: "* There is no demographic data for<br>%{total}<br>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."

View File

@@ -204,21 +204,21 @@ es:
votes: Votos
total_participants_vote_phase: Fase de votación
total: Total
by_gender: "Participación<br>por sexo"
by_gender_html: "Participación<br>por sexo"
total_male_participants: Hombres
total_female_participants: Mujeres
by_age: "Participación por<br> grupos de edad"
by_age_html: "Participación por<br> grupos de edad"
age: Edad
more_than: Más de
years: años
by_heading: "Participación por<br> distritos"
by_heading_html: "Participación por<br> distritos"
heading: Distrito
investments_sent: Propuestas enviadas
participants_support_phase: Participación fase apoyos
participants_voting_phase: Participación fase apoyos
participants_total: Participación fase apoyos
percent_total_participants: "% <br>Total<br>Participantes"
percent_heading_census: "% <br>Censo<br>Distrito"
no_demographic_data: "* No se dispone de los datos demográficos de<br>%{total}<br>participantes."
percent_total_participants_html: "% <br>Total<br>Participantes"
percent_heading_census_html: "% <br>Censo<br>Distrito"
no_demographic_data_html: "* No se dispone de los datos demográficos de<br>%{total}<br>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."