$this->user = $this->getTargetUser(null);
if (empty($this->user)) {
+ // TRANS: Client error displayed when user not found for an action.
$this->clientError(_('No such user.'), 404, $this->format);
return false;
}
);
$subtitle = sprintf(
- // TRANS: Used as subtitle in check for group membership. %1$s is a user name, %2$s is the site name.
+ // TRANS: Used as subtitle in check for group membership. %1$s is the site name, %2$s is a user name.
_('%1$s groups %2$s is a member of.'),
$sitename,
$this->user->nickname
break;
default:
$this->clientError(
- // TRANS: Client error displayed trying to execute an unknown API method checking group membership.
+ // TRANS: Client error displayed when coming across a non-supported API method.
_('API method not found.'),
404,
$this->format