X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fpeopletagsforusersection.php;h=fa5ec310330fc4dc08681a8b6c0140406609281e;hb=42545c662560e15e29cf620f6ed4f5e2c75b5647;hp=9f7879d9e1feff9bd26153cef7b56d08bc9ad5a1;hpb=7a00be5cc73790ff46b8027713d2018a4a66986e;p=quix0rs-gnu-social.git diff --git a/lib/peopletagsforusersection.php b/lib/peopletagsforusersection.php index 9f7879d9e1..fa5ec31033 100644 --- a/lib/peopletagsforusersection.php +++ b/lib/peopletagsforusersection.php @@ -2,7 +2,7 @@ /** * StatusNet, the distributed open-source microblogging tool * - * People tags a user has been tagged with + * Lists a user is in * * PHP version 5 * @@ -31,7 +31,7 @@ if (!defined('STATUSNET') && !defined('LACONICA')) { } /** - * People tags a user has been tagged with + * List a user has is in * * @category Widget * @package StatusNet @@ -54,8 +54,7 @@ class PeopletagsForUserSection extends PeopletagSection $limit = PEOPLETAGS_PER_SECTION+1; $offset = 0; - $auth_user = common_current_user(); - $ptags = $this->profile->getOtherTags($auth_user, $offset, $limit); + $ptags = $this->profile->getOtherTags(Profile::current(), $offset, $limit); return $ptags; } @@ -65,10 +64,10 @@ class PeopletagsForUserSection extends PeopletagSection $user = common_current_user(); if (!empty($user) && $this->profile->id == $user->id) { + // TRANS: Title for page that displays which lists current user is part of. return sprintf(_('Lists with you')); } - // TRANS: Title for page that displays - // which people tags a user has been tagged with. + // TRANS: Title for page that displays which lists a user is part of. // TRANS: %s is a profile name. return sprintf(_('Lists with %s'), $this->profile->getBestName()); }