X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fapigrouplist.php;h=c7518ca129fb39dfc314fed08a00fc7382bdd6e0;hb=8b47400183052873b012dacf4eb5ba841914a886;hp=1f6d44363f6377bc496550fe95bd2469c9257eec;hpb=0b1f48ebd0fcfed50d2110b7731196e9adcc04a6;p=quix0rs-gnu-social.git diff --git a/actions/apigrouplist.php b/actions/apigrouplist.php index 1f6d44363f..c7518ca129 100644 --- a/actions/apigrouplist.php +++ b/actions/apigrouplist.php @@ -67,6 +67,7 @@ class ApiGroupListAction extends ApiBareAuthAction $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; } @@ -100,7 +101,7 @@ class ApiGroupListAction extends ApiBareAuthAction ); $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 @@ -130,7 +131,7 @@ class ApiGroupListAction extends ApiBareAuthAction 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