mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-12 01:54:26 +02:00
Move L10n::tt() calls to DI::l10n()->tt() calls
This commit is contained in:
parent
5dfee31108
commit
a9a36fb302
20 changed files with 42 additions and 42 deletions
|
@ -67,8 +67,8 @@ class L10n
|
|||
* is performed using the count as parameter.
|
||||
*
|
||||
* Usages:
|
||||
* - L10n::tt('Like', 'Likes', $count)
|
||||
* - L10n::tt("%s user deleted", "%s users deleted", count($users))
|
||||
* - DI::l10n()->tt('Like', 'Likes', $count)
|
||||
* - DI::l10n()->tt("%s user deleted", "%s users deleted", count($users))
|
||||
*
|
||||
* @param string $singular
|
||||
* @param string $plural
|
||||
|
|
|
@ -254,8 +254,8 @@ class L10n
|
|||
* is performed using the count as parameter.
|
||||
*
|
||||
* Usages:
|
||||
* - L10n::tt('Like', 'Likes', $count)
|
||||
* - L10n::tt("%s user deleted", "%s users deleted", count($users))
|
||||
* - DI::l10n()->tt('Like', 'Likes', $count)
|
||||
* - DI::l10n()->tt("%s user deleted", "%s users deleted", count($users))
|
||||
*
|
||||
* @param string $singular
|
||||
* @param string $plural
|
||||
|
|
|
@ -216,7 +216,7 @@ class UserImport
|
|||
}
|
||||
}
|
||||
if ($errorcount > 0) {
|
||||
notice(L10n::tt("%d contact not imported", "%d contacts not imported", $errorcount));
|
||||
notice(DI::l10n()->tt("%d contact not imported", "%d contacts not imported", $errorcount));
|
||||
}
|
||||
|
||||
foreach ($account['group'] as &$group) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue