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

@ -174,7 +174,7 @@ class L10n
* @param int $count
* @return string
*/
function tt($singular, $plural, $count)
public static function tt($singular, $plural, $count)
{
global $lang;
$a = get_app();

View file

@ -231,7 +231,7 @@ class UserImport
}
}
if ($errorcount > 0) {
notice(sprintf(tt("%d contact not imported", "%d contacts not imported", $errorcount), $errorcount));
notice(sprintf(L10n::tt("%d contact not imported", "%d contacts not imported", $errorcount), $errorcount));
}
foreach ($account['group'] as &$group) {