most email notifications translatable

This commit is contained in:
Florian Dupret
2020-05-25 19:24:21 +02:00
parent b54bb20617
commit 37b35661be
29 changed files with 179 additions and 92 deletions

View File

@@ -84,7 +84,7 @@ class MailError extends Job implements ShouldQueue
$args,
function (Message $message) use ($email) {
if ('mail@example.com' !== $email) {
$message->to($email, $email)->subject('Caught an error in Firefly III');
$message->to($email, $email)->subject(trans('email.error_subject'));
}
}
);