From e8f8fc7f5f5eba315290bc8d45348c3a4d4bee79 Mon Sep 17 00:00:00 2001 From: Bot Date: Wed, 29 Aug 2018 21:55:32 +0200 Subject: Replaced gettext translation `_()` with `__()` that uses the Translator class --- includes/helper/email_helper.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'includes/helper') diff --git a/includes/helper/email_helper.php b/includes/helper/email_helper.php index 8d1cb794..a0631550 100644 --- a/includes/helper/email_helper.php +++ b/includes/helper/email_helper.php @@ -20,10 +20,10 @@ function engelsystem_email_to_user($recipient_user, $title, $message, $not_if_it $locale = $translator->getLocale(); $translator->setLocale($recipient_user['Sprache']); - $message = sprintf(_('Hi %s,'), $recipient_user['Nick']) . "\n\n" - . _('here is a message for you from the engelsystem:') . "\n\n" + $message = sprintf(__('Hi %s,'), $recipient_user['Nick']) . "\n\n" + . __('here is a message for you from the engelsystem:') . "\n\n" . $message . "\n\n" - . _('This email is autogenerated and has not been signed. You got this email because you are registered in the engelsystem.'); + . __('This email is autogenerated and has not been signed. You got this email because you are registered in the engelsystem.'); $translator->setLocale($locale); return engelsystem_email($recipient_user['email'], $title, $message); -- cgit v1.2.3-54-g00ecf