Refactor age groups method
We try to make the method return data which is easier to handle in the view.
This commit is contained in:
@@ -204,11 +204,8 @@ en:
|
||||
supports: Supports
|
||||
total_male_participants: Mens
|
||||
total_female_participants: Women
|
||||
by_age: "Participants by age groups"
|
||||
age: Age
|
||||
total: Total
|
||||
more_than: More than
|
||||
years: years
|
||||
by_heading: "Participants by heading"
|
||||
heading: Heading
|
||||
investments_sent_html: "Investment proposals sent"
|
||||
|
||||
@@ -3,5 +3,10 @@ en:
|
||||
title: "Participation data"
|
||||
total_participants: "Participants"
|
||||
by_gender: "Participants by gender"
|
||||
by_age: "Participants by age"
|
||||
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"
|
||||
|
||||
@@ -205,10 +205,7 @@ es:
|
||||
total: Total
|
||||
total_male_participants: Hombres
|
||||
total_female_participants: Mujeres
|
||||
by_age: "Participación por grupos de edad"
|
||||
age: Edad
|
||||
more_than: Más de
|
||||
years: años
|
||||
by_heading: "Participación por distritos"
|
||||
heading: Distrito
|
||||
investments_sent_html: "Propuestas<br>enviadas"
|
||||
|
||||
@@ -3,5 +3,10 @@ es:
|
||||
title: "Estadísticas de participación"
|
||||
total_participants: "Participantes"
|
||||
by_gender: "Participación por género"
|
||||
by_age: "Participación por grupos de edad"
|
||||
men_percentage: "%{percentage} Hombres"
|
||||
women_percentage: "%{percentage} Mujeres"
|
||||
age: "Edad"
|
||||
age_more_than: "De %{start} y más años"
|
||||
age_range: "De %{start} a %{finish} años"
|
||||
total: "Total"
|
||||
|
||||
Reference in New Issue
Block a user