summaryrefslogtreecommitdiff
path: root/actions/snapshotadminpanel.php
diff options
context:
space:
mode:
authorSiebrand Mazeland <s.mazeland@xs4all.nl>2010-04-10 00:58:57 +0200
committerBrion Vibber <brion@pobox.com>2010-04-09 16:11:20 -0700
commit166c1edba97d065d0fd424621305fd016e644c43 (patch)
tree8c94df27e33e056c263023f012b73c602f61d529 /actions/snapshotadminpanel.php
parent5c6c9b6f5f40b50570505a366a858e83db9bb2ec (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.php6
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.'));
}
}
}