summaryrefslogtreecommitdiff
path: root/actions/apigroupleave.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/apigroupleave.php')
-rw-r--r--actions/apigroupleave.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/apigroupleave.php b/actions/apigroupleave.php
index 5627bfc14..6f8d40527 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
)
@@ -138,7 +138,7 @@ class ApiGroupLeaveAction extends ApiAuthAction
break;
default:
$this->clientError(
- _('API method not found!'),
+ _('API method not found.'),
404,
$this->format
);