diff --git a/config/locales/en.yml b/config/locales/en.yml index c679aa256..32afecb9f 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -254,3 +254,5 @@ en: hours_number: "Hours number" tickets_number: "Tickets number" revenue: "Revenue" + account_creation: "Account creation" + project_publication: "Project publication" diff --git a/config/locales/fr.yml b/config/locales/fr.yml index 6ed88231b..6f93733f6 100644 --- a/config/locales/fr.yml +++ b/config/locales/fr.yml @@ -254,7 +254,5 @@ fr: hours_number: "Nombre d'heures" tickets_number: "Nombre de places" revenue: "Chiffre d'affaires" - course: "Stage" - workshop: "Atelier" account_creation: "Création de compte" project_publication: "Publication de projet" diff --git a/db/seeds.rb b/db/seeds.rb index b702f6865..0a86fcbab 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -57,9 +57,6 @@ end if StatisticSubType.count == 0 StatisticSubType.create!([ - {key: 'Stage', label:I18n.t('statistics.course'), statistic_types: StatisticIndex.find_by(es_type_key: 'event').statistic_types}, - {key: 'Atelier', label:I18n.t('statistics.workshop'), statistic_types: StatisticIndex.find_by(es_type_key: 'event').statistic_types}, - {key: 'created', label:I18n.t('statistics.account_creation'), statistic_types: StatisticIndex.find_by(es_type_key: 'account').statistic_types}, {key: 'published', label:I18n.t('statistics.project_publication'), statistic_types: StatisticIndex.find_by(es_type_key: 'project').statistic_types} ])