summaryrefslogtreecommitdiff
path: root/includes/helper
diff options
context:
space:
mode:
authorBot <bot@myigel.name>2018-08-29 21:55:32 +0200
committerIgor Scheller <igor.scheller@igorshp.de>2018-08-29 23:46:32 +0200
commite8f8fc7f5f5eba315290bc8d45348c3a4d4bee79 (patch)
treef882e29ee1ca436ee98a93a4f8a489630a71b9c1 /includes/helper
parent3a1164164791edbe30c7247b98585474867dd968 (diff)
Replaced gettext translation `_()` with `__()` that uses the Translator class
Diffstat (limited to 'includes/helper')
-rw-r--r--includes/helper/email_helper.php6
1 files changed, 3 insertions, 3 deletions
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);