Skip to content

Commit

Permalink
Add missing verification settings to dev seeds
Browse files Browse the repository at this point in the history
  • Loading branch information
decabeza committed Feb 19, 2019
1 parent b68e8bf commit a5bc0fc
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config/locales/en/settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
analytics_url: "Analytics 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:
budgets: "Participatory budgeting"
budgets_description: "With participatory budgets, citizens decide which projects presented by their neighbours will receive a part of the municipal budget"
Expand Down
4 changes: 4 additions & 0 deletions config/locales/es/settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
analytics_url: "URL de estadísticas externas"
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:
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"
Expand Down
2 changes: 2 additions & 0 deletions db/dev_seeds/settings.rb
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@
Setting.create(key: 'map_longitude', value: -3.7)
Setting.create(key: 'map_zoom', value: 10)
Setting.create(key: 'featured_proposals_number', value: 3)
Setting.create(key: 'proposal_notification_minimum_interval_in_days', value: 3)
Setting.create(key: 'direct_message_max_per_day', value: 3)

Setting.create(key: 'related_content_score_threshold', value: -0.3)
Setting.create(key: 'hot_score_period_in_days', value: 31)
Expand Down

0 comments on commit a5bc0fc

Please sign in to comment.