mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-07 00:48:55 +00:00
Remove sprintf with translations
don't use sprintf with translation functions
This commit is contained in:
parent
a43901ba07
commit
b191d5716c
15 changed files with 36 additions and 35 deletions
|
@ -58,10 +58,10 @@ function like_widget_content(&$a, $conf){
|
|||
$t = get_markup_template("widget_like.tpl", "addon/widgets/");
|
||||
$o .= replace_macros($t, [
|
||||
'$like' => $likes,
|
||||
'$strlike' => sprintf(L10n::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(L10n::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(),
|
||||
]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue