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