From 0ce7b49cb3d2a75529790034edf62e7b77033ea0 Mon Sep 17 00:00:00 2001 From: Philipp Date: Tue, 27 Sep 2022 10:52:17 +0200 Subject: [PATCH] Minor l10n issue --- src/Moderation/DomainPatternBlocklist.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Moderation/DomainPatternBlocklist.php b/src/Moderation/DomainPatternBlocklist.php index 4db76bbd3..923fca88f 100644 --- a/src/Moderation/DomainPatternBlocklist.php +++ b/src/Moderation/DomainPatternBlocklist.php @@ -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.