X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fapiaccountupdateprofile.php;h=15b13c0f20b3c62cda9e6fb298eefb1f3816df53;hb=70fbdb6f94848c5c08b0b6e30905d875156b8233;hp=d0b9abe9b79fffcf3b8d5dbb6e56574e094d4d69;hpb=59a0b2a82da418f688faf182407146d9e7a7af7a;p=quix0rs-gnu-social.git diff --git a/actions/apiaccountupdateprofile.php b/actions/apiaccountupdateprofile.php index d0b9abe9b7..15b13c0f20 100644 --- a/actions/apiaccountupdateprofile.php +++ b/actions/apiaccountupdateprofile.php @@ -90,7 +90,7 @@ class ApiAccountUpdateProfileAction extends ApiAuthAction if (!in_array($this->format, array('xml', 'json'))) { $this->clientError( - // TRANS: Client error displayed when trying to handle an unknown API method. + // TRANS: Client error displayed when coming across a non-supported API method. _('API method not found.'), 404, $this->format @@ -107,7 +107,7 @@ class ApiAccountUpdateProfileAction extends ApiAuthAction $profile = $this->user->getProfile(); if (empty($profile)) { - // TRANS: Client error displayed if a user profile could not be found. + // TRANS: Error message displayed when referring to a user without a profile. $this->clientError(_('User has no profile.')); return; }