mirror of
https://github.com/friendica/friendica
synced 2025-05-19 15:44:11 +02:00
Move L10n::t() calls to DI::l10n()->t() calls
This commit is contained in:
parent
af88c2daa3
commit
5dfee31108
175 changed files with 2841 additions and 2841 deletions
|
@ -55,7 +55,7 @@ class ContactBlock
|
|||
'network' => [Protocol::DFRN, Protocol::ACTIVITYPUB, Protocol::OSTATUS, Protocol::DIASPORA, Protocol::FEED],
|
||||
]);
|
||||
|
||||
$contacts_title = L10n::t('No contacts');
|
||||
$contacts_title = DI::l10n()->t('No contacts');
|
||||
|
||||
$micropro = [];
|
||||
|
||||
|
@ -106,7 +106,7 @@ class ContactBlock
|
|||
$o = Renderer::replaceMacros($tpl, [
|
||||
'$contacts' => $contacts_title,
|
||||
'$nickname' => $profile['nickname'],
|
||||
'$viewcontacts' => L10n::t('View Contacts'),
|
||||
'$viewcontacts' => DI::l10n()->t('View Contacts'),
|
||||
'$micropro' => $micropro,
|
||||
]);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue