X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=widgets%2Fwidget_like.php;h=464e610102d5c2c8c7b4b6ef13a548cf38f86498;hb=09bb49eef5acf3b12ab6fae4687f7eec06c40eee;hp=279311874defd64e8b70cb1fb05e6fb78f024ce8;hpb=f8c162cbfb777793891f885e019eb8eae319dce1;p=friendica-addons.git diff --git a/widgets/widget_like.php b/widgets/widget_like.php index 27931187..464e6101 100644 --- a/widgets/widget_like.php +++ b/widgets/widget_like.php @@ -1,6 +1,9 @@ $likes, - '$strlike' => sprintf(L10n::tt("%d person likes this", "%d people like this", $likes), $likes), + '$strlike' => DI::l10n()->tt("%d person likes this", "%d people like this", $likes), '$dislike' => $dislikes, - '$strdislike'=> sprintf(L10n::tt("%d person doesn't like this", "%d people don't like this", $dislikes), $dislikes), - - '$baseurl' => $a->get_baseurl(), + '$strdislike'=> DI::l10n()->tt("%d person doesn't like this", "%d people don't like this", $dislikes), ]); return $o;