X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fapigroupleave.php;h=9848ece0530cb133937e993e49f98e6eccc20e9d;hb=071f455b87cf7e322ba2ec300d6881e3b165f81c;hp=5627bfc14643a5bb2ae6f78a5d9528c6d9008fac;hpb=5d13126c88a8143a1628cc52c2dae4581f134273;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 );