mirror of
https://github.com/friendica/friendica
synced 2025-04-26 15:10:11 +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
|
@ -70,7 +70,7 @@ function tagger_content(App $a) {
|
|||
|
||||
$uri = Item::newURI($owner_uid);
|
||||
$xterm = XML::escape($term);
|
||||
$post_type = (($item['resource-id']) ? L10n::t('photo') : L10n::t('status'));
|
||||
$post_type = (($item['resource-id']) ? DI::l10n()->t('photo') : DI::l10n()->t('status'));
|
||||
$targettype = (($item['resource-id']) ? Activity\ObjectType::IMAGE : Activity\ObjectType::NOTE );
|
||||
$href = DI::baseUrl() . '/display/' . $item['guid'];
|
||||
|
||||
|
@ -103,7 +103,7 @@ EOT;
|
|||
</object>
|
||||
EOT;
|
||||
|
||||
$bodyverb = L10n::t('%1$s tagged %2$s\'s %3$s with %4$s');
|
||||
$bodyverb = DI::l10n()->t('%1$s tagged %2$s\'s %3$s with %4$s');
|
||||
|
||||
if (!isset($bodyverb)) {
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue