More missing t()

update t() calls
This commit is contained in:
Adam Magness 2018-01-22 16:17:21 -05:00
parent bae725c279
commit 83f1149d04
2 changed files with 3 additions and 2 deletions

View file

@ -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;

View file

@ -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;