mirror of
https://github.com/friendica/friendica
synced 2025-04-23 01:50:10 +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
|
@ -191,7 +191,7 @@ class Update
|
|||
//send the administrator an e-mail
|
||||
self::updateFailed(
|
||||
$x,
|
||||
L10n::t('Update %s failed. See error logs.', $x)
|
||||
DI::l10n()->t('Update %s failed. See error logs.', $x)
|
||||
);
|
||||
Logger::error('Update function ERROR.', ['function' => $funcname, 'retval' => $retval]);
|
||||
DI::lock()->release('dbupdate_function');
|
||||
|
@ -305,7 +305,7 @@ class Update
|
|||
'uid' => $admin['uid'],
|
||||
'type' => SYSTEM_EMAIL,
|
||||
'to_email' => $admin['email'],
|
||||
'subject' => l10n::t('[Friendica Notify] Database update'),
|
||||
'subject' => DI::l10n()->t('[Friendica Notify] Database update'),
|
||||
'preamble' => $preamble,
|
||||
'body' => $preamble,
|
||||
'language' => $lang]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue