mirror of
https://github.com/friendica/friendica
synced 2025-04-28 11:44:23 +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
|
@ -1270,14 +1270,14 @@ class OStatus
|
|||
$selfUri = '/feed/' . $owner["nick"] . '/';
|
||||
switch ($filter) {
|
||||
case 'activity':
|
||||
$title = L10n::t('%s\'s timeline', $owner['name']);
|
||||
$title = DI::l10n()->t('%s\'s timeline', $owner['name']);
|
||||
$selfUri .= $filter;
|
||||
break;
|
||||
case 'posts':
|
||||
$title = L10n::t('%s\'s posts', $owner['name']);
|
||||
$title = DI::l10n()->t('%s\'s posts', $owner['name']);
|
||||
break;
|
||||
case 'comments':
|
||||
$title = L10n::t('%s\'s comments', $owner['name']);
|
||||
$title = DI::l10n()->t('%s\'s comments', $owner['name']);
|
||||
$selfUri .= $filter;
|
||||
break;
|
||||
}
|
||||
|
@ -1832,12 +1832,12 @@ class OStatus
|
|||
}
|
||||
|
||||
if ($item['verb'] == Activity::FOLLOW) {
|
||||
$message = L10n::t('%s is now following %s.');
|
||||
$title = L10n::t('following');
|
||||
$message = DI::l10n()->t('%s is now following %s.');
|
||||
$title = DI::l10n()->t('following');
|
||||
$action = "subscription";
|
||||
} else {
|
||||
$message = L10n::t('%s stopped following %s.');
|
||||
$title = L10n::t('stopped following');
|
||||
$message = DI::l10n()->t('%s stopped following %s.');
|
||||
$title = DI::l10n()->t('stopped following');
|
||||
$action = "unfollow";
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue