mirror of
https://github.com/friendica/friendica
synced 2025-04-23 02:30:20 +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
|
@ -253,7 +253,7 @@ class Update
|
|||
$sent[] = $admin['email'];
|
||||
|
||||
$lang = (($admin['language'])?$admin['language']:'en');
|
||||
$l10n = L10n::withLang($lang);
|
||||
$l10n = DI::l10n()->withLang($lang);
|
||||
|
||||
$preamble = Strings::deindent($l10n->t("
|
||||
The friendica developers released update %s recently,
|
||||
|
@ -295,7 +295,7 @@ class Update
|
|||
$sent[] = $admin['email'];
|
||||
|
||||
$lang = (($admin['language']) ? $admin['language'] : 'en');
|
||||
$l10n = L10n::withLang($lang);
|
||||
$l10n = DI::l10n()->withLang($lang);
|
||||
|
||||
$preamble = Strings::deindent($l10n->t("
|
||||
The friendica database was successfully updated from %s to %s.",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue