Email notifications are now translatable

This commit is contained in:
Florian Dupret
2020-05-26 12:01:39 +02:00
parent 37b35661be
commit 351c0ee2d7
17 changed files with 69 additions and 77 deletions

View File

@@ -79,7 +79,7 @@ class ReportNewJournalsMail extends Mailable
$this->transform();
return $this->view('emails.report-new-journals-html')->text('emails.report-new-journals-text')
->subject($subject);
->subject(trans_choice('email.new_journals_subject', $this->groups->count() ));
}
private function transform(): void