-
\ No newline at end of file
+
diff --git a/app/views/admin/budgets/_groups.html.erb b/app/views/admin/budgets/_groups.html.erb
index ba785ee0c..537659fec 100644
--- a/app/views/admin/budgets/_groups.html.erb
+++ b/app/views/admin/budgets/_groups.html.erb
@@ -1,34 +1,32 @@
-
<% else %>
diff --git a/config/initializers/devise.rb b/config/initializers/devise.rb
index b947a5468..2cc09084f 100644
--- a/config/initializers/devise.rb
+++ b/config/initializers/devise.rb
@@ -13,7 +13,7 @@ Devise.setup do |config|
# note that it will be overwritten if you use your own mailer class
# with default "from" parameter.
if Rails.env.test? || !ActiveRecord::Base.connection.table_exists?('settings')
- config.mailer_sender = "noreply@example.org"
+ config.mailer_sender = "noreply@consul.dev"
else
config.mailer_sender = "#{Setting['mailer_from_name']} <#{Setting['mailer_from_address']}>"
end
diff --git a/config/locales/activerecord.es.yml b/config/locales/activerecord.es.yml
index b781de267..3299e86eb 100644
--- a/config/locales/activerecord.es.yml
+++ b/config/locales/activerecord.es.yml
@@ -47,7 +47,7 @@ es:
description_reviewing: "Descripción durante la fase de revisión"
description_selecting: "Descripción durante la fase de selección"
description_valuating: "Descripción durante la fase de evaluación"
- description_balloting: "Descripción duratne la fase de votación"
+ description_balloting: "Descripción durante la fase de votación"
description_reviewing_ballots: "Descripción durante la fase de revisión de votos"
description_finished: "Descripción cuando el presupuesto ha finalizado"
phase: "Fase"
diff --git a/config/locales/admin.en.yml b/config/locales/admin.en.yml
index 8f27677e7..dadcb7745 100755
--- a/config/locales/admin.en.yml
+++ b/config/locales/admin.en.yml
@@ -62,10 +62,17 @@ en:
index:
title: Participatory budgets
new_link: Create new budget
- info_link: Info
filters:
- open: Open
+ current: Open
finished: Finished
+ budget_investments: See budget investments
+ table_name: Name
+ table_phase: Phase
+ table_investments: Investments
+ table_edit_groups: Headings groups
+ table_edit_budget: Edit
+ edit_groups: Edit headings groups
+ edit_budget: Edit budget
create:
notice: New participatory budget created successfully!
update:
@@ -75,9 +82,9 @@ en:
new:
title: New participatory budget
show:
- phase: Current phase
- currency: Currency
- groups: Groups of budget headings
+ 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.
@@ -88,10 +95,8 @@ en:
amount: Amount
save_heading: Save heading
no_heading: This group has no assigned heading.
- geozone: Scope of operation
table_heading: Heading
table_amount: Amount
- table_geozone: Scope of operation
budget_investments:
index:
heading_filter_all: All headings
diff --git a/config/locales/admin.es.yml b/config/locales/admin.es.yml
index 5f7f66ab6..09959cfde 100644
--- a/config/locales/admin.es.yml
+++ b/config/locales/admin.es.yml
@@ -62,10 +62,17 @@ es:
index:
title: Presupuestos participativos
new_link: Crear nuevo presupuesto
- info_link: Info
filters:
- open: Abiertos
+ current: Abiertos
finished: Terminados
+ budget_investments: Ver propuestas de inversión
+ table_name: Nombre
+ table_phase: Fase
+ table_investments: Propuestas de inversión
+ table_edit_groups: Grupos de partidas
+ table_edit_budget: Editar
+ edit_groups: Editar grupos de partidas
+ edit_budget: Editar presupuesto
create:
notice: ¡Nueva campaña de presupuestos participativos creada con éxito!
update:
@@ -75,9 +82,9 @@ es:
new:
title: Nuevo presupuesto ciudadano
show:
- phase: Fase actual
- currency: Divisa
- groups: Grupos de partidas presupuestarias
+ 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.
@@ -88,10 +95,8 @@ es:
amount: Cantidad
save_heading: Guardar partida
no_heading: Este grupo no tiene ninguna partida asignada.
- geozone: Ámbito de actuación
table_heading: Partida
table_amount: Cantidad
- table_geozone: Ámbito de actuación
budget_investments:
index:
heading_filter_all: Todas las partidas
diff --git a/config/locales/budgets.en.yml b/config/locales/budgets.en.yml
index 974f412eb..fa3aa3dd9 100644
--- a/config/locales/budgets.en.yml
+++ b/config/locales/budgets.en.yml
@@ -118,7 +118,7 @@ en:
one: 1 support
other: "%{count} supports"
zero: No supports
- vote: Vote
+ give_support: Support
header:
check_ballot: Check my ballot
different_heading_assigned_html: "You have active votes in another heading: %{heading_link}"
@@ -127,3 +127,4 @@ en:
heading: Heading
price: Price
no_heading: No Heading
+ phase: Actual phase
diff --git a/config/locales/budgets.es.yml b/config/locales/budgets.es.yml
index e3b7269b1..5b28a3b25 100644
--- a/config/locales/budgets.es.yml
+++ b/config/locales/budgets.es.yml
@@ -117,7 +117,7 @@ es:
one: 1 apoyo
other: "%{count} apoyos"
zero: Sin apoyos
- vote: Votar
+ give_support: Apoyar
header:
check_ballot: Revisar mis votos
different_heading_assigned_html: "Ya apoyaste propuestas de otra sección del presupuesto: %{heading_link}"
@@ -126,3 +126,4 @@ es:
heading: Partida
price: Cantidad
no_heading: Sin línea
+ phase: Fase actual
diff --git a/config/locales/en.yml b/config/locales/en.yml
index 83988ab85..adfec0e84 100755
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -441,7 +441,6 @@ en:
collective: Collective
flag: Flag as inappropriate
hide: Hide
- edit: Editar
print:
print_button: Print this info
search: Search
diff --git a/config/locales/es.yml b/config/locales/es.yml
index 8fd9b2c37..06a68286b 100755
--- a/config/locales/es.yml
+++ b/config/locales/es.yml
@@ -445,7 +445,6 @@ es:
print_button: Imprimir esta información
search: Buscar
show: Mostrar
- edit: Editar
suggest:
debate:
found:
diff --git a/config/locales/fr.yml b/config/locales/fr.yml
index b70c4648d..ef0f5a419 100644
--- a/config/locales/fr.yml
+++ b/config/locales/fr.yml
@@ -1497,7 +1497,6 @@ fr:
create:
flash:
offices: Bureaux de soutien aux citoyens
- offices_url: http://offices.consul
success_html: Merci d'avoir demandé votre code de sécurité maximum (uniquement
requis pour le vote final). Dans quelques jours, nous vous enverrons
un courrier vers votre adresse postale. Vous pouvez le réclamer dans n'importe
@@ -1512,7 +1511,6 @@ fr:
go_to_index: Voir les propositions
office: Vérifier dans n'importe quel %{office}
offices: Bureaux de soutien aux citoyens
- offices_url: http://offices.consul
send_letter: Envoyer une lettre avec le code
title: Félicitations
user_permission_info: Avec votre compte, vous pouvez
diff --git a/config/locales/pt-BR.yml b/config/locales/pt-BR.yml
index 831c9a556..2254e6e94 100644
--- a/config/locales/pt-BR.yml
+++ b/config/locales/pt-BR.yml
@@ -1518,7 +1518,6 @@ pt-BR:
create:
flash:
offices: Escritórios de Apoio ao Cidadão
- offices_url: http://offices.consul
success_html: Obrigado por solicitar seu código de segurança máxima (somente
solicitado em votações finais). Em poucos dias nós lhe enviaremos
para seu endereço relacionado nos dados que temos em arquivo. Por favor
@@ -1534,7 +1533,6 @@ pt-BR:
go_to_index: Ver propostas
office: Verificar em qualquer %{office}
offices: Escritórios de Apoio ao Cidadão
- offices_url: http://offices.consul
send_letter: Envie-me uma carta com o código
title: Parabéns!
user_permission_info: Com a sua conta você pode...
diff --git a/config/locales/settings.en.yml b/config/locales/settings.en.yml
index 6c4ace44e..b2a4f85c8 100755
--- a/config/locales/settings.en.yml
+++ b/config/locales/settings.en.yml
@@ -35,4 +35,5 @@ en:
mailer_from_name: Origin email name
mailer_from_address: Origin email address
meta_description: "Site description (SEO)"
- meta_keywords: "Keywords (SEO)"
\ No newline at end of file
+ meta_keywords: "Keywords (SEO)"
+ verification_offices_url: Verification offices URL
diff --git a/config/locales/settings.es.yml b/config/locales/settings.es.yml
index ebb237dc8..c89861b85 100644
--- a/config/locales/settings.es.yml
+++ b/config/locales/settings.es.yml
@@ -35,4 +35,5 @@ es:
mailer_from_name: Nombre email remitente
mailer_from_address: Dirección email remitente
meta_description: "Descripción del sitio (SEO)"
- meta_keywords: "Palabras clave (SEO)"
\ No newline at end of file
+ meta_keywords: "Palabras clave (SEO)"
+ verification_offices_url: URL oficinas verificación
diff --git a/config/locales/valuation.en.yml b/config/locales/valuation.en.yml
index a5195deca..de19fea09 100644
--- a/config/locales/valuation.en.yml
+++ b/config/locales/valuation.en.yml
@@ -9,8 +9,13 @@ en:
index:
title: Participatory budgets
filters:
- open: Open
+ current: Open
finished: Finished
+ table_name: Name
+ table_phase: Phase
+ table_assigned_investments_valuation_open: Investment projects assigned with valuation open
+ table_actions: Actions
+ evaluate: Evaluate
budget_investments:
index:
headings_filter_all: All headings
@@ -18,12 +23,17 @@ en:
valuation_open: Open
valuating: Under valuation
valuation_finished: Valuation finished
+ assigned_to: "Assigned to %{valuator}"
title: Investment projects
- edit: Edit
+ edit: Edit dossier
valuators_assigned:
one: Assigned valuator
other: "%{count} valuators assigned"
no_valuators_assigned: No valuators assigned
+ table_id: ID
+ table_title: Title
+ table_heading_name: Heading name
+ table_actions: Actions
show:
back: Back
title: Investment project
diff --git a/config/locales/valuation.es.yml b/config/locales/valuation.es.yml
index 67302437b..b588c8521 100644
--- a/config/locales/valuation.es.yml
+++ b/config/locales/valuation.es.yml
@@ -9,8 +9,13 @@ es:
index:
title: Presupuestos participativos
filters:
- open: Abiertos
+ current: Abiertos
finished: Terminados
+ table_name: Nombre
+ table_phase: Fase
+ table_assigned_investments_valuation_open: Prop. Inv. asignadas en evaluación
+ table_actions: Acciones
+ evaluate: Evaluar
budget_investments:
index:
headings_filter_all: Todas las partidas
@@ -19,11 +24,16 @@ es:
valuating: En evaluación
valuation_finished: Evaluación finalizada
title: Propuestas de inversión
- edit: Editar
+ assigned_to: "Asignadas a %{valuator}"
+ edit: Editar informe
valuators_assigned:
one: Evaluador asignado
other: "%{count} evaluadores asignados"
no_valuators_assigned: Sin evaluador
+ table_id: ID
+ table_title: Título
+ table_heading_name: Nombre de la partida
+ table_actions: Acciones
show:
back: Volver
title: Propuesta de inversión
diff --git a/config/locales/verification.en.yml b/config/locales/verification.en.yml
index e47e5a6b3..b6a89f939 100755
--- a/config/locales/verification.en.yml
+++ b/config/locales/verification.en.yml
@@ -21,7 +21,6 @@ en:
create:
flash:
offices: Citizen Support Offices
- offices_url: http://offices.consul
success_html: Thank you for requesting your maximum security code (only required for the final votes). In a few days we will send it to the address featuring in the data we have on file. Please remember that, if you prefer, you can collect your code from any of the %{offices}.
edit:
see_all: See proposals
@@ -33,7 +32,6 @@ en:
go_to_index: See proposals
office: Verify in any %{office}
offices: Citizen Support Offices
- offices_url: http://offices.consul
send_letter: Send me a letter with the code
title: Congratulations!
user_permission_info: With your account you can...
@@ -65,7 +63,6 @@ en:
error_not_allowed_postal_code: In order to be verified, you must be registered.
error_verifying_census: The Census was unable to verify your information. Please confirm that your census details are correct by calling to City Council or visit one %{offices}.
error_verifying_census_offices: Citizen Support Office
- error_verifying_census_offices_url: http://offices.consul
form_errors: prevented the verification of your residence
postal_code: Postcode
postal_code_note: To verify your account you must be registered
diff --git a/config/locales/verification.es.yml b/config/locales/verification.es.yml
index a8e41ea09..65cfead6b 100644
--- a/config/locales/verification.es.yml
+++ b/config/locales/verification.es.yml
@@ -21,7 +21,6 @@ es:
create:
flash:
offices: Oficinas de Atención al Ciudadano
- offices_url: http://offices.consul
success_html: Antes de las votaciones recibirás una carta con las instrucciones para verificar tu cuenta. Recuerda que puedes ahorrar el envío verificándote presencialmente en cualquiera de las %{offices}.
edit:
see_all: Ver propuestas
@@ -33,7 +32,6 @@ es:
go_to_index: Ver propuestas
office: Verificarte presencialmente en cualquier %{office}
offices: Oficina de Atención al Ciudadano
- offices_url: http://offices.consul
send_letter: Solicitar una carta por correo postal
title: "¡Felicidades!"
user_permission_info: Con tu cuenta ya puedes...
@@ -65,7 +63,6 @@ es:
error_not_allowed_postal_code: Para verificarte debes estar empadronado.
error_verifying_census: El Padrón no pudo verificar tu información. Por favor, confirma que tus datos de empadronamiento sean correctos llamando al Ayuntamiento o visitando una %{offices}.
error_verifying_census_offices: oficina de Atención al ciudadano
- error_verifying_census_offices_url: http://offices.consul
form_errors: evitaron verificar tu residencia
postal_code: Código postal
postal_code_note: Para verificar tus datos debes estar empadronado
diff --git a/db/dev_seeds.rb b/db/dev_seeds.rb
index ee7d1a471..3acc1154a 100644
--- a/db/dev_seeds.rb
+++ b/db/dev_seeds.rb
@@ -38,6 +38,7 @@ Setting.create(key: 'mailer_from_name', value: 'Consul')
Setting.create(key: 'mailer_from_address', value: 'noreply@consul.dev')
Setting.create(key: 'meta_description', value: 'Citizen Participation and Open Government Application')
Setting.create(key: 'meta_keywords', value: 'citizen participation, open government')
+Setting.create(key: 'verification_offices_url', value: 'http://oficinas-atencion-ciudadano.url/')
puts "Creating Geozones"
('A'..'Z').each { |i| Geozone.create(name: "District #{i}", external_code: i.ord, census_code: i.ord) }
@@ -372,7 +373,7 @@ tags = Faker::Lorem.words(10)
description: "