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

@@ -67,6 +67,6 @@ class OAuthTokenCreatedMail extends Mailable
public function build(): self
{
return $this->view('emails.oauth-client-created-html')->text('emails.oauth-client-created-text')
->subject('A new OAuth client has been created');
->subject(trans('email.oauth_created_subject'));
}
}