Merge pull request #11939 from nupplaphil/bug/l10n

Minor l10n issue
This commit is contained in:
Hypolite Petovan 2022-09-27 11:20:37 -04:00 committed by GitHub
commit 38096ce4cb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -222,11 +222,11 @@ class DomainPatternBlocklist
}
foreach ($recipients as $recipient) {
$this->l10n->withLang($recipient['language']);
$l10n = $this->l10n->withLang($recipient['language']);
$email = $this->emailer->newSystemMail()
->withMessage(
$this->l10n->t('[%s] Notice of remote server domain pattern block list update', $this->emailer->getSiteEmailName()),
$this->l10n->t(
$l10n->t('[%s] Notice of remote server domain pattern block list update', $this->emailer->getSiteEmailName()),
$l10n->t(
'Dear %s,
You are receiving this email because the Friendica node at %s where you are registered as a user updated their remote server domain pattern block list.