diff options
author | Siebrand Mazeland <s.mazeland@xs4all.nl> | 2010-04-10 00:58:57 +0200 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-04-09 16:11:20 -0700 |
commit | 166c1edba97d065d0fd424621305fd016e644c43 (patch) | |
tree | 8c94df27e33e056c263023f012b73c602f61d529 /actions/unsilence.php | |
parent | 5c6c9b6f5f40b50570505a366a858e83db9bb2ec (diff) |
Fix inconsistencies in clientError() messages
* use correct punctuation
* single quotes when replace was possible
* wording updated when needed
Diffstat (limited to 'actions/unsilence.php')
-rw-r--r-- | actions/unsilence.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/unsilence.php b/actions/unsilence.php index 9ff1b828b..7d282c366 100644 --- a/actions/unsilence.php +++ b/actions/unsilence.php @@ -62,14 +62,14 @@ class UnsilenceAction 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 not silenced.")); + $this->clientError(_('User is not silenced.')); return false; } |