*
* @see Action
*/
-
class PeopletagAction extends Action
{
$this->tag = $this->trimmed('tag');
if (!common_valid_profile_tag($this->tag)) {
+ // TRANS: Client error displayed when trying to tag a profile with an invalid tag.
+ // TRANS: %s is the invalid tag.
$this->clientError(sprintf(_('Not a valid people tag: %s.'),
$this->tag));
return;
*/
function title()
{
+ // TRANS: Page title for users with a certain self-tag.
+ // TRANS: %1$s is the tag, %2$s is the page number.
return sprintf(_('Users self-tagged with %1$s - page %2$d'),
$this->tag, $this->page);
}
-
}
class PeopleTagList extends ProfileList
return $aAttrs;
}
}
-