summaryrefslogtreecommitdiff
path: root/Vote.php
diff options
context:
space:
mode:
Diffstat (limited to 'Vote.php')
-rw-r--r--Vote.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Vote.php b/Vote.php
index b27cb5b..ada160a 100644
--- a/Vote.php
+++ b/Vote.php
@@ -74,12 +74,12 @@ class VoteHooks {
if (!$date) {
$addErrorCategory();
- $voteText .= formatError("invalid date" . ':') . " $line\n";
+ $voteText .= formatError($msg('vote-error-invalid-date') . ':') . " $line\n";
continue;
}
if (!in_array($vote, self::$options)) {
$addErrorCategory();
- $voteText .= formatError("invalid vote (expected YES, NO or ABSTAIN)" . ':') . " $line\n";
+ $voteText .= formatError($msg('vote-error-invalid-vote', '(YES, NO, ABSTAIN)') . ':') . " $line\n";
continue;
}