mirror of
https://github.com/friendica/friendica
synced 2025-04-26 15: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
|
@ -121,7 +121,7 @@ function dfrn_poll_init(App $a)
|
|||
Session::setVisitorsContacts();
|
||||
|
||||
if (!$quiet) {
|
||||
info(L10n::t('%1$s welcomes %2$s', $r[0]['username'], $r[0]['name']) . EOL);
|
||||
info(DI::l10n()->t('%1$s welcomes %2$s', $r[0]['username'], $r[0]['name']) . EOL);
|
||||
}
|
||||
|
||||
// Visitors get 1 day session.
|
||||
|
@ -524,7 +524,7 @@ function dfrn_poll_content(App $a)
|
|||
Session::setVisitorsContacts();
|
||||
|
||||
if (!$quiet) {
|
||||
info(L10n::t('%1$s welcomes %2$s', $r[0]['username'], $r[0]['name']) . EOL);
|
||||
info(DI::l10n()->t('%1$s welcomes %2$s', $r[0]['username'], $r[0]['name']) . EOL);
|
||||
}
|
||||
|
||||
// Visitors get 1 day session.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue