mirror of
https://github.com/friendica/friendica
synced 2025-04-28 12:24:23 +02:00
Finish t() for src
Update t() calls in src folder
This commit is contained in:
parent
407b2397cb
commit
07d306aa37
19 changed files with 392 additions and 384 deletions
|
@ -7,6 +7,7 @@ namespace Friendica\Protocol;
|
|||
use Friendica\App;
|
||||
use Friendica\Core\Cache;
|
||||
use Friendica\Core\Config;
|
||||
use Friendica\Core\L10n;
|
||||
use Friendica\Core\System;
|
||||
use Friendica\Database\DBM;
|
||||
use Friendica\Model\Contact;
|
||||
|
@ -1258,9 +1259,9 @@ class OStatus
|
|||
$root->setAttribute("xmlns:mastodon", NAMESPACE_MASTODON);
|
||||
|
||||
switch ($filter) {
|
||||
case 'activity': $title = t('%s\'s timeline', $owner['name']); break;
|
||||
case 'posts' : $title = t('%s\'s posts' , $owner['name']); break;
|
||||
case 'comments': $title = t('%s\'s comments', $owner['name']); break;
|
||||
case 'activity': $title = L10n::t('%s\'s timeline', $owner['name']); break;
|
||||
case 'posts' : $title = L10n::t('%s\'s posts' , $owner['name']); break;
|
||||
case 'comments': $title = L10n::t('%s\'s comments', $owner['name']); break;
|
||||
}
|
||||
|
||||
$attributes = ["uri" => "https://friendi.ca", "version" => FRIENDICA_VERSION . "-" . DB_UPDATE_VERSION];
|
||||
|
@ -1787,12 +1788,12 @@ class OStatus
|
|||
}
|
||||
|
||||
if ($item['verb'] == ACTIVITY_FOLLOW) {
|
||||
$message = t('%s is now following %s.');
|
||||
$title = t('following');
|
||||
$message = L10n::t('%s is now following %s.');
|
||||
$title = L10n::t('following');
|
||||
$action = "subscription";
|
||||
} else {
|
||||
$message = t('%s stopped following %s.');
|
||||
$title = t('stopped following');
|
||||
$message = L10n::t('%s stopped following %s.');
|
||||
$title = L10n::t('stopped following');
|
||||
$action = "unfollow";
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue