mirror of
https://github.com/friendica/friendica
synced 2025-05-07 23:04:10 +02: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
|
@ -43,9 +43,9 @@ class L10n
|
|||
* string interpolation (sprintf) with additional optional arguments.
|
||||
*
|
||||
* Usages:
|
||||
* - L10n::t('This is an example')
|
||||
* - L10n::t('URL %s returned no result', $url)
|
||||
* - L10n::t('Current version: %s, new version: %s', $current_version, $new_version)
|
||||
* - DI::l10n()->t('This is an example')
|
||||
* - DI::l10n()->t('URL %s returned no result', $url)
|
||||
* - DI::l10n()->t('Current version: %s, new version: %s', $current_version, $new_version)
|
||||
*
|
||||
* @param string $s
|
||||
* @param array $vars Variables to interpolate in the translation string
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue