diff options
author | Siebrand Mazeland <s.mazeland@xs4all.nl> | 2010-04-10 00:58:57 +0200 |
---|---|---|
committer | Siebrand Mazeland <s.mazeland@xs4all.nl> | 2010-04-10 00:58:57 +0200 |
commit | 3656a2cb13c0b6ba2326d6209739c1cd762ee2d2 (patch) | |
tree | 3e7e9860ca8860922a1ae428e1d484793b98b32e /actions/silence.php | |
parent | 47eed2c99906fefb1f43ad186da91e526d2741cf (diff) |
Fix inconsistencies in clientError() messages
* use correct punctuation
* single quotes when replace was possible
* wording updated when needed
Diffstat (limited to 'actions/silence.php')
-rw-r--r-- | actions/silence.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/silence.php b/actions/silence.php index 206e5ba87..09cc480d9 100644 --- a/actions/silence.php +++ b/actions/silence.php @@ -62,14 +62,14 @@ class SilenceAction extends ProfileFormAction assert(!empty($cur)); // checked by parent if (!$cur->hasRight(Right::SILENCEUSER)) { - $this->clientError(_("You cannot silence users on this site.")); + $this->clientError(_('You cannot silence users on this site.')); return false; } assert(!empty($this->profile)); // checked by parent if ($this->profile->isSilenced()) { - $this->clientError(_("User is already silenced.")); + $this->clientError(_('User is already silenced.')); return false; } |