Move L10n::tt() calls to DI::l10n()->tt() calls

This commit is contained in:
nupplaPhil 2020-01-18 20:53:01 +01:00
parent 5dfee31108
commit a9a36fb302
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90
20 changed files with 42 additions and 42 deletions

View file

@ -87,7 +87,7 @@ class ContactBlock
$contacts_stmt = DBA::select('contact', ['id', 'uid', 'addr', 'url', 'name', 'thumb', 'network'], ['id' => $contact_ids]);
if (DBA::isResult($contacts_stmt)) {
$contacts_title = L10n::tt('%d Contact', '%d Contacts', $total);
$contacts_title = DI::l10n()->tt('%d Contact', '%d Contacts', $total);
$micropro = [];
while ($contact = DBA::fetch($contacts_stmt)) {