X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=widgets%2Fwidget_like.php;h=5f03c12eb6abf96954216642578af1daa3cda146;hb=bcb51016771c00fd31cb51d12b16cc2c6369b84e;hp=b60d2d94d9ed483c8c1e509bc96828ace2db3b3f;hpb=6b11074c7cf1aae5c139d9d649bc55da6e46b572;p=friendica-addons.git diff --git a/widgets/widget_like.php b/widgets/widget_like.php index b60d2d94..5f03c12e 100644 --- a/widgets/widget_like.php +++ b/widgets/widget_like.php @@ -1,5 +1,7 @@ $likes, - '$strlike' => sprintf( tt("%d person likes this", "%d people like this", $likes), $likes), - + '$strlike' => 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), - + '$strdislike'=> L10n::tt("%d person doesn't like this", "%d people don't like this", $dislikes), + '$baseurl' => $a->get_baseurl(), - )); - + ]); + return $o; }