]> git.mxchange.org Git - friendica-addons.git/blobdiff - communityhome/communityhome.php
Remove sprintf with translations
[friendica-addons.git] / communityhome / communityhome.php
index 4a9db11299b833a6de804e2bbd4e019534fdbb5c..78d9fe8a96930978e4d2c8e60e69751a6373b2ed 100644 (file)
@@ -227,7 +227,7 @@ function communityhome_home(&$a, &$o){
                        }
                        $plink = '<a href="' . $rr['plink'] . '">' . $post_type . '</a>';
 
-                       $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 = '<h1>' . ((x($a->config,'sitename')) ? sprintf(L10n::t("Welcome to %s") ,$a->config['sitename']) : "" ) . '</h1>';
+       $o = '<h1>' . ((x($a->config,'sitename')) ? L10n::t("Welcome to %s", $a->config['sitename']) : "" ) . '</h1>';
 
        if(file_exists('home.html'))
                $o = file_get_contents('home.html');