$t = Renderer::getMarkupTemplate("widget_like.tpl", "addon/widgets/");
$o .= Renderer::replaceMacros($t, [
'$like' => $likes,
- '$strlike' => L10n::tt("%d person likes this", "%d people like this", $likes),
+ '$strlike' => DI::l10n()->tt("%d person likes this", "%d people like this", $likes),
'$dislike' => $dislikes,
- '$strdislike'=> L10n::tt("%d person doesn't like this", "%d people don't like this", $dislikes),
+ '$strdislike'=> DI::l10n()->tt("%d person doesn't like this", "%d people don't like this", $dislikes),
]);
return $o;