summaryrefslogtreecommitdiff
path: root/actions/revokerole.php
diff options
context:
space:
mode:
authorSiebrand Mazeland <s.mazeland@xs4all.nl>2010-04-10 00:58:57 +0200
committerSiebrand Mazeland <s.mazeland@xs4all.nl>2010-04-10 00:58:57 +0200
commit3656a2cb13c0b6ba2326d6209739c1cd762ee2d2 (patch)
tree3e7e9860ca8860922a1ae428e1d484793b98b32e /actions/revokerole.php
parent47eed2c99906fefb1f43ad186da91e526d2741cf (diff)
Fix inconsistencies in clientError() messages
* use correct punctuation * single quotes when replace was possible * wording updated when needed
Diffstat (limited to 'actions/revokerole.php')
-rw-r--r--actions/revokerole.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/actions/revokerole.php b/actions/revokerole.php
index b78c1c25a..c67b70fda 100644
--- a/actions/revokerole.php
+++ b/actions/revokerole.php
@@ -59,11 +59,11 @@ class RevokeRoleAction extends ProfileFormAction
$this->role = $this->arg('role');
if (!Profile_role::isValid($this->role)) {
- $this->clientError(_("Invalid role."));
+ $this->clientError(_('Invalid role.'));
return false;
}
if (!Profile_role::isSettable($this->role)) {
- $this->clientError(_("This role is reserved and cannot be set."));
+ $this->clientError(_('This role is reserved and cannot be set.'));
return false;
}
@@ -72,7 +72,7 @@ class RevokeRoleAction extends ProfileFormAction
assert(!empty($cur)); // checked by parent
if (!$cur->hasRight(Right::REVOKEROLE)) {
- $this->clientError(_("You cannot revoke user roles on this site."));
+ $this->clientError(_('You cannot revoke user roles on this site.'));
return false;
}