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/siteadminpanel.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/siteadminpanel.php')
-rw-r--r-- | actions/siteadminpanel.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/siteadminpanel.php b/actions/siteadminpanel.php index e5482987f..4238b3e85 100644 --- a/actions/siteadminpanel.php +++ b/actions/siteadminpanel.php @@ -130,7 +130,7 @@ class SiteadminpanelAction extends AdminPanelAction // Validate site name if (empty($values['site']['name'])) { - $this->clientError(_("Site name must have non-zero length.")); + $this->clientError(_('Site name must have non-zero length.')); } // Validate email @@ -168,7 +168,7 @@ class SiteadminpanelAction extends AdminPanelAction // Validate dupe limit if (!Validate::number($values['site']['dupelimit'], array('min' => 1))) { - $this->clientError(_("Dupe limit must 1 or more seconds.")); + $this->clientError(_("Dupe limit must be one or more seconds.")); } } |