Add missing settings to dev seeds

This commit is contained in:
decabeza
2019-02-25 14:59:03 +01:00
parent b68e8bf5d2
commit 6fd13c1701
3 changed files with 10 additions and 0 deletions

View File

@@ -72,6 +72,10 @@ en:
min_age_to_participate_description: "Users over this age can participate in all processes where a user verified account is needed" min_age_to_participate_description: "Users over this age can participate in all processes where a user verified account is needed"
analytics_url: "Analytics URL" analytics_url: "Analytics URL"
verification_offices_url: Verification offices URL verification_offices_url: Verification offices URL
proposal_notification_minimum_interval_in_days: "Minimum interval (in days) for authors of proposals to send new proposal notifications"
proposal_notification_minimum_interval_in_days_description: "The number of days user can send a notification for all supporters of their proposal"
direct_message_max_per_day: "Direct Message max number per day"
direct_message_max_per_day_description: "Number max of direct messages one user can send per day"
feature: feature:
budgets: "Participatory budgeting" budgets: "Participatory budgeting"
budgets_description: "With participatory budgets, citizens decide which projects presented by their neighbours will receive a part of the municipal budget" budgets_description: "With participatory budgets, citizens decide which projects presented by their neighbours will receive a part of the municipal budget"

View File

@@ -72,6 +72,10 @@ es:
min_age_to_participate_description: "Los usuarios mayores de esta edad podrán participar en todos los procesos donde se necesite una cueta verificada" min_age_to_participate_description: "Los usuarios mayores de esta edad podrán participar en todos los procesos donde se necesite una cueta verificada"
analytics_url: "URL de estadísticas externas" analytics_url: "URL de estadísticas externas"
verification_offices_url: URL oficinas verificación verification_offices_url: URL oficinas verificación
proposal_notification_minimum_interval_in_days: "Intervalo mínimo (en días) para que los autores de propuestas puedan enviar nuevas notificaciones de propuesta"
proposal_notification_minimum_interval_in_days_description: "El número de días en los que un usuario puede enviar una notificación a todos los que apoyan su propuesta"
direct_message_max_per_day: "Mensajes directos máximos por día"
direct_message_max_per_day_description: "Número de mensajes directos máximos que un usuario puede enviar por día"
feature: feature:
budgets: "Presupuestos participativos" budgets: "Presupuestos participativos"
budgets_description: "Con los presupuestos participativos la ciudadanía decide a qué proyectos presentados por los vecinos y vecinas va destinada una parte del presupuesto municipal" budgets_description: "Con los presupuestos participativos la ciudadanía decide a qué proyectos presentados por los vecinos y vecinas va destinada una parte del presupuesto municipal"

View File

@@ -64,6 +64,8 @@ section "Creating Settings" do
Setting.create(key: 'map_longitude', value: -3.7) Setting.create(key: 'map_longitude', value: -3.7)
Setting.create(key: 'map_zoom', value: 10) Setting.create(key: 'map_zoom', value: 10)
Setting.create(key: 'featured_proposals_number', value: 3) Setting.create(key: 'featured_proposals_number', value: 3)
Setting.create(key: 'proposal_notification_minimum_interval_in_days', value: 0)
Setting.create(key: 'direct_message_max_per_day', value: 3)
Setting.create(key: 'related_content_score_threshold', value: -0.3) Setting.create(key: 'related_content_score_threshold', value: -0.3)
Setting.create(key: 'hot_score_period_in_days', value: 31) Setting.create(key: 'hot_score_period_in_days', value: 31)