1
1
Fork 0

Added plural string for contact block

This commit is contained in:
Fabio Comuni 2011-03-23 13:58:46 +01:00
commit 4a14269349
5 changed files with 264 additions and 185 deletions

View file

@ -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();
}}
}}