Merge pull request #3106 from consul/2918-crud_budget_groups_headings

Change CRUD for budget groups and headings
This commit is contained in:
Julian Nicolas Herrero
2018-12-18 10:23:24 +01:00
committed by GitHub
50 changed files with 832 additions and 507 deletions

View File

@@ -1,6 +1,4 @@
en:
true_value: 'Yes'
false_value: 'No'
admin:
header:
title: Administration
@@ -109,38 +107,56 @@ en:
unable_notice: You cannot destroy a Budget that has associated investments
new:
title: New participatory budget
show:
groups:
one: 1 Group of budget headings
other: "%{count} Groups of budget headings"
form:
group: Group name
no_groups: No groups created yet. Each user will be able to vote in only one heading per group.
add_group: Add new group
create_group: Create group
edit_group: Edit group
submit: Save group
heading: Heading name
add_heading: Add heading
amount: Amount
population: "Population (optional)"
population_help_text: "This data is used exclusively to calculate the participation statistics"
save_heading: Save heading
no_heading: This group has no assigned heading.
table_heading: Heading
table_amount: Amount
table_population: Population
table_allow_custom_contents: Custom content allowed
population_info: "Budget Heading population field is used for Statistic purposes at the end of the Budget to show for each Heading that represents an area with population what percentage voted. The field is optional so you can leave it empty if it doesn't apply."
max_votable_headings: "Maximum number of headings in which a user can vote"
current_of_max_headings: "%{current} of %{max}"
allow_content_block: Allow content block
latitude: Latitude
longitude: Longitude
winners:
calculate: Calculate Winner Investments
calculated: Winners being calculated, it may take a minute.
recalculate: Recalculate Winner Investments
budget_groups:
name: "Name"
headings_name: "Headings"
headings_edit: "Edit Headings"
headings_manage: "Manage headings"
max_votable_headings: "Maximum number of headings in which a user can vote"
no_groups: "No groups created yet. Each user will be able to vote in only one heading per group."
amount:
one: "There is 1 group"
other: "There are %{count} groups"
create:
notice: "Group created successfully!"
update:
notice: "Group updated successfully"
destroy:
success_notice: "Group deleted successfully"
unable_notice: "You cannot destroy a Group that has associated headings"
form:
create: "Create new group"
edit: "Edit group"
name: "Group name"
submit: "Save group"
budget_headings:
name: "Name"
no_headings: "No headings created yet. Each user will be able to vote in only one heading per group."
amount:
one: "There is 1 heading"
other: "There are %{count} headings"
create:
notice: "Heading created successfully!"
update:
notice: "Heading updated successfully"
destroy:
success_notice: "Heading deleted successfully"
unable_notice: "You cannot destroy a Heading that has associated investments"
form:
name: "Heading name"
amount: "Amount"
population: "Population (optional)"
population_info: "Budget Heading population field is used for Statistic purposes at the end of the Budget to show for each Heading that represents an area with population what percentage voted. The field is optional so you can leave it empty if it doesn't apply."
latitude: "Latitude"
longitude: "Longitude"
allow_content_block: "Allow content block"
create: "Create new heading"
edit: "Edit heading"
submit: "Save heading"
budget_phases:
edit:
start_date: Start date
@@ -1100,6 +1116,8 @@ en:
setting_value: Value
no_description: "No description"
shared:
true_value: "Yes"
false_value: "No"
booths_search:
button: Search
placeholder: Search booth by name

View File

@@ -1,6 +1,4 @@
es:
true_value: 'Si'
false_value: 'No'
admin:
header:
title: Administración
@@ -109,35 +107,56 @@ es:
unable_notice: No se puede eliminar un presupuesto con proyectos asociados
new:
title: Nuevo presupuesto ciudadano
show:
groups:
one: 1 Grupo de partidas presupuestarias
other: "%{count} Grupos de partidas presupuestarias"
form:
group: Nombre del grupo
no_groups: No hay grupos creados todavía. Cada usuario podrá votar en una sola partida de cada grupo.
add_group: Añadir nuevo grupo
create_group: Crear grupo
edit_group: Editar grupo
submit: Guardar grupo
heading: Nombre de la partida
add_heading: Añadir partida
amount: Cantidad
population: "Población (opcional)"
population_help_text: "Este dato se utiliza exclusivamente para calcular las estadísticas de participación"
save_heading: Guardar partida
no_heading: Este grupo no tiene ninguna partida asignada.
table_heading: Partida
table_amount: Cantidad
table_population: Población
population_info: "El campo población de las partidas presupuestarias se usa con fines estadísticos únicamente, con el objetivo de mostrar el porcentaje de votos habidos en cada partida que represente un área con población. Es un campo opcional, así que puedes dejarlo en blanco si no aplica."
max_votable_headings: "Máximo número de partidas en que un usuario puede votar"
current_of_max_headings: "%{current} de %{max}"
allow_content_block: Permite bloque de contenidos
winners:
calculate: Calcular proyectos ganadores
calculated: Calculando ganadores, puede tardar un minuto.
recalculate: Recalcular propuestas ganadoras
budget_groups:
name: "Nombre"
headings_name: "Partidas"
headings_edit: "Editar Partidas"
headings_manage: "Gestionar partidas"
max_votable_headings: "Máximo número de partidas en que un usuario puede votar"
no_groups: "No hay grupos creados todavía. Cada usuario podrá votar en una sola partida de cada grupo."
amount:
one: "Hay 1 grupo de partidas presupuestarias"
other: "Hay %{count} grupos de partidas presupuestarias"
create:
notice: "¡Grupo creado con éxito!"
update:
notice: "Grupo actualizado"
destroy:
success_notice: "Grupo eliminado correctamente"
unable_notice: "No se puede eliminar un grupo con partidas asociadas"
form:
create: "Crear nuevo grupo"
edit: "Editar grupo"
name: "Nombre del grupo"
submit: "Guardar grupo"
budget_headings:
name: "Nombre"
no_headings: "No hay partidas creadas todavía. Cada usuario podrá votar en una sola partida de cada grupo."
amount:
one: "Hay 1 partida presupuestarias"
other: "Hay %{count} partidas presupuestarias"
create:
notice: "¡Partida presupuestaria creada con éxito!"
update:
notice: "Partida presupuestaria actualizada"
destroy:
success_notice: "Partida presupuestaria eliminada correctamente"
unable_notice: "No se puede eliminar una partida presupuestaria con proyectos asociados"
form:
name: "Nombre de la partida"
amount: "Cantidad"
population: "Población (opcional)"
population_info: "El campo población de las partidas presupuestarias se usa con fines estadísticos únicamente, con el objetivo de mostrar el porcentaje de votos habidos en cada partida que represente un área con población. Es un campo opcional, así que puedes dejarlo en blanco si no aplica."
latitude: "Latitud"
longitude: "Longitud"
allow_content_block: "Permitir bloque de contenidos"
create: "Crear nueva partida"
edit: "Editar partida"
submit: "Guardar partida"
budget_phases:
edit:
start_date: Fecha de Inicio
@@ -1096,6 +1115,8 @@ es:
setting_value: Valor
no_description: "Sin descripción"
shared:
true_value: "Sí"
false_value: "No"
booths_search:
button: Buscar
placeholder: Buscar urna por nombre