Added plural string for contact block
This commit is contained in:
4
boot.php
4
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();
|
||||
}}
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user