* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0
* @link http://status.net/
*/
-
class PeopletagsubscribersAction extends OwnerDesignAction
{
var $page = null;
}
if (!$tagger) {
+ // TRANS: Client error displayed when a tagger is expected but not provided.
$this->clientError(_('No tagger.'), 404);
return false;
}
$user = User::staticGet('nickname', $tagger);
if (!$user) {
+ // TRANS: Client error displayed trying to perform an action related to a non-existing user.
$this->clientError(_('No such user.'), 404);
return false;
}
$this->peopletag = Profile_list::pkeyGet(array('tagger' => $user->id, 'tag' => $tag));
if (!$this->peopletag) {
- $this->clientError(_('No such peopletag.'), 404);
+ // TRANS: Client error displayed trying to reference a non-existing list.
+ $this->clientError(_('No such list.'), 404);
return false;
}
function title()
{
if ($this->page == 1) {
- return sprintf(_('Subscribers of people tagged %s by %s'),
+ // TRANS: Page title for list of list subscribers.
+ // TRANS: %1$s is a list, %2$s is a user nickname.
+ return sprintf(_('Subscribers to list %1$s by %2$s'),
$this->peopletag->tag, $this->tagger->nickname);
} else {
- return sprintf(_('Subscribers of people tagged %s by %s, page %d'),
+ // TRANS: Page title for list of list subscribers.
+ // TRANS: %1$s is a list, %2$s is a user nickname, %3$d is a page number.
+ return sprintf(_('Subscribers to list %1$s by %2$s, page %3$d'),
$this->peopletag->tag, $this->tagger->nickname,
$this->page);
}
parent::showFullName();
if ($this->profile->id == $this->peopletag->tagger) {
$this->out->text(' ');
+ // TRANS: Addition in tag subscribers list for creator of a tag.
$this->out->element('span', 'role', _('Creator'));
}
}
/**
* Fetch necessary return-to arguments for the profile forms
* to return to this list when they're done.
- *
+ *
* @return array
*/
protected function returnToArgs()