X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fapiusershow.php;h=11638954db2a54ba9836245000ef5b68a9a0bd2a;hb=04a593487a3b7a44f213cc92b783b3c22c23c579;hp=fbd4d605988604e03c23e9505165aca8d19e1874;hpb=04ae500749ea2e5937ac1f28ef8c7edf4f99f0a1;p=quix0rs-gnu-social.git diff --git a/actions/apiusershow.php b/actions/apiusershow.php index fbd4d60598..11638954db 100644 --- a/actions/apiusershow.php +++ b/actions/apiusershow.php @@ -96,7 +96,7 @@ class ApiUserShowAction extends ApiPrivateAuthAction } if (!in_array($this->format, array('xml', 'json'))) { - // TRANS: Client error displayed when trying to handle an unknown API method. + // TRANS: Client error displayed when coming across a non-supported API method. $this->clientError(_('API method not found.'), $code = 404); return; } @@ -104,7 +104,7 @@ class ApiUserShowAction extends ApiPrivateAuthAction $profile = $this->user->getProfile(); if (empty($profile)) { - // TRANS: Client error displayed when requesting user information for a user without a profile. + // TRANS: Error message displayed when referring to a user without a profile. $this->clientError(_('User has no profile.')); return; }