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
Small UI tweeks to custom scripts selection

View file

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

View file

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

View file

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