mirror of
https://github.com/friendica/friendica
synced 2025-04-25 04:30:11 +00: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
|
@ -25,7 +25,7 @@ function common_content(App $a)
|
|||
$zcid = 0;
|
||||
|
||||
if (!local_user()) {
|
||||
notice(L10n::t('Permission denied.') . EOL);
|
||||
notice(DI::l10n()->t('Permission denied.') . EOL);
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -88,7 +88,7 @@ function common_content(App $a)
|
|||
}
|
||||
|
||||
if ($total < 1) {
|
||||
notice(L10n::t('No contacts in common.') . EOL);
|
||||
notice(DI::l10n()->t('No contacts in common.') . EOL);
|
||||
return $o;
|
||||
}
|
||||
|
||||
|
@ -139,7 +139,7 @@ function common_content(App $a)
|
|||
if ($cmd === 'loc' && $cid && local_user() == $uid) {
|
||||
$tab_str = Module\Contact::getTabsHTML($a, $contact, 5);
|
||||
} else {
|
||||
$title = L10n::t('Common Friends');
|
||||
$title = DI::l10n()->t('Common Friends');
|
||||
}
|
||||
|
||||
$tpl = Renderer::getMarkupTemplate('viewcontact_template.tpl');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue