X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fapigroupjoin.php;h=3309d63e7b8b921bdd91cdb2d952917e8b291b88;hb=7ef6c9da437b504f949dc3d7d8c05f8abe36baae;hp=ffda3986ff0808e9de6d15df72f391aea8dad471;hpb=104a47e4a2903f1c7ea73363a73cee12f0cf14ac;p=quix0rs-gnu-social.git diff --git a/actions/apigroupjoin.php b/actions/apigroupjoin.php index ffda3986ff..3309d63e7b 100644 --- a/actions/apigroupjoin.php +++ b/actions/apigroupjoin.php @@ -101,7 +101,7 @@ class ApiGroupJoinAction extends ApiAuthAction } if (empty($this->group)) { - $this->clientError('Group not found!', 404, $this->format); + $this->clientError(_('Group not found!'), 404, $this->format); return false; } @@ -135,7 +135,7 @@ class ApiGroupJoinAction extends ApiAuthAction common_log_db_error($member, 'INSERT', __FILE__); $this->serverError( sprintf( - _('Could not join user %s to group %s.'), + _('Could not join user %1$s to group %2$s.'), $this->user->nickname, $this->group->nickname ) @@ -152,7 +152,7 @@ class ApiGroupJoinAction extends ApiAuthAction break; default: $this->clientError( - _('API method not found!'), + _('API method not found.'), 404, $this->format );