X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fselftag.php;h=b886c3d9f731cc28e4e041df35c3e40159eb5365;hb=0e91a38c9c8cbaec0d29c5762b8194d2044e848b;hp=0efb896f6b5675db24fb0a9cf1c99f4f63680c45;hpb=382e4d2cdbd2dbfa211077fb9bce35441b8743cd;p=quix0rs-gnu-social.git diff --git a/actions/selftag.php b/actions/selftag.php index 0efb896f6b..b886c3d9f7 100644 --- a/actions/selftag.php +++ b/actions/selftag.php @@ -44,10 +44,8 @@ if (!defined('STATUSNET') && !defined('LACONICA')) { * * @see Action */ - class SelftagAction extends Action { - var $tag = null; var $page = null; @@ -65,7 +63,9 @@ class SelftagAction extends Action $this->tag = $this->trimmed('tag'); if (!common_valid_profile_tag($this->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; } @@ -99,7 +99,6 @@ class SelftagAction extends Action */ function showContent() { - $profile = new Profile(); $offset = ($this->page - 1) * PROFILES_PER_PAGE; @@ -150,10 +149,11 @@ class SelftagAction extends Action */ 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