Updat tt() calls

update function calls for tt()
This commit is contained in:
Adam Magness 2018-01-21 17:15:52 -05:00
parent d49f986d1e
commit 3b0f69599e
13 changed files with 30 additions and 27 deletions

View file

@ -952,10 +952,10 @@ function contact_block() {
dbesc(implode(",", $contacts)));
if (DBM::is_result($r)) {
$contacts = sprintf(tt('%d Contact','%d Contacts', $total),$total);
$contacts = sprintf(L10n::tt('%d Contact', '%d Contacts', $total), $total);
$micropro = [];
foreach ($r as $rr) {
$micropro[] = micropro($rr,true,'mpfriend');
$micropro[] = micropro($rr, true, 'mpfriend');
}
}
}