X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FContent%2FForumManager.php;h=f3f3392ec189c907ef77be4cd3f8723c70dca2a7;hb=1bc4b2e0788ac11d3b377013b410f2250fff68aa;hp=0c34cb94d498291e587f17bff8f4a0f40d2c760b;hpb=0a4119adaf6294bf43d135a0f435c1dd677c50e0;p=friendica.git diff --git a/src/Content/ForumManager.php b/src/Content/ForumManager.php index 0c34cb94d4..f3f3392ec1 100644 --- a/src/Content/ForumManager.php +++ b/src/Content/ForumManager.php @@ -7,7 +7,6 @@ namespace Friendica\Content; use Friendica\Core\Protocol; use Friendica\Content\Text\HTML; -use Friendica\Core\L10n; use Friendica\Core\Renderer; use Friendica\Database\DBA; use Friendica\DI; @@ -127,12 +126,12 @@ class ForumManager $o .= Renderer::replaceMacros( $tpl, [ - '$title' => L10n::t('Forums'), + '$title' => DI::l10n()->t('Forums'), '$forums' => $entries, - '$link_desc' => L10n::t('External link to forum'), + '$link_desc' => DI::l10n()->t('External link to forum'), '$total' => $total, '$visible_forums' => $visible_forums, - '$showmore' => L10n::t('show more')] + '$showmore' => DI::l10n()->t('show more')] ); }