X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=widgets%2Fwidget_like.php;h=464e610102d5c2c8c7b4b6ef13a548cf38f86498;hb=09bb49eef5acf3b12ab6fae4687f7eec06c40eee;hp=8f356da976b856b9326a3ceb217be18086314802;hpb=6d6e73096afb22e95678c651e055337f1bf5405d;p=friendica-addons.git diff --git a/widgets/widget_like.php b/widgets/widget_like.php old mode 100755 new mode 100644 index 8f356da9..464e6101 --- a/widgets/widget_like.php +++ b/widgets/widget_like.php @@ -1,5 +1,10 @@ $likes, - '$strlike' => sprintf( 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( 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; }