Translating "Exile" and "Execution" in french (#82)

This commit is contained in:
MRegnard 2023-06-21 21:36:13 +02:00 committed by GitHub
parent 624ffb9a21
commit 12fb45ccaa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 2 deletions

View file

@ -2,6 +2,11 @@
====== ======
### Version 3.11.2
Various corrections in the french version
---
### Version 3.11.1 ### Version 3.11.1
Small UI tweeks to custom scripts selection Small UI tweeks to custom scripts selection

View file

@ -240,6 +240,8 @@
"votes": "Votes", "votes": "Votes",
"majority": "Majority", "majority": "Majority",
"voters": "Voters", "voters": "Voters",
"execution": "Execution",
"exile": "Exile",
"hiddenVote": "The result is hidden because of the Organ Grinder" "hiddenVote": "The result is hidden because of the Organ Grinder"
} }
} }

View file

@ -240,6 +240,8 @@
"votes": "Voix", "votes": "Voix",
"majority": "Majorité", "majority": "Majorité",
"voters": "Votants", "voters": "Votants",
"execution": "Exécution",
"exile": "Exil",
"hiddenVote": "Résultat caché par l'Organiste" "hiddenVote": "Résultat caché par l'Organiste"
} }
} }

View file

@ -87,8 +87,9 @@ const mutations = {
nominator: players[state.nomination[0]].name, nominator: players[state.nomination[0]].name,
nominee: players[state.nomination[1]].name, nominee: players[state.nomination[1]].name,
type: isExile type: isExile
? "Exile" ? gameInfo.state.locale.modal.voteHistory.exile
: "Execution" + (organGrinder && !state.isSpectator ? "*" : ""), : gameInfo.state.locale.modal.voteHistory.execution +
(organGrinder && !state.isSpectator ? "*" : ""),
majority: Math.ceil( majority: Math.ceil(
players.filter(player => !player.isDead || isExile).length / 2 players.filter(player => !player.isDead || isExile).length / 2
), ),