*/
class SelftagAction extends Action
{
-
var $tag = null;
var $page = null;
$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.'),
+ // TRANS: Client error displayed when trying to list a profile with an invalid list.
+ // TRANS: %s is the invalid list name.
+ $this->clientError(sprintf(_('Not a valid list: %s.'),
$this->tag));
return;
}
*/
function showContent()
{
-
$profile = new Profile();
$offset = ($this->page - 1) * PROFILES_PER_PAGE;
*/
function title()
{
- return sprintf(_('Users self-tagged with %1$s - page %2$d'),
+ // TRANS: Page title for page showing self tags.
+ // TRANS: %1$s is a tag, %2$d is a page number.
+ return sprintf(_('Users self-tagged with %1$s, page %2$d'),
$this->tag, $this->page);
}
-
}
class SelfTagProfileList extends ProfileList