X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=actions%2Fselftag.php;h=58f0460997536a662c8d59ba235a4fc226bf75eb;hb=3f28b17c86c4cd88d4f39629ea8a89ec3a820790;hp=c9ac3a2010d9e7bd944e864ac8b994f438dc1bed;hpb=f0d762f1968fa0ac33b39d73cc9c0225c9e8a989;p=quix0rs-gnu-social.git diff --git a/actions/selftag.php b/actions/selftag.php index c9ac3a2010..58f0460997 100644 --- a/actions/selftag.php +++ b/actions/selftag.php @@ -63,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; } @@ -158,7 +158,7 @@ class SelftagAction extends Action class SelfTagProfileList extends ProfileList { - function newListItem($profile) + function newListItem(Profile $profile) { return new SelfTagProfileListItem($profile, $this->action); }