adds admin interface for poll questions

This commit is contained in:
rgarcia
2016-11-17 09:30:42 +01:00
parent bd1a0cf1ff
commit d9ad658758
19 changed files with 263 additions and 29 deletions

View File

@@ -69,6 +69,13 @@ es:
external_url: "Enlace a documentación adicional"
geozone_id: "Ámbito de actuación"
title: "Título"
poll/question:
title: "Título"
question: "Pregunta"
valid_answers: "Posibles respuestas"
summary: "Resumen"
description: "Descripción"
external_url: "Enlace a documentación adicional"
errors:
models:
user:

View File

@@ -95,6 +95,7 @@ en:
activity: Moderator activity
admin: Admin menu
banner: Manage banners
poll_questions: Poll questions
debate_topics: Debate topics
hidden_comments: Hidden comments
hidden_debates: Hidden debates
@@ -175,6 +176,15 @@ en:
name: "Name"
location: "Location"
officers: "Officers"
questions:
index:
title: "Questions"
create: "Create question"
no_enquiries: "There are no questions."
edit:
title: "Edit Question"
new:
title: "Create Question"
booths:
index:
title: "List of booths"

View File

@@ -96,6 +96,7 @@ es:
admin: Menú de administración
banner: Gestionar banners
debate_topics: Temas de debate
poll_questions: Preguntas ciudadanas
hidden_comments: Comentarios ocultos
hidden_debates: Debates ocultos
hidden_proposals: Propuestas ocultas
@@ -175,6 +176,15 @@ es:
name: "Nombre"
location: "Ubicación"
officers: "Presidentes de mesa"
questions:
index:
title: "Preguntas ciudadanas"
create: "Crear pregunta ciudadana"
no_enquiries: "No hay ninguna pregunta ciudadana."
edit:
title: "Editar pregunta ciudadana"
new:
title: "Crear pregunta ciudadana"
booths:
index:
title: "Lista de urnas"

View File

@@ -210,7 +210,7 @@ en:
open_data: Open data
open_gov: Open government
proposals: Proposals
proposal_ballot: Voting
polls: Voting
see_all: See proposals
spending_proposals: Spending proposals
legislation:
@@ -385,19 +385,40 @@ en:
cant_answer_incoming: "This poll has not yet started."
cant_answer_expired: "This poll has finished."
cant_answer_wrong_geozone: "The following questions are not available in your geozone."
poll_questions:
questions:
create_question: "Create question"
default_valid_answers: "Yes, No"
proposal_ballots:
title: "Votings"
description_html: "The following citizen proposals that have reached the <strong>required supports</strong> and will be voted."
date_title: "Dates of participation"
date: "Soon we'll announce the date of vote these proposals."
successfull: "This proposal has reached the required supports and will be voted in the %{voting}."
voting: "next voting"
featured_title: "#NextVoting"
nothing_to_vote: "There is nothing to vote at the moment."
info: "New proposals that have reached the voting phase."
button: "I want to decide"
index:
filters:
opened: "Open"
incoming: "Incoming"
expired: "Expired"
title: "Enquiries"
description_html: "The following citizen proposals that have reached the <strong>required supports</strong> and will be voted."
dates: "From %{open_at} to %{closed_at}"
no_enquiries_opened: "There aren't opened enquiries."
no_enquiries_expired: "There aren't expired enquiries."
no_enquiries_incoming: "There aren't incoming enquiries."
show:
original_proposal: "Original proposal"
author: "Created by"
dates_title: "Participation dates"
dates: "From %{open_at} to %{closed_at}"
external_url: "Additional documentation"
more_info: "More information"
not_logged_in: "You must %{signin} or %{signup} to participate."
signin: Sign in
signup: Sign up
cant_answer_verify_html: "You must %{verify_link} in order to answer."
verify_link: "verify your account"
cant_answer_incoming: "This question has not yet started."
cant_answer_expired: "This question has finished."
cant_answer_wrong_geozone: "This question is not available on your geozone."
vote_answer: "Vote %{answer}"
voted: "You have voted %{answer}"
banner:
featured_title: "#NextVoting"
info: "New proposals that have reached the voting phase."
proposal_notifications:
new:
title: "Send message"
@@ -409,6 +430,12 @@ en:
show:
back: "Go back to my activity"
shared:
edit: 'Edit'
save: 'Save'
delete: 'Delete'
comments:
title: 'Comments'
login_to_comment: 'You must %{signin} or %{signup} to leave a comment.'
advanced_search:
author_type: 'By author category'
author_type_blank: 'Select a category'

View File

@@ -210,7 +210,7 @@ es:
open_data: Datos abiertos
open_gov: Gobierno %{open}
proposals: Propuestas
proposal_ballot: Votaciones
poll_questions: Votaciones
see_all: Ver propuestas
spending_proposals: Presupuestos ciudadanos
legislation:
@@ -375,17 +375,40 @@ es:
update:
form:
submit_button: Guardar cambios
proposal_ballots:
title: "Votaciones"
description_html: "Las siguientes propuestas ciudadanas han alcanzado el <strong>número de apoyos necesarios</strong> y pasarán a votación."
date_title: "Fechas de participación"
date: "En breve anunciaremos la fecha de votación de estas propuestas."
successfull: "Esta propuesta ha alcanzado los apoyos necesarios y pasará a la %{voting}."
voting: "próxima votación"
featured_title: "#PróximaVotación"
nothing_to_vote: "No hay nada que votar en este momento."
info: "Nuevas propuestas ciudadanas han llegado a la fase de votación."
button: "Quiero decidir"
questions:
create_enquiry: "Crear votación"
default_valid_answers: "Sí, No"
index:
filters:
opened: "Abiertas"
incoming: "Próximamente"
expired: "Terminadas"
title: "Votaciones"
description_html: "Las siguientes propuestas ciudadanas han alcanzado el <strong>número de apoyos necesarios</strong> y pasarán a votación."
dates: "Desde el %{open_at} hasta el %{closed_at}"
no_enquiries_opened: "No hay votaciones abiertas."
no_enquiries_expired: "No hay votaciones terminadas."
no_enquiries_incoming: "No hay votaciones próximamente."
show:
original_proposal: "Propuesta original"
author: "Creado por"
dates_title: "Fechas de participación"
dates: "Desde el %{open_at} hasta el %{closed_at}"
external_url: "Documentación adicional"
more_info: "Más información"
not_logged_in: "Necesitas %{signin} o %{signup} para participar."
signin: iniciar sesión
signup: registrarte
cant_answer_verify_html: "Por favor %{verify_link} para poder responder."
verify_link: "verifica tu cuenta"
cant_answer_incoming: "Esta votación todavía no ha comenzado."
cant_answer_expired: "Esta votación ha terminado."
cant_answer_wrong_geozone: "Esta votación no está disponible en tu zona."
vote_answer: "Votar %{answer}"
voted: "Has votado %{answer}"
banner:
featured_title: "#PróximaVotación"
info: "Nuevas propuestas ciudadanas han llegado a la fase de votación."
proposal_notifications:
new:
title: "Enviar mensaje"
@@ -397,6 +420,12 @@ es:
show:
back: "Volver a mi actividad"
shared:
edit: 'Editar'
save: 'Guardar'
delete: 'Borrar'
comments:
title: 'Comentarios'
login_to_comment: 'Necesitas %{signin} o %{signup} para comentar.'
advanced_search:
author_type: 'Por categoría de autor'
author_type_blank: 'Elige una categoría'

View File

@@ -21,4 +21,5 @@ en:
proposal: "Proposal updated successfully."
spending_proposal: "Investment project updated succesfully."
destroy:
spending_proposal: "Spending proposal deleted succesfully."
spending_proposal: "Spending proposal deleted succesfully."
error: "Could not delete"

View File

@@ -21,4 +21,5 @@ es:
poll_booth: "Urna actualizada correctamente."
spending_proposal: "Propuesta de inversión actualizada correctamente."
destroy:
spending_proposal: "Propuesta de inversión eliminada."
spending_proposal: "Propuesta de inversión eliminada."
error: "No se pudo borrar"

View File

@@ -27,6 +27,8 @@ en:
facebook_login: Facebook login
google_login: Google login
debates: Debates
polls: Polls
spending_proposals: Investment projects
spending_proposal_features:
voting_allowed: Voting on investment projects

View File

@@ -27,6 +27,7 @@ es:
facebook_login: Registro con Facebook
google_login: Registro con Google
debates: Debates
polls: Votaciones
spending_proposals: Propuestas de inversión
spending_proposal_features:
voting_allowed: Votaciones sobre propuestas de inversión.