X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fselftag.php;h=b886c3d9f731cc28e4e041df35c3e40159eb5365;hb=3255e2e1b81ce6d8d867e924eeacff2c9e53d706;hp=b0b4981f10c237887127f16d63e1c8b813ebb041;hpb=f47027abbefe35d17df50c67eec7cd1156a5e39a;p=quix0rs-gnu-social.git diff --git a/actions/selftag.php b/actions/selftag.php index b0b4981f10..b886c3d9f7 100644 --- a/actions/selftag.php +++ b/actions/selftag.php @@ -46,7 +46,6 @@ if (!defined('STATUSNET') && !defined('LACONICA')) { */ class SelftagAction extends Action { - var $tag = null; var $page = null; @@ -64,9 +63,9 @@ class SelftagAction 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.'), + // 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; } @@ -100,7 +99,6 @@ class SelftagAction extends Action */ function showContent() { - $profile = new Profile(); $offset = ($this->page - 1) * PROFILES_PER_PAGE; @@ -151,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