diff --git a/CHANGELOG.md b/CHANGELOG.md index 06cfd24..baa62f5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/src/store/locale/en/ui.json b/src/store/locale/en/ui.json index a3c0216..99ecff2 100644 --- a/src/store/locale/en/ui.json +++ b/src/store/locale/en/ui.json @@ -240,6 +240,8 @@ "votes": "Votes", "majority": "Majority", "voters": "Voters", + "execution": "Execution", + "exile": "Exile", "hiddenVote": "The result is hidden because of the Organ Grinder" } } diff --git a/src/store/locale/fr/ui.json b/src/store/locale/fr/ui.json index b0495a9..a484bed 100644 --- a/src/store/locale/fr/ui.json +++ b/src/store/locale/fr/ui.json @@ -240,6 +240,8 @@ "votes": "Voix", "majority": "Majorité", "voters": "Votants", + "execution": "Exécution", + "exile": "Exil", "hiddenVote": "Résultat caché par l'Organiste" } } diff --git a/src/store/modules/session.js b/src/store/modules/session.js index 6e98f35..b6b23e3 100644 --- a/src/store/modules/session.js +++ b/src/store/modules/session.js @@ -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 ),