Commit graph

7 commits

Author SHA1 Message Date
Thomas Hochstein bcd2d0aba3 Fix typo, remove German umlaut.
Fix from Peter Heirich.

Signed-off-by: Thomas Hochstein <thh@thh.name>
2023-07-06 23:03:56 +02:00
Thomas Hochstein 7a0133efe6 Add option to compare ballot to sample ballot.
It may be desriable to compare a ballot to
a sample ballot when checking votes.

* Add options "diff" and "sampleballotfile" to
  usevote.cfg an UVconfig.pm
* Add menu option to UVmenu.pm

Picked from upstream.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2014-02-16 13:54:06 +01:00
Thomas Hochstein b9f5201405 Check correct voting in ballot.
It's possible that ballots get mixed up when
a voter is participating in more than one
voting and sending the ballots manually (by
copying and pasting them into his mail client).

UseVote could - and should! - check that the
ballot belongs to the current voting by comparing
the ballot introduction ("WAHLSCHEIN fuer ...")
with the votename and throw an error if they
don't match.

* Add ballotintro (default: WAHLSCHEIN fuer) and
  tpl_wrong_voting (default: wrong-voting) to
  usevote.cfg
* Add messages to messages.cfg
* Modify ballot and ballot-personal templates
  accordingly
* Add check to uvvote.pl
* Add error handling to UVmenu.pm
* Change UVmenu::menu call in uvcfv.pl due
  to new parameter ($voting)

Signed-off-by: Thomas Hochstein <thh@inter.net>
2012-01-21 15:51:34 +01:00
Thomas Hochstein 691f834832 Fix duplicate use of VOTE_NO_VOTES.
VOTE_NO_VOTES is defined (and used) twice in
messages.cfg and uvvote.pl - once for "no mails
to process" ("Keine Stimmen zu verarbeiten") and
once for "you didn't vote in your ballot"
("Keine Stimmen abgegeben").

Change the first use to VOTE_NO_VOTEMAILS.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2012-01-09 02:52:50 +01:00
Thomas Hochstein b00b7d6de5 From upstream: missing fixes.
* UVrules.pm, usevote.rul: add H, h.
* messages.cfg: add COUNT_ERR_GROUPCOUNT.
* uvvote.pl: TMP/DIR, $msgid.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2010-08-16 23:40:38 +02:00
Thomas Hochstein a384e31e54 Initial checkin of personal version.
Signed-off-by: Thomas Hochstein <thh@inter.net>
2010-08-16 23:40:20 +02:00
Thomas Hochstein ac7e2c541a Initial checkin of upstream version 4.09.
Signed-off-by: Thomas Hochstein <thh@inter.net>
2010-08-16 22:16:26 +02:00