diff --git a/config/locales/en.yml b/config/locales/en.yml index f2c40c8f7..c1bcac742 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -36,16 +36,6 @@ en: first: First truncate: '…' - # mail: - # administration: - # dossier_expiration_summary: - # expired_dossiers: - # one: "Un dossier a passé sa date limite de conservation" - # other: "%{count} dossiers ont passé leur date limite de conservation" - # expiring_dossiers: - # one: "Un dossier est sur le point de passer sa date limite de conservation" - # other: "%{count} dossiers sont sur le point de passer leur date limite de conservation" - modal: publish: title: diff --git a/config/locales/fr.yml b/config/locales/fr.yml index 4d7247cfb..5409206ad 100644 --- a/config/locales/fr.yml +++ b/config/locales/fr.yml @@ -36,16 +36,6 @@ fr: first: Premier truncate: '…' - mail: - administration: - dossier_expiration_summary: - expired_dossiers: - one: "Un dossier a passé sa date limite de conservation" - other: "%{count} dossiers ont passé leur date limite de conservation" - expiring_dossiers: - one: "Un dossier est sur le point de passer sa date limite de conservation" - other: "%{count} dossiers sont sur le point de passer leur date limite de conservation" - modal: publish: title: diff --git a/spec/mailers/previews/administration_mailer_preview.rb b/spec/mailers/previews/administration_mailer_preview.rb index 67f6708da..6523b25f8 100644 --- a/spec/mailers/previews/administration_mailer_preview.rb +++ b/spec/mailers/previews/administration_mailer_preview.rb @@ -19,12 +19,6 @@ class AdministrationMailerPreview < ActionMailer::Preview AdministrationMailer.refuse_admin('bad_admin@pipo.com') end - def dossier_expiration_summary - expiring_dossiers = [Dossier.new(id: 100, procedure: procedure_1)] - expired_dossiers = [Dossier.new(id: 100, procedure: procedure_2)] - AdministrationMailer.dossier_expiration_summary(expiring_dossiers, expired_dossiers) - end - private def procedure_1