Skip to content

Commit

Permalink
Fix star logs
Browse files Browse the repository at this point in the history
  • Loading branch information
ArendPeter committed Oct 13, 2024
1 parent a57122d commit aac8127
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions packages/backend/src/Tabulators/Star.ts
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,8 @@ export function runStarRound(summaryData: starSummaryData, remainingCandidates:

roundResults.logs.push({
key: 'tabulation_logs.star.automatic_runoff_start',
candidate_a: finalists[0].name,
candidate_b: finalists[1].name,
})

if (leftVotes > rightVotes){
Expand Down
3 changes: 2 additions & 1 deletion packages/frontend/src/i18n/en.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,8 @@ tabulation_logs:
random_tiebreak_end: '' # not used

# Automatic runoff
automatic_runoff_start: Advance to automatic runoff round between {{winner}} and {{loser}}
automatic_runoff_start: >
Advance to automatic runoff round between {{candidate_a}} and {{candidate_b}}
automatic_runoff_win: >
{{winner}} is preferred over {{loser}} by {{winner_votes}} votes to {{loser_votes}}, and {{equal_votes}} voters have an [equal preference](https://www.starvoting.org/equal_preference).
automatic_runoff_tie: >
Expand Down

0 comments on commit aac8127

Please sign in to comment.