From: Tobias Diekershoff Date: Wed, 11 Apr 2018 06:17:44 +0000 (+0200) Subject: noreply should not be translate-able in email addresses X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ef8e984c622de7c8e84b1b3cebcf187a5e873219;p=friendica.git noreply should not be translate-able in email addresses --- diff --git a/src/App.php b/src/App.php index 1acd35ac34..d76351b97a 100644 --- a/src/App.php +++ b/src/App.php @@ -1062,7 +1062,7 @@ class App $hostname = substr($hostname, 0, strpos($hostname, ':')); } - $sender_email = L10n::t('noreply') . '@' . $hostname; + $sender_email = 'noreply@' . $hostname; } return $sender_email; diff --git a/src/Worker/Delivery.php b/src/Worker/Delivery.php index 88085357af..c94d53f153 100644 --- a/src/Worker/Delivery.php +++ b/src/Worker/Delivery.php @@ -399,7 +399,7 @@ class Delivery { $headers = 'From: '.Email::encodeHeader($local_user[0]['username'],'UTF-8').' <'.$local_user[0]['email'].'>'."\n"; } } else { - $headers = 'From: '. Email::encodeHeader($local_user[0]['username'],'UTF-8') .' <'. L10n::t('noreply') .'@'.$a->get_hostname() .'>'. "\n"; + $headers = 'From: '. Email::encodeHeader($local_user[0]['username'],'UTF-8') .' get_hostname() .'>'. "\n"; } //if ($reply_to)