]> git.mxchange.org Git - friendica.git/blobdiff - src/Content/ForumManager.php
Merge pull request #8134 from nupplaphil/task/di_l10n
[friendica.git] / src / Content / ForumManager.php
index 0c34cb94d498291e587f17bff8f4a0f40d2c760b..f3f3392ec189c907ef77be4cd3f8723c70dca2a7 100644 (file)
@@ -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')]
                        );
                }