mirror of
https://github.com/friendica/friendica
synced 2025-04-26 11:10:11 +00:00
Move L10n::withLang() calls to DI::l10n()->withLang() calls
This commit is contained in:
parent
a9a36fb302
commit
d3255afa66
4 changed files with 5 additions and 5 deletions
|
@ -57,7 +57,7 @@ function notification($params)
|
|||
$params['to_email'] = ($params['to_email'] ?? '') ?: $user['email'];
|
||||
|
||||
// from here on everything is in the recipients language
|
||||
$l10n = L10n::withLang($params['language']);
|
||||
$l10n = DI::l10n()->withLang($params['language']);
|
||||
|
||||
$banner = $l10n->t('Friendica Notification');
|
||||
$product = FRIENDICA_PLATFORM;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue