]> git.mxchange.org Git - friendica.git/blobdiff - boot.php
Added plural string for contact block
[friendica.git] / boot.php
index 3636288b282e2576df84d07af0def2a9725d1f91..211cbb0082e900195c31b930fc7c53151e665205 100644 (file)
--- a/boot.php
+++ b/boot.php
@@ -2013,7 +2013,7 @@ function contact_block() {
                        intval($shown)
        );
        if(count($r)) {
-               $o .= '<h4 class="contact-h4">' . $total . ' ' . t('Contacts') . '</h4><div id="contact-block">';
+               $o .= '<h4 class="contact-h4">' .  sprintf(tt('%d Contact','%d Contacts', $total),$total) . '</h4><div id="contact-block">';
                foreach($r as $rr) {
                        $redirect_url = $a->get_baseurl() . '/redir/' . $rr['id'];
                        if(local_user() && ($rr['uid'] == local_user())
@@ -2659,4 +2659,4 @@ function extract_item_authors($arr,$uid) {
                }
        }
        return array();         
-}}
\ No newline at end of file
+}}