summaryrefslogtreecommitdiff
path: root/actions/file.php
diff options
context:
space:
mode:
authorSiebrand Mazeland <s.mazeland@xs4all.nl>2009-12-13 18:55:17 +0100
committerSiebrand Mazeland <s.mazeland@xs4all.nl>2009-12-13 18:55:17 +0100
commit745e35ac1fcee01298db09a8649f79f410138652 (patch)
tree238bdad2ef3df30f4f02f916014d3991007f4338 /actions/file.php
parent954eb411e038745ee3e7995364a79d2fbda909bc (diff)
(Puctuation) consistency in clientError() calls.
Diffstat (limited to 'actions/file.php')
-rw-r--r--actions/file.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/actions/file.php b/actions/file.php
index 10c59a961..c6f7b998a 100644
--- a/actions/file.php
+++ b/actions/file.php
@@ -31,15 +31,15 @@ class FileAction extends Action
parent::prepare($args);
$this->id = $this->trimmed('notice');
if (empty($this->id)) {
- $this->clientError(_('No notice id'));
+ $this->clientError(_('No notice ID.'));
}
$notice = Notice::staticGet('id', $this->id);
if (empty($notice)) {
- $this->clientError(_('No notice'));
+ $this->clientError(_('No notice.'));
}
$atts = $notice->attachments();
if (empty($atts)) {
- $this->clientError(_('No attachments'));
+ $this->clientError(_('No attachments.'));
}
foreach ($atts as $att) {
if (!empty($att->filename)) {
@@ -48,7 +48,7 @@ class FileAction extends Action
}
}
if (empty($this->filerec)) {
- $this->clientError(_('No uploaded attachments'));
+ $this->clientError(_('No uploaded attachments.'));
}
return true;
}