X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fremoveme.php;h=e86e5646795d54233486b73bda7aec716f7d88c4;hb=28e2eab7aee3ab5dac11fcc62be595b9a1c2df8b;hp=ae441e59364d0c5d7b8f820ed0ca69e610ceac19;hpb=e56a53647bd5469551bf4f9ef2df50a5dd16b943;p=friendica.git diff --git a/mod/removeme.php b/mod/removeme.php index ae441e5936..e86e564679 100644 --- a/mod/removeme.php +++ b/mod/removeme.php @@ -57,12 +57,14 @@ function removeme_post(App $a) continue; } + $l10n = DI::l10n()->withLang($admin['language']); + $email = DI::emailer() ->newSystemMail() ->withMessage( - DI::l10n()->t('[Friendica System Notify]') . ' ' . DI::l10n()->t('User deleted their account'), - DI::l10n()->t('On your Friendica node an user deleted their account. Please ensure that their data is removed from the backups.'), - DI::l10n()->t('The user id is %d', local_user())) + $l10n->t('[Friendica System Notify]') . ' ' . $l10n->t('User deleted their account'), + $l10n->t('On your Friendica node an user deleted their account. Please ensure that their data is removed from the backups.'), + $l10n->t('The user id is %d', local_user())) ->forUser($admin) ->withRecipient($admin['email']) ->build();