X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fping.php;h=a685a924a759b353c73169590d815fcd12b7ab40;hb=407b2397cbb25a1de9252f16279dfdd786ffade1;hp=6e11e18cd6ea5584a7b4726fe227004474298eb8;hpb=ead9d8623683f8ecdbe9b75bb7fd031d89d54ebe;p=friendica.git diff --git a/mod/ping.php b/mod/ping.php index 6e11e18cd6..a685a924a7 100644 --- a/mod/ping.php +++ b/mod/ping.php @@ -7,6 +7,7 @@ use Friendica\Content\Feature; use Friendica\Content\ForumManager; use Friendica\Core\Addon; use Friendica\Core\Cache; +use Friendica\Core\L10n; use Friendica\Core\System; use Friendica\Core\PConfig; use Friendica\Database\DBM; @@ -286,7 +287,7 @@ function ping_init(App $a) 'photo' => $intro['photo'], 'date' => $intro['datetime'], 'seen' => false, - 'message' => t('{0} wants to be your friend'), + 'message' => L10n::t('{0} wants to be your friend'), ]; $notifs[] = $notif; } @@ -301,7 +302,7 @@ function ping_init(App $a) 'photo' => $mail['from-photo'], 'date' => $mail['created'], 'seen' => false, - 'message' => t('{0} sent you a message'), + 'message' => L10n::t('{0} sent you a message'), ]; $notifs[] = $notif; } @@ -316,7 +317,7 @@ function ping_init(App $a) 'photo' => $reg['micro'], 'date' => $reg['created'], 'seen' => false, - 'message' => t('{0} requested registration'), + 'message' => L10n::t('{0} requested registration'), ]; $notifs[] = $notif; }