Files
grecia/config/locales/en/stats.yml
Javi Martín e146fafb60 Only show "no demographic data" when necessary
If there's demographic data for all participants, it doesn't make sense
to show the message.

We're using translations instead of an `if` in the view because the text
is also different when there's only one participant. In some languages
the text might also be different depending on how many people with no
demographic data participated.

Another possibility would be to use an `if` in the view so we don't
display an empty paragraph when the cont is zero, and then using
translation for `one` and `other`. I haven't gone that way because I
thought the logic would be more complex and the benefits wouldn't be
that great.
2019-05-21 13:50:18 +02:00

44 lines
1.9 KiB
YAML

en:
stats:
title: "Participation data"
advanced: "Advanced statistics"
total_participants: "Participants"
by_gender: "Participants by gender"
by_age: "Participants by age"
by_geozone: "Participants by district"
men_percentage: "%{percentage} Men"
women_percentage: "%{percentage} Women"
age: "Age"
age_more_than: "%{start} years old and older"
age_range: "%{start} - %{finish} years old"
total: "Total"
geozone: "District"
no_demographic_data:
zero: ""
one: "* There is no demographic data for 1 participant."
other: "* There is no demographic data for %{count} participants."
budgets:
link: "Stats"
page_title: "%{budget} - Participation stats"
total_investments: "Total investment projects"
total_selected_investments: "Projects in final voting phase"
total_unfeasible_investments: "Unfeasible projects"
by_phase: "Participants by phase"
by_heading: "Participants by phase and 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"
participatory_disclaimer: "** The numbers of total participants 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:
by_channel: "Participants by channel"
vote_by_channel: "Vote type by channel"
web_percentage: "%{percentage} Web"
booth_percentage: "%{percentage} Booths"
letter_percentage: "%{percentage} Mail"