Added plural string for contact block
This commit is contained in:
parent
894e88d792
commit
4a14269349
5 changed files with 264 additions and 185 deletions
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();
|
||||
}}
|
||||
}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue