From 83f1149d0432e480c10321bd2d98aa1b699744cf Mon Sep 17 00:00:00 2001 From: Adam Magness Date: Mon, 22 Jan 2018 16:17:21 -0500 Subject: [PATCH] More missing t() update t() calls --- include/enotify.php | 4 ++-- src/Protocol/Diaspora.php | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/include/enotify.php b/include/enotify.php index b0ec1c1c8..f7a93a10f 100644 --- a/include/enotify.php +++ b/include/enotify.php @@ -35,9 +35,9 @@ function notification($params) $thanks = L10n::t('Thank You,'); $sitename = $a->config['sitename']; if (!x($a->config['admin_name'])) { - $site_admin = sprintf(t('%s Administrator'), $sitename); + $site_admin = sprintf(L10n::t('%s Administrator'), $sitename); } else { - $site_admin = sprintf(t('%1$s, %2$s Administrator'), $a->config['admin_name'], $sitename); + $site_admin = sprintf(L10n::t('%1$s, %2$s Administrator'), $a->config['admin_name'], $sitename); } $sender_name = $sitename; diff --git a/src/Protocol/Diaspora.php b/src/Protocol/Diaspora.php index bf917543b..815ab24cd 100644 --- a/src/Protocol/Diaspora.php +++ b/src/Protocol/Diaspora.php @@ -13,6 +13,7 @@ use Friendica\App; use Friendica\Core\System; use Friendica\Core\Cache; use Friendica\Core\Config; +use Friendica\Core\L10n; use Friendica\Core\PConfig; use Friendica\Core\Worker; use Friendica\Database\DBM;