diff options
author | Martin Fischer <martin@push-f.com> | 2022-10-08 08:27:29 +0200 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2022-10-08 08:28:15 +0200 |
commit | b5fdd1fd93ff9bd8e52fa8418c1e10417548d556 (patch) | |
tree | ff1fbb1a94e06446d98a7a58c61327ab4953b8e6 /Vote.php | |
parent | e79b2892cdb093bc157b5b631eaf0e0af700b7b4 (diff) |
add two new system messages for error messages
Diffstat (limited to 'Vote.php')
-rw-r--r-- | Vote.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; } |