X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fapigroupleave.php;h=9848ece0530cb133937e993e49f98e6eccc20e9d;hb=ca897ef346ef54952900879c3c845910bc5f54cb;hp=5627bfc14643a5bb2ae6f78a5d9528c6d9008fac;hpb=a1c3a2d3a12c1667492e4107007b31ec3a1f9c7b;p=quix0rs-gnu-social.git diff --git a/actions/apigroupleave.php b/actions/apigroupleave.php index 5627bfc146..9848ece053 100644 --- a/actions/apigroupleave.php +++ b/actions/apigroupleave.php @@ -121,7 +121,7 @@ class ApiGroupLeaveAction extends ApiAuthAction common_log_db_error($member, 'DELETE', __FILE__); $this->serverError( sprintf( - _('Could not remove user %s from group %s.'), + _('Could not remove user %1$s from group %2$s.'), $this->user->nickname, $this->group->nickname ) @@ -131,14 +131,14 @@ class ApiGroupLeaveAction extends ApiAuthAction switch($this->format) { case 'xml': - $this->show_single_xml_group($this->group); + $this->showSingleXmlGroup($this->group); break; case 'json': $this->showSingleJsonGroup($this->group); break; default: $this->clientError( - _('API method not found!'), + _('API method not found.'), 404, $this->format );