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/snapshotadminpanel.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/snapshotadminpanel.php')
-rw-r--r-- | actions/snapshotadminpanel.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/actions/snapshotadminpanel.php b/actions/snapshotadminpanel.php index a0c2315bc..df6b168dc 100644 --- a/actions/snapshotadminpanel.php +++ b/actions/snapshotadminpanel.php @@ -124,13 +124,13 @@ class SnapshotadminpanelAction extends AdminPanelAction // Validate snapshot run value if (!in_array($values['snapshot']['run'], array('web', 'cron', 'never'))) { - $this->clientError(_("Invalid snapshot run value.")); + $this->clientError(_('Invalid snapshot run value.')); } // Validate snapshot frequency value if (!Validate::number($values['snapshot']['frequency'])) { - $this->clientError(_("Snapshot frequency must be a number.")); + $this->clientError(_('Snapshot frequency must be a number.')); } // Validate report URL @@ -141,7 +141,7 @@ class SnapshotadminpanelAction extends AdminPanelAction array('allowed_schemes' => array('http', 'https') ) )) { - $this->clientError(_("Invalid snapshot report URL.")); + $this->clientError(_('Invalid snapshot report URL.')); } } } |