summaryrefslogtreecommitdiff
path: root/actions/deleteuser.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/deleteuser.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/deleteuser.php')
-rw-r--r--actions/deleteuser.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/deleteuser.php b/actions/deleteuser.php
index 4e6b27395..42ef4b9f5 100644
--- a/actions/deleteuser.php
+++ b/actions/deleteuser.php
@@ -64,14 +64,14 @@ class DeleteuserAction extends ProfileFormAction
assert(!empty($cur)); // checked by parent
if (!$cur->hasRight(Right::DELETEUSER)) {
- $this->clientError(_("You cannot delete users."));
+ $this->clientError(_('You cannot delete users.'));
return false;
}
$this->user = User::staticGet('id', $this->profile->id);
if (empty($this->user)) {
- $this->clientError(_("You can only delete local users."));
+ $this->clientError(_('You can only delete local users.'));
return false;
}