Delete spending proposals
This commit is contained in:
@@ -111,7 +111,6 @@ search:
|
||||
ignore_missing:
|
||||
- "unauthorized.*"
|
||||
- "activerecord.models.proposal"
|
||||
- "activerecord.models.spending_proposal"
|
||||
- "activerecord.errors.models.proposal_notification.*"
|
||||
- "activerecord.errors.models.direct_message.*"
|
||||
- "errors.messages.blank"
|
||||
@@ -138,7 +137,6 @@ ignore_unused:
|
||||
- "admin.proposal_notifications.index.filter*"
|
||||
- "admin.budgets.index.filter*"
|
||||
- "admin.budget_investments.index.filter*"
|
||||
- "admin.spending_proposals.index.filter*"
|
||||
- "admin.organizations.index.filter*"
|
||||
- "admin.hidden_users.index.filter*"
|
||||
- "admin.hidden_budget_investments.index.filter*"
|
||||
@@ -181,7 +179,6 @@ ignore_unused:
|
||||
- "proposals.index.select_order"
|
||||
- "proposals.index.orders.*"
|
||||
- "proposals.index.section_header.*"
|
||||
- "spending_proposals.index.search_form.*"
|
||||
- "*.index.search_form.*"
|
||||
- "notifications.notification.action.*"
|
||||
- "legislation.processes.index.filter*"
|
||||
@@ -201,9 +198,6 @@ ignore_unused:
|
||||
# - "simple_form.{yes,no}"
|
||||
# - "simple_form.{placeholders,hints,labels}.*"
|
||||
# - "simple_form.{error_notification,required}.:"
|
||||
#### Review unused keys after merge with Budgest (both en and es)
|
||||
- users.show.confirm_deletion_spending_proposal
|
||||
- users.show.delete_spending_proposal
|
||||
- verification.letter.create.flash.offices_url
|
||||
- verification.letter.new.offices_url
|
||||
- votes.budget_investments.different_heading_assigned*
|
||||
|
||||
@@ -73,13 +73,6 @@ module ActsAsTaggableOn
|
||||
Tag.category.pluck(:name)
|
||||
end
|
||||
|
||||
def self.spending_proposal_tags
|
||||
ActsAsTaggableOn::Tag.where("taggings.taggable_type" => "SpendingProposal")
|
||||
.includes(:taggings)
|
||||
.order(:name)
|
||||
.distinct
|
||||
end
|
||||
|
||||
def self.graphql_field_name
|
||||
:tag
|
||||
end
|
||||
@@ -97,6 +90,6 @@ module ActsAsTaggableOn
|
||||
def custom_counter_field_name_for(taggable_type)
|
||||
"#{taggable_type.underscore.pluralize}_count"
|
||||
end
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
@@ -25,10 +25,6 @@ ActsAsVotable::Vote.class_eval do
|
||||
where(votable_type: "Legislation::Proposal", votable_id: proposals)
|
||||
end
|
||||
|
||||
def self.for_spending_proposals(spending_proposals)
|
||||
where(votable_type: "SpendingProposal", votable_id: spending_proposals)
|
||||
end
|
||||
|
||||
def self.for_budget_investments(budget_investments=Budget::Investment.all)
|
||||
where(votable_type: "Budget::Investment", votable_id: budget_investments)
|
||||
end
|
||||
|
||||
@@ -71,9 +71,6 @@ en:
|
||||
proposal:
|
||||
one: "Citizen proposal"
|
||||
other: "Citizen proposals"
|
||||
spending_proposal:
|
||||
one: "Investment project"
|
||||
other: "Investment projects"
|
||||
site_customization/page:
|
||||
one: Custom page
|
||||
other: Custom pages
|
||||
@@ -203,13 +200,6 @@ en:
|
||||
organization:
|
||||
name: "Name of organisation"
|
||||
responsible_name: "Person responsible for the group"
|
||||
spending_proposal:
|
||||
administrator_id: "Administrator"
|
||||
association_name: "Association name"
|
||||
description: "Description"
|
||||
external_url: "Link to additional documentation"
|
||||
geozone_id: "Scope of operation"
|
||||
title: "Title"
|
||||
poll:
|
||||
name: "Name"
|
||||
starts_at: "Start Date"
|
||||
|
||||
@@ -690,7 +690,6 @@ en:
|
||||
officials: Officials
|
||||
organizations: Organisations
|
||||
settings: Global settings
|
||||
spending_proposals: Spending proposals
|
||||
stats: Statistics
|
||||
signature_sheets: Signature Sheets
|
||||
site_customization:
|
||||
@@ -1299,9 +1298,6 @@ en:
|
||||
proposal_search:
|
||||
button: Search
|
||||
placeholder: Search proposals by title, code, description or question
|
||||
spending_proposal_search:
|
||||
button: Search
|
||||
placeholder: Search spending proposals by title or description
|
||||
user_search:
|
||||
button: Search
|
||||
placeholder: Search user by name or email
|
||||
@@ -1322,52 +1318,6 @@ en:
|
||||
color_help: Hexadecimal format
|
||||
show_results_and_stats: "Show results and stats"
|
||||
results_and_stats_reminder: "Marking these checkboxes the results and/or stats will be publicly available and every user will see them."
|
||||
spending_proposals:
|
||||
index:
|
||||
geozone_filter_all: All zones
|
||||
administrator_filter_all: All administrators
|
||||
valuator_filter_all: All valuators
|
||||
tags_filter_all: All tags
|
||||
filters:
|
||||
valuation_open: Open
|
||||
without_admin: Without assigned admin
|
||||
managed: Managed
|
||||
valuating: Under valuation
|
||||
valuation_finished: Valuation finished
|
||||
all: All
|
||||
title: Investment projects for participatory budgeting
|
||||
assigned_admin: Assigned administrator
|
||||
no_admin_assigned: No admin assigned
|
||||
no_valuators_assigned: No valuators assigned
|
||||
summary_link: "Investment project summary"
|
||||
valuator_summary_link: "Valuator summary"
|
||||
feasibility:
|
||||
feasible: "Feasible (%{price})"
|
||||
not_feasible: "Not feasible"
|
||||
undefined: "Undefined"
|
||||
show:
|
||||
assigned_admin: Assigned administrator
|
||||
assigned_valuators: Assigned valuators
|
||||
back: Back
|
||||
classification: Classification
|
||||
heading: "Investment project %{id}"
|
||||
edit: Edit
|
||||
edit_classification: Edit classification
|
||||
association_name: Association
|
||||
by: By
|
||||
sent: Sent
|
||||
geozone: Scope
|
||||
dossier: Dossier
|
||||
edit_dossier: Edit dossier
|
||||
tags: Tags
|
||||
undefined: Undefined
|
||||
edit:
|
||||
classification: Classification
|
||||
assigned_valuators: Valuators
|
||||
submit_button: Update
|
||||
tags: Tags
|
||||
tags_placeholder: "Write the tags you want separated by commas (,)"
|
||||
undefined: Undefined
|
||||
geozones:
|
||||
index:
|
||||
title: Geozone
|
||||
@@ -1438,7 +1388,6 @@ en:
|
||||
proposals: Proposals
|
||||
budgets: Open budgets
|
||||
budget_investments: Investment projects
|
||||
spending_proposals: Spending Proposals
|
||||
unverified_users: Unverified users
|
||||
user_level_three: Level three users
|
||||
user_level_two: Level two users
|
||||
@@ -1455,7 +1404,6 @@ en:
|
||||
polls: Polls
|
||||
graph:
|
||||
debate_created: Debates
|
||||
spending_proposals: Investment projects
|
||||
visit: Visits
|
||||
level_2_user: Level 2 users
|
||||
proposal_created: Citizen proposals
|
||||
|
||||
@@ -165,15 +165,15 @@ en:
|
||||
page_title: "%{budget} - Results"
|
||||
heading: "Participatory budget results"
|
||||
heading_selection_title: "By district"
|
||||
spending_proposal: Proposal title
|
||||
ballot_lines_count: Votes
|
||||
hide_discarded_link: Hide discarded
|
||||
show_all_link: Show all
|
||||
price: Price
|
||||
amount_available: Available budget
|
||||
accepted: "Accepted spending proposal: "
|
||||
discarded: "Discarded spending proposal: "
|
||||
accepted: "Accepted investment: "
|
||||
discarded: "Discarded investment: "
|
||||
incompatibles: Incompatibles
|
||||
investment_title: Project title
|
||||
investment_proyects: List of all investment projects
|
||||
unfeasible_investment_proyects: List of all unfeasible investment projects
|
||||
not_selected_investment_proyects: List of all investment projects not selected for balloting
|
||||
|
||||
@@ -179,7 +179,6 @@ en:
|
||||
policy: Privacy Policy
|
||||
proposal: Proposal
|
||||
proposal_notification: "Notification"
|
||||
spending_proposal: Spending proposal
|
||||
budget/investment: Investment
|
||||
budget/group: Budget Group
|
||||
budget/heading: Budget Heading
|
||||
@@ -193,7 +192,6 @@ en:
|
||||
image: Image
|
||||
geozones:
|
||||
none: All city
|
||||
all: All scopes
|
||||
layouts:
|
||||
application:
|
||||
chrome: Google Chrome
|
||||
@@ -248,7 +246,6 @@ en:
|
||||
proposals: Proposals
|
||||
poll_questions: Voting
|
||||
budgets: Participatory budgeting
|
||||
spending_proposals: Spending Proposals
|
||||
notification_item:
|
||||
new_notifications:
|
||||
one: You have a new notification
|
||||
@@ -764,7 +761,6 @@ en:
|
||||
unflag: Unflag
|
||||
unfollow_entity: "Unfollow %{entity}"
|
||||
outline:
|
||||
budget: Participatory budget
|
||||
searcher: Searcher
|
||||
go_to_page: "Go to page of "
|
||||
share: Share
|
||||
@@ -787,54 +783,6 @@ en:
|
||||
whatsapp: WhatsApp
|
||||
telegram: "%{org} Telegram"
|
||||
instagram: "%{org} Instagram"
|
||||
spending_proposals:
|
||||
form:
|
||||
association_name_label: "If you propose in name of an assocation or collective add the name here"
|
||||
association_name: "Association name"
|
||||
description: Description
|
||||
external_url: Link to additional documentation
|
||||
geozone: Scope of operation
|
||||
submit_buttons:
|
||||
create: Create
|
||||
new: Create
|
||||
title: Spending proposal title
|
||||
index:
|
||||
title: Participatory budgeting
|
||||
unfeasible: Unfeasible investment projects
|
||||
by_geozone: "Investment projects with scope: %{geozone}"
|
||||
search_form:
|
||||
button: Search
|
||||
placeholder: Investment projects...
|
||||
title: Search
|
||||
search_results:
|
||||
one: " containing the term '%{search_term}'"
|
||||
other: " containing the term '%{search_term}'"
|
||||
sidebar:
|
||||
geozones: Scope of operation
|
||||
feasibility: Feasibility
|
||||
unfeasible: Unfeasible
|
||||
start_spending_proposal: Create an investment project
|
||||
new:
|
||||
more_info: How do participatory budgeting works?
|
||||
recommendation_one: It's mandatory that the proposal makes reference to a budgetable action.
|
||||
recommendation_three: Try to go into details when describing your spending proposal so the reviewing team undertands your points.
|
||||
recommendation_two: Any proposal or comment suggesting illegal action will be deleted.
|
||||
recommendations_title: How to create a spending proposal
|
||||
start_new: Create spending proposal
|
||||
show:
|
||||
author_deleted: User deleted
|
||||
code: "Proposal code:"
|
||||
share: Share
|
||||
wrong_price_format: Only integer numbers
|
||||
spending_proposal:
|
||||
spending_proposal: Investment project
|
||||
already_supported: You have already supported this. Share it!
|
||||
support: Support
|
||||
support_title: Support this project
|
||||
supports:
|
||||
one: 1 support
|
||||
other: "%{count} supports"
|
||||
zero: No supports
|
||||
stats:
|
||||
index:
|
||||
visits: Visits
|
||||
@@ -917,12 +865,6 @@ en:
|
||||
unauthenticated: You must %{signin} or %{signup} to continue.
|
||||
verified_only: Only verified users can vote on proposals; %{verify_account}.
|
||||
verify_account: verify your account
|
||||
spending_proposals:
|
||||
not_logged_in: You must %{signin} or %{signup} to continue.
|
||||
not_verified: Only verified users can vote on proposals; %{verify_account}.
|
||||
organization: Organizations are not permitted to vote
|
||||
unfeasible: Unfeasible investment projects can not be supported
|
||||
not_voting_allowed: Voting phase is closed
|
||||
budget_investments:
|
||||
not_logged_in: You must %{signin} or %{signup} to continue.
|
||||
not_verified: Only verified users can vote on investment projects; %{verify_account}.
|
||||
|
||||
@@ -20,13 +20,6 @@ en:
|
||||
new_reply_by_html: There is a new response from <b>%{commenter}</b> to your comment on
|
||||
subject: Someone has responded to your comment
|
||||
title: New response to your comment
|
||||
unfeasible_spending_proposal:
|
||||
hi: "Dear user,"
|
||||
new_html: "For all these, we invite you to elaborate a <strong>new proposal</strong> that adjusts to the conditions of this process. You can do it following this link: %{url}."
|
||||
new_href: "new investment project"
|
||||
sincerely: "Sincerely"
|
||||
sorry: "Sorry for the inconvenience and we again thank you for your invaluable participation."
|
||||
subject: "Your investment project '%{code}' has been marked as unfeasible"
|
||||
proposal_notification_digest:
|
||||
info: "Here are the new notifications that have been published by authors of the proposals that you have supported in %{org_name}."
|
||||
title: "Proposal notifications in %{org_name}"
|
||||
|
||||
@@ -62,9 +62,6 @@ en:
|
||||
create_proposal: Create proposal
|
||||
print_proposals: Print proposals
|
||||
support_proposals: Support proposals
|
||||
create_spending_proposal: Create spending proposal
|
||||
print_spending_proposals: Print spending proposals
|
||||
support_spending_proposals: Support spending proposals
|
||||
create_budget_investment: Create budget investment
|
||||
print_budget_investments: Print budget investments
|
||||
support_budget_investments: Support budget investments
|
||||
@@ -79,7 +76,6 @@ en:
|
||||
print:
|
||||
proposals_info: Create your proposal on http://url.consul
|
||||
proposals_title: "Proposals:"
|
||||
spending_proposals_info: Participate at http://url.consul
|
||||
budget_investments_info: Participate at http://url.consul
|
||||
print_info: Print this info
|
||||
proposals:
|
||||
@@ -110,18 +106,6 @@ en:
|
||||
search_results:
|
||||
one: " containing the term '%{search_term}'"
|
||||
other: " containing the term '%{search_term}'"
|
||||
spending_proposals:
|
||||
alert:
|
||||
unverified_user: User is not verified
|
||||
create: Create spending proposal
|
||||
filters:
|
||||
unfeasible: Unfeasible investment projects
|
||||
by_geozone: "Investment projects with scope: %{geozone}"
|
||||
print:
|
||||
print_button: Print
|
||||
search_results:
|
||||
one: " containing the term '%{search_term}'"
|
||||
other: " containing the term '%{search_term}'"
|
||||
sessions:
|
||||
signed_out: Signed out successfully.
|
||||
signed_out_managed_user: User session signed out successfully.
|
||||
|
||||
@@ -12,7 +12,6 @@ en:
|
||||
poll_question_answer_image: "Image uploaded successfully"
|
||||
proposal: "Proposal created successfully."
|
||||
proposal_notification: "Your message has been sent correctly."
|
||||
spending_proposal: "Spending proposal created successfully. You can access it from %{activity}"
|
||||
budget_investment: "Budget Investment created successfully."
|
||||
signature_sheet: "Signature sheet created successfully"
|
||||
topic: "Topic created successfully."
|
||||
@@ -26,13 +25,11 @@ en:
|
||||
poll_booth: "Booth updated successfully."
|
||||
active_poll: "Polls description updated successfully."
|
||||
proposal: "Proposal updated successfully."
|
||||
spending_proposal: "Investment project updated succesfully."
|
||||
budget_investment: "Investment project updated succesfully."
|
||||
topic: "Topic updated successfully."
|
||||
valuator_group: "Valuator group updated successfully"
|
||||
translation: "Translation updated successfully"
|
||||
destroy:
|
||||
spending_proposal: "Spending proposal deleted succesfully."
|
||||
budget_investment: "Investment project deleted succesfully."
|
||||
error: "Could not delete"
|
||||
topic: "Topic deleted successfully."
|
||||
|
||||
@@ -93,11 +93,6 @@ en:
|
||||
featured_proposals_description: "Shows featured proposals on index proposals page"
|
||||
signature_sheets: "Signature sheets"
|
||||
signature_sheets_description: "It allows adding from the Administration panel signatures collected on-site to Proposals and investment projects of the Participative Budgets"
|
||||
spending_proposals: "Spending proposals"
|
||||
spending_proposals_description: "⚠️ NOTE: This functionality has been replaced by Participatory Budgeting and will disappear in new versions"
|
||||
spending_proposal_features:
|
||||
voting_allowed: Voting on investment projects - Preselection phase
|
||||
voting_allowed_description: "⚠️ NOTE: This functionality has been replaced by Participatory Budgeting and will disappear in new versions"
|
||||
user:
|
||||
recommendations: "Recommendations"
|
||||
recommendations_description: "Shows users recommendations on the homepage based on the tags of the following items"
|
||||
|
||||
@@ -71,9 +71,6 @@ es:
|
||||
proposal:
|
||||
one: "Propuesta ciudadana"
|
||||
other: "Propuestas ciudadanas"
|
||||
spending_proposal:
|
||||
one: "Propuesta de inversión"
|
||||
other: "Proyectos de gasto"
|
||||
site_customization/page:
|
||||
one: Página
|
||||
other: Páginas
|
||||
@@ -203,13 +200,6 @@ es:
|
||||
organization:
|
||||
name: "Nombre de la organización"
|
||||
responsible_name: "Persona responsable del colectivo"
|
||||
spending_proposal:
|
||||
administrator_id: "Administrador"
|
||||
association_name: "Nombre de la asociación"
|
||||
description: "Descripción"
|
||||
external_url: "Enlace a documentación adicional"
|
||||
geozone_id: "Ámbito de actuación"
|
||||
title: "Título"
|
||||
poll:
|
||||
name: "Nombre"
|
||||
starts_at: "Fecha de apertura"
|
||||
|
||||
@@ -689,7 +689,6 @@ es:
|
||||
officials: Cargos públicos
|
||||
organizations: Organizaciones
|
||||
settings: Configuración global
|
||||
spending_proposals: Propuestas de inversión
|
||||
stats: Estadísticas
|
||||
signature_sheets: Hojas de firmas
|
||||
site_customization:
|
||||
@@ -714,7 +713,6 @@ es:
|
||||
content_block:
|
||||
update: "Actualizar Bloque"
|
||||
title_moderated_content: Contenido moderado
|
||||
title_budgets: Presupuestos
|
||||
title_profiles: Perfiles
|
||||
title_settings: Configuración
|
||||
title_site_customization: Contenido del sitio
|
||||
@@ -1299,9 +1297,6 @@ es:
|
||||
proposal_search:
|
||||
button: Buscar
|
||||
placeholder: Buscar propuestas por título, código, descripción o pregunta
|
||||
spending_proposal_search:
|
||||
button: Buscar
|
||||
placeholder: Buscar propuestas por título o descripción
|
||||
user_search:
|
||||
button: Buscar
|
||||
placeholder: Buscar usuario por nombre o email
|
||||
@@ -1322,62 +1317,6 @@ es:
|
||||
color_help: Formato hexadecimal
|
||||
show_results_and_stats: "Mostrar resultados y estadísticas"
|
||||
results_and_stats_reminder: "Si marcas estas casillas los resultados y/o estadísticas serán públicos y podrán verlos todos los usuarios."
|
||||
spending_proposals:
|
||||
index:
|
||||
geozone_filter_all: Todos los ámbitos de actuación
|
||||
administrator_filter_all: Todos los administradores
|
||||
valuator_filter_all: Todos los evaluadores
|
||||
tags_filter_all: Todas las etiquetas
|
||||
filters:
|
||||
valuation_open: Abiertas
|
||||
without_admin: Sin administrador
|
||||
managed: Gestionando
|
||||
valuating: En evaluación
|
||||
valuation_finished: Evaluación finalizada
|
||||
all: Todas
|
||||
title: Propuestas de inversión para presupuestos participativos
|
||||
assigned_admin: Administrador asignado
|
||||
no_admin_assigned: Sin admin asignado
|
||||
no_valuators_assigned: Sin evaluador
|
||||
summary_link: "Resumen de propuestas"
|
||||
valuator_summary_link: "Resumen de evaluadores"
|
||||
feasibility:
|
||||
feasible: "Viable (%{price})"
|
||||
not_feasible: "Inviable"
|
||||
undefined: "Sin definir"
|
||||
show:
|
||||
assigned_admin: Administrador asignado
|
||||
assigned_valuators: Evaluadores asignados
|
||||
back: Volver
|
||||
classification: Clasificación
|
||||
heading: "Propuesta de inversión %{id}"
|
||||
edit: Editar
|
||||
edit_classification: Editar clasificación
|
||||
association_name: Asociación
|
||||
by: Autor
|
||||
sent: Fecha
|
||||
geozone: Ámbito
|
||||
dossier: Informe
|
||||
edit_dossier: Editar informe
|
||||
tags: Etiquetas
|
||||
undefined: Sin definir
|
||||
edit:
|
||||
classification: Clasificación
|
||||
assigned_valuators: Evaluadores
|
||||
submit_button: Actualizar
|
||||
tags: Etiquetas
|
||||
tags_placeholder: "Escribe las etiquetas que desees separadas por comas (,)"
|
||||
undefined: Sin definir
|
||||
summary:
|
||||
title: Resumen de propuestas de inversión
|
||||
title_proposals_with_supports: Resumen para propuestas que han superado la fase de apoyos
|
||||
geozone_name: Ámbito de ciudad
|
||||
finished_and_feasible_count: Finalizadas viables
|
||||
finished_and_unfeasible_count: Finalizadas inviables
|
||||
finished_count: Finalizadas
|
||||
in_evaluation_count: En evaluación
|
||||
total_count: Total
|
||||
cost_for_geozone: Coste total
|
||||
geozones:
|
||||
index:
|
||||
title: Zonas
|
||||
@@ -1448,7 +1387,6 @@ es:
|
||||
proposals: Propuestas
|
||||
budgets: Presupuestos abiertos
|
||||
budget_investments: Proyectos de gasto
|
||||
spending_proposals: Propuestas de inversión
|
||||
unverified_users: Usuarios sin verificar
|
||||
user_level_three: Usuarios de nivel tres
|
||||
user_level_two: Usuarios de nivel dos
|
||||
@@ -1465,7 +1403,6 @@ es:
|
||||
polls: Votaciones
|
||||
graph:
|
||||
debate_created: Debates
|
||||
spending_proposals: Propuestas de inversión
|
||||
visit: Visitas
|
||||
level_2_user: Usuarios nivel 2
|
||||
proposal_created: Propuestas Ciudadanas
|
||||
|
||||
@@ -165,7 +165,6 @@ es:
|
||||
page_title: "%{budget} - Resultados"
|
||||
heading: "Resultados presupuestos participativos"
|
||||
heading_selection_title: "Ámbito de actuación"
|
||||
spending_proposal: Título de la propuesta
|
||||
ballot_lines_count: Votos
|
||||
hide_discarded_link: Ocultar descartados
|
||||
show_all_link: Mostrar todos
|
||||
@@ -174,6 +173,7 @@ es:
|
||||
accepted: "Proyecto de gasto aceptado: "
|
||||
discarded: "Proyecto de gasto descartado: "
|
||||
incompatibles: Incompatibles
|
||||
investment_title: Título del proyecto de gasto
|
||||
investment_proyects: Ver lista completa de proyectos de gasto
|
||||
unfeasible_investment_proyects: Ver lista de proyectos de gasto inviables
|
||||
not_selected_investment_proyects: Ver lista de proyectos de gasto no seleccionados para la votación final
|
||||
|
||||
@@ -179,7 +179,6 @@ es:
|
||||
policy: Política de privacidad
|
||||
proposal: la propuesta
|
||||
proposal_notification: "la notificación"
|
||||
spending_proposal: la propuesta de gasto
|
||||
budget/investment: el proyecto de gasto
|
||||
budget/group: el grupo de partidas presupuestarias
|
||||
budget/heading: la partida presupuestaria
|
||||
@@ -193,7 +192,6 @@ es:
|
||||
image: Imagen
|
||||
geozones:
|
||||
none: Toda la ciudad
|
||||
all: Todos los ámbitos de actuación
|
||||
layouts:
|
||||
application:
|
||||
chrome: Google Chrome
|
||||
@@ -248,7 +246,6 @@ es:
|
||||
proposals: Propuestas
|
||||
poll_questions: Votaciones
|
||||
budgets: Presupuestos participativos
|
||||
spending_proposals: Propuestas de inversión
|
||||
notification_item:
|
||||
new_notifications:
|
||||
one: Tienes una nueva notificación
|
||||
@@ -762,7 +759,6 @@ es:
|
||||
unflag: Deshacer denuncia
|
||||
unfollow_entity: "Dejar de seguir %{entity}"
|
||||
outline:
|
||||
budget: Presupuestos participativos
|
||||
searcher: Buscador
|
||||
go_to_page: "Ir a la página de "
|
||||
share: Compartir
|
||||
@@ -785,54 +781,6 @@ es:
|
||||
whatsapp: WhatsApp
|
||||
telegram: "Telegram de %{org}"
|
||||
instagram: "Instagram de %{org}"
|
||||
spending_proposals:
|
||||
form:
|
||||
association_name_label: "Si propones en nombre de una asociación o colectivo añade el nombre aquí"
|
||||
association_name: "Nombre de la asociación"
|
||||
description: Descripción detallada
|
||||
external_url: Enlace a documentación adicional
|
||||
geozone: Ámbito de actuación
|
||||
submit_buttons:
|
||||
create: Crear
|
||||
new: Crear
|
||||
title: Título de la propuesta de gasto
|
||||
index:
|
||||
title: Presupuestos participativos
|
||||
unfeasible: Propuestas de inversión no viables
|
||||
by_geozone: "Propuestas de inversión con ámbito: %{geozone}"
|
||||
search_form:
|
||||
button: Buscar
|
||||
placeholder: Propuestas de inversión...
|
||||
title: Buscar
|
||||
search_results:
|
||||
one: " que contiene '%{search_term}'"
|
||||
other: " que contienen '%{search_term}'"
|
||||
sidebar:
|
||||
geozones: Ámbitos de actuación
|
||||
feasibility: Viabilidad
|
||||
unfeasible: No viables
|
||||
start_spending_proposal: Crea una propuesta de inversión
|
||||
new:
|
||||
more_info: '¿Cómo funcionan los presupuestos participativos?'
|
||||
recommendation_one: Es fundamental que haga referencia a una actuación presupuestable.
|
||||
recommendation_three: Intenta detallar lo máximo posible la propuesta para que el equipo de gobierno encargado de estudiarla tenga las menor dudas posibles.
|
||||
recommendation_two: Cualquier propuesta o comentario que implique acciones ilegales será eliminada.
|
||||
recommendations_title: Cómo crear una propuesta de gasto
|
||||
start_new: Crear una propuesta de gasto
|
||||
show:
|
||||
author_deleted: Usuario eliminado
|
||||
code: "Código de la propuesta:"
|
||||
share: Compartir
|
||||
wrong_price_format: Solo puede incluir caracteres numéricos
|
||||
spending_proposal:
|
||||
spending_proposal: Propuesta de inversión
|
||||
already_supported: Ya has apoyado este proyecto. ¡Compártelo!
|
||||
support: Apoyar
|
||||
support_title: Apoyar este proyecto
|
||||
supports:
|
||||
zero: Sin apoyos
|
||||
one: 1 apoyo
|
||||
other: "%{count} apoyos"
|
||||
stats:
|
||||
index:
|
||||
visits: Visitas
|
||||
@@ -915,12 +863,6 @@ es:
|
||||
unauthenticated: Necesitas %{signin} o %{signup} para continuar.
|
||||
verified_only: Las propuestas sólo pueden ser votadas por usuarios verificados, %{verify_account}.
|
||||
verify_account: verifica tu cuenta
|
||||
spending_proposals:
|
||||
not_logged_in: Necesitas %{signin} o %{signup} para continuar.
|
||||
not_verified: Las propuestas de inversión sólo pueden ser apoyadas por usuarios verificados, %{verify_account}.
|
||||
organization: Las organizaciones no pueden votar.
|
||||
unfeasible: No se pueden votar propuestas inviables.
|
||||
not_voting_allowed: El periodo de votación está cerrado.
|
||||
budget_investments:
|
||||
not_logged_in: Necesitas %{signin} o %{signup} para continuar.
|
||||
not_verified: Los proyectos de gasto sólo pueden ser apoyadas por usuarios verificados, %{verify_account}.
|
||||
|
||||
@@ -20,13 +20,6 @@ es:
|
||||
new_reply_by_html: Hay una nueva respuesta de <b>%{commenter}</b> a tu comentario en
|
||||
subject: Alguien ha respondido a tu comentario
|
||||
title: Nueva respuesta a tu comentario
|
||||
unfeasible_spending_proposal:
|
||||
hi: "Estimado/a usuario/a"
|
||||
new_html: "Por todo ello, te invitamos a que elabores una <strong>nueva propuesta</strong> que se ajuste a las condiciones de este proceso. Esto lo puedes hacer en este enlace: %{url}."
|
||||
new_href: "nueva propuesta de inversión"
|
||||
sincerely: "Atentamente"
|
||||
sorry: "Sentimos las molestias ocasionadas y volvemos a darte las gracias por tu inestimable participación."
|
||||
subject: "Tu propuesta de inversión '%{code}' ha sido marcada como inviable"
|
||||
proposal_notification_digest:
|
||||
info: "A continuación te mostramos las nuevas notificaciones que han publicado los autores de las propuestas que estás apoyando en %{org_name}."
|
||||
title: "Notificaciones de propuestas en %{org_name}"
|
||||
|
||||
@@ -62,9 +62,6 @@ es:
|
||||
create_proposal: Crear propuesta
|
||||
print_proposals: Imprimir propuestas
|
||||
support_proposals: Apoyar propuestas
|
||||
create_spending_proposal: Crear una propuesta de gasto
|
||||
print_spending_proposals: Imprimir propts. de inversión
|
||||
support_spending_proposals: Apoyar propts. de inversión
|
||||
create_budget_investment: Crear proyectos de gasto
|
||||
print_budget_investments: Imprimir proyectos de gasto
|
||||
support_budget_investments: Apoyar proyectos de gasto
|
||||
@@ -79,7 +76,6 @@ es:
|
||||
print:
|
||||
proposals_info: Haz tu propuesta en http://url.consul
|
||||
proposals_title: "Propuestas:"
|
||||
spending_proposals_info: Participa en http://url.consul
|
||||
budget_investments_info: Participa en http://url.consul
|
||||
print_info: Imprimir esta información
|
||||
proposals:
|
||||
@@ -110,18 +106,6 @@ es:
|
||||
search_results:
|
||||
one: " que contiene '%{search_term}'"
|
||||
other: " que contienen '%{search_term}'"
|
||||
spending_proposals:
|
||||
alert:
|
||||
unverified_user: Usuario no verificado
|
||||
create: Crear una propuesta de gasto
|
||||
filters:
|
||||
unfeasible: Propuestas de inversión no viables
|
||||
by_geozone: "Propuestas de inversión con ámbito: %{geozone}"
|
||||
print:
|
||||
print_button: Imprimir
|
||||
search_results:
|
||||
one: " que contiene '%{search_term}'"
|
||||
other: " que contienen '%{search_term}'"
|
||||
sessions:
|
||||
signed_out: Has cerrado la sesión correctamente.
|
||||
signed_out_managed_user: Se ha cerrado correctamente la sesión del usuario.
|
||||
|
||||
@@ -12,7 +12,6 @@ es:
|
||||
poll_question_answer_image: "Imagen cargada correctamente"
|
||||
proposal: "Propuesta creada correctamente."
|
||||
proposal_notification: "Tu mensaje ha sido enviado correctamente."
|
||||
spending_proposal: "Propuesta de inversión creada correctamente. Puedes acceder a ella desde %{activity}"
|
||||
budget_investment: "Proyecto de gasto creado correctamente."
|
||||
signature_sheet: "Hoja de firmas creada correctamente"
|
||||
topic: "Tema creado correctamente."
|
||||
@@ -26,13 +25,11 @@ es:
|
||||
poll_booth: "Urna actualizada correctamente."
|
||||
active_poll: "Descripción general de votaciones actualizada correctamente."
|
||||
proposal: "Propuesta actualizada correctamente."
|
||||
spending_proposal: "Propuesta de inversión actualizada correctamente."
|
||||
budget_investment: "Proyecto de gasto actualizado correctamente"
|
||||
topic: "Tema actualizado correctamente."
|
||||
valuator_group: "Grupo de evaluadores actualizado correctamente"
|
||||
translation: "Traducción actualizada correctamente"
|
||||
destroy:
|
||||
spending_proposal: "Propuesta de inversión eliminada."
|
||||
budget_investment: "Proyecto de gasto eliminado."
|
||||
error: "No se pudo borrar"
|
||||
topic: "Tema eliminado."
|
||||
|
||||
@@ -93,11 +93,6 @@ es:
|
||||
featured_proposals_description: "Muestra propuestas destacadas en la página principal de propuestas"
|
||||
signature_sheets: "Hojas de firmas"
|
||||
signature_sheets_description: "Permite añadir desde el panel de Administración firmas recogidas de forma presencial a Propuestas y proyectos de gasto de los Presupuestos participativos"
|
||||
spending_proposals: "Propuestas de inversión"
|
||||
spending_proposals_description: "⚠️ NOTA: Esta funcionalidad ha sido sustituida por Pesupuestos Participativos y desaparecerá en nuevas versiones"
|
||||
spending_proposal_features:
|
||||
voting_allowed: Votaciones de preselección sobre propuestas de inversión.
|
||||
voting_allowed_description: "⚠️ NOTA: Esta funcionalidad ha sido sustituida por Pesupuestos Participativos y desaparecerá en nuevas versiones"
|
||||
user:
|
||||
recommendations: "Recomendaciones"
|
||||
recommendations_description: "Muestra a los usuarios recomendaciones en la homepage basado en las etiquetas de los elementos que sigue"
|
||||
|
||||
@@ -42,15 +42,6 @@ namespace :admin do
|
||||
end
|
||||
end
|
||||
|
||||
resources :spending_proposals, only: [:index, :show, :edit, :update] do
|
||||
member do
|
||||
patch :assign_admin
|
||||
patch :assign_valuators
|
||||
end
|
||||
|
||||
get :summary, on: :collection
|
||||
end
|
||||
|
||||
resources :proposal_notifications, only: :index do
|
||||
member do
|
||||
put :restore
|
||||
|
||||
@@ -19,11 +19,5 @@ resources :budgets, only: [:show, :index] do
|
||||
resource :executions, only: :show, controller: "budgets/executions"
|
||||
end
|
||||
|
||||
scope "/participatory_budget" do
|
||||
resources :spending_proposals, only: [:index, :new, :create, :show, :destroy], path: "investment_projects" do
|
||||
post :vote, on: :member
|
||||
end
|
||||
end
|
||||
|
||||
get "investments/:id/json_data", action: :json_data, controller: "budgets/investments"
|
||||
get "/budgets/:budget_id/investments/:id/json_data", action: :json_data, controller: "budgets/investments"
|
||||
|
||||
@@ -31,11 +31,6 @@ namespace :management do
|
||||
get :print, on: :collection
|
||||
end
|
||||
|
||||
resources :spending_proposals, only: [:index, :new, :create, :show] do
|
||||
post :vote, on: :member
|
||||
get :print, on: :collection
|
||||
end
|
||||
|
||||
resources :budgets, only: :index do
|
||||
collection do
|
||||
get :create_investments
|
||||
|
||||
Reference in New Issue
Block a user