X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=widgets%2Fwidget_like.php;h=464e610102d5c2c8c7b4b6ef13a548cf38f86498;hb=09bb49eef5acf3b12ab6fae4687f7eec06c40eee;hp=27b5fbe6681928bd15bbb4c6a0f44dd836d2c7d0;hpb=39dd3dffe07efd69fa1ac6d0bd243c7fc0e3a66f;p=friendica-addons.git diff --git a/widgets/widget_like.php b/widgets/widget_like.php index 27b5fbe6..464e6101 100644 --- a/widgets/widget_like.php +++ b/widgets/widget_like.php @@ -1,6 +1,9 @@ $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), + ]); - '$baseurl' => $a->get_baseurl(), - )); - return $o; }