Add both English and Spanish translations to Admin Notification seeds
This commit is contained in:
@@ -53,18 +53,3 @@ en:
|
|||||||
recounting_poll: "Recounting Poll"
|
recounting_poll: "Recounting Poll"
|
||||||
expired_poll_without_stats: "Expired Poll without Stats & Results"
|
expired_poll_without_stats: "Expired Poll without Stats & Results"
|
||||||
expired_poll_with_stats: "Expired Poll with Stats & Results"
|
expired_poll_with_stats: "Expired Poll with Stats & Results"
|
||||||
admin_notifications:
|
|
||||||
internal_link:
|
|
||||||
title: 'Do you have a proposal?'
|
|
||||||
body: 'Remember you can create a proposal with your ideas and people will discuss & support it.'
|
|
||||||
link: '/proposals'
|
|
||||||
external_link:
|
|
||||||
title: Help us translate consul
|
|
||||||
body: 'If you are proficient in a language, please help us translate consul!.'
|
|
||||||
link: 'https://crwd.in/consul'
|
|
||||||
without_link:
|
|
||||||
title: 'You can now geolocate proposals & investments'
|
|
||||||
body: 'When you create a proposal or investment you now can specify a point on a map'
|
|
||||||
not_sent:
|
|
||||||
title: 'We are closing the Participatory Budget!!'
|
|
||||||
body: 'Hurry up and create a last proposal before it ends next in few days!'
|
|
||||||
|
|||||||
@@ -53,18 +53,3 @@ es:
|
|||||||
recounting_poll: "Votación en Recuento"
|
recounting_poll: "Votación en Recuento"
|
||||||
expired_poll_without_stats: "Votación Finalizada (sin Estadísticas o Resultados)"
|
expired_poll_without_stats: "Votación Finalizada (sin Estadísticas o Resultados)"
|
||||||
expired_poll_with_stats: "Votación Finalizada (con Estadísticas y Resultado)"
|
expired_poll_with_stats: "Votación Finalizada (con Estadísticas y Resultado)"
|
||||||
admin_notifications:
|
|
||||||
internal_link:
|
|
||||||
title: 'Tienes una propuesta?'
|
|
||||||
body: 'Recuerda que puedes crear propuestas y los ciudadanos las debatirán y apoyarán.'
|
|
||||||
link: '/proposals'
|
|
||||||
external_link:
|
|
||||||
title: 'Ayúdanos a traducir CONSUL'
|
|
||||||
body: 'Si dominas un idioma, ayúdanos a completar su traducción en CONSUL.'
|
|
||||||
link: 'https://crwd.in/consul'
|
|
||||||
without_link:
|
|
||||||
title: 'Ahora puedes geolocalizar propuestas y proyectos de inversión'
|
|
||||||
body: 'Cuando crees una propuesta o proyecto de inversión podrás especificar su localización en el mapa'
|
|
||||||
not_sent:
|
|
||||||
title: 'Últimos días para crear proyectos de Presupuestos Participativos'
|
|
||||||
body: 'Quedan pocos dias para que se cierre el plazo de presentación de proyectos de inversión para los presupuestos participativos!'
|
|
||||||
|
|||||||
@@ -1,27 +1,43 @@
|
|||||||
section "Creating Admin Notifications & Templates" do
|
section "Creating Admin Notifications & Templates" do
|
||||||
AdminNotification.create!(
|
AdminNotification.create!(
|
||||||
title: I18n.t('seeds.admin_notification.internal_link.title'),
|
title_en: 'Do you have a proposal?',
|
||||||
body: I18n.t('seeds.admin_notification.internal_link.body'),
|
title_es: 'Tienes una propuesta?',
|
||||||
link: Setting['url'] + I18n.t('seeds.admin_notification.internal_link.link'),
|
|
||||||
|
body_en: 'Remember you can create a proposal with your ideas and people will discuss & support it.',
|
||||||
|
body_es: 'Recuerda que puedes crear propuestas y los ciudadanos las debatirán y apoyarán.',
|
||||||
|
|
||||||
|
link: Setting['url'] + '/proposals',
|
||||||
segment_recipient: 'administrators'
|
segment_recipient: 'administrators'
|
||||||
).deliver
|
).deliver
|
||||||
|
|
||||||
AdminNotification.create!(
|
AdminNotification.create!(
|
||||||
title: I18n.t('seeds.admin_notification.external_link.title'),
|
title_en: 'Help us translate consul',
|
||||||
body: I18n.t('seeds.admin_notification.external_link.body'),
|
title_es: 'Ayúdanos a traducir CONSUL',
|
||||||
link: I18n.t('seeds.admin_notification.external_link.link'),
|
|
||||||
|
body_en: 'If you are proficient in a language, please help us translate consul!.',
|
||||||
|
body_es: 'Si dominas un idioma, ayúdanos a completar su traducción en CONSUL.',
|
||||||
|
|
||||||
|
link: 'https://crwd.in/consul',
|
||||||
segment_recipient: 'administrators'
|
segment_recipient: 'administrators'
|
||||||
).deliver
|
).deliver
|
||||||
|
|
||||||
AdminNotification.create!(
|
AdminNotification.create!(
|
||||||
title: I18n.t('seeds.admin_notification.without_link.title'),
|
title_en: 'You can now geolocate proposals & investments',
|
||||||
body: I18n.t('seeds.admin_notification.without_link.body'),
|
title_es: 'Ahora puedes geolocalizar propuestas y proyectos de inversión',
|
||||||
|
|
||||||
|
body_en: 'When you create a proposal or investment you now can specify a point on a map',
|
||||||
|
body_es: 'Cuando crees una propuesta o proyecto de inversión podrás especificar su localización en el mapa',
|
||||||
|
|
||||||
segment_recipient: 'administrators'
|
segment_recipient: 'administrators'
|
||||||
).deliver
|
).deliver
|
||||||
|
|
||||||
AdminNotification.create!(
|
AdminNotification.create!(
|
||||||
title: I18n.t('seeds.admin_notification.not_sent.title'),
|
title_en: 'We are closing the Participatory Budget!!',
|
||||||
body: I18n.t('seeds.admin_notification.not_sent.body'),
|
title_es: 'Últimos días para crear proyectos de Presupuestos Participativos',
|
||||||
|
|
||||||
|
body_en: 'Hurry up and create a last proposal before it ends next in few days!',
|
||||||
|
body_es: 'Quedan pocos dias para que se cierre el plazo de presentación de proyectos de inversión para los presupuestos participativos!',
|
||||||
|
|
||||||
segment_recipient: 'administrators',
|
segment_recipient: 'administrators',
|
||||||
sent_at: nil
|
sent_at: nil
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user