X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=communityhome%2Fcommunityhome.php;fp=communityhome%2Fcommunityhome.php;h=78d9fe8a96930978e4d2c8e60e69751a6373b2ed;hb=b191d5716c850b5b5b44d46a265a1108b838a320;hp=4a9db11299b833a6de804e2bbd4e019534fdbb5c;hpb=a43901ba073f64b8b2fa5b320d94d7426ef84a7e;p=friendica-addons.git diff --git a/communityhome/communityhome.php b/communityhome/communityhome.php index 4a9db112..78d9fe8a 100644 --- a/communityhome/communityhome.php +++ b/communityhome/communityhome.php @@ -227,7 +227,7 @@ function communityhome_home(&$a, &$o){ } $plink = '' . $post_type . ''; - $aside['$like_items'][] = sprintf(L10n::t('%1$s likes %2$s\'s %3$s'), $author, $objauthor, $plink); + $aside['$like_items'][] = L10n::t('%1$s likes %2$s\'s %3$s', $author, $objauthor, $plink); } } @@ -236,7 +236,7 @@ function communityhome_home(&$a, &$o){ $tpl = get_markup_template('communityhome.tpl', 'addon/communityhome/'); $a->page['aside'] = replace_macros($tpl, $aside); - $o = '

' . ((x($a->config,'sitename')) ? sprintf(L10n::t("Welcome to %s") ,$a->config['sitename']) : "" ) . '

'; + $o = '

' . ((x($a->config,'sitename')) ? L10n::t("Welcome to %s", $a->config['sitename']) : "" ) . '

'; if(file_exists('home.html')) $o = file_get_contents('home.html');