From 5194703bf34557de7d4851c2a019d70a20c02f67 Mon Sep 17 00:00:00 2001 From: Pingumask Date: Wed, 21 Jun 2023 14:07:53 +0000 Subject: [PATCH 01/14] Lint --- src/components/modals/EditionModal.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/modals/EditionModal.vue b/src/components/modals/EditionModal.vue index c97bdd4..bc03e13 100644 --- a/src/components/modals/EditionModal.vue +++ b/src/components/modals/EditionModal.vue @@ -226,7 +226,7 @@ export default { [ "Whose Cult is it Anyway", "https://raw.githubusercontent.com/Pingumask/townsquare/develop/src/assets/scripts/whose_cult_is_it_anyway.json" - ], + ] ] }; }, @@ -344,7 +344,7 @@ ul.editions { grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 0.5em 1em; li { - text-align:left; + text-align: left; list-style-type: none; &:hover { color: red; From 624ffb9a21b840c10974b0a0ff4e05a10ced7a5c Mon Sep 17 00:00:00 2001 From: MRegnard <62838312+MRegnard@users.noreply.github.com> Date: Wed, 21 Jun 2023 19:49:49 +0200 Subject: [PATCH 02/14] Correcting CHANGELOG's format --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c16d509..06cfd24 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,7 @@ ### Version 3.11.1 Small UI tweeks to custom scripts selection -====== +--- ### Version 3.11.0 Add several included custom scripts From 12fb45ccaa503243a73f591c366a478a3837ce7a Mon Sep 17 00:00:00 2001 From: MRegnard <62838312+MRegnard@users.noreply.github.com> Date: Wed, 21 Jun 2023 21:36:13 +0200 Subject: [PATCH 03/14] Translating "Exile" and "Execution" in french (#82) --- CHANGELOG.md | 5 +++++ src/store/locale/en/ui.json | 2 ++ src/store/locale/fr/ui.json | 2 ++ src/store/modules/session.js | 5 +++-- 4 files changed, 12 insertions(+), 2 deletions(-) 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 ), From 8038d21a09f45ba65dee83b07d8068d871c2cc29 Mon Sep 17 00:00:00 2001 From: MRegnard <62838312+MRegnard@users.noreply.github.com> Date: Wed, 21 Jun 2023 21:40:34 +0200 Subject: [PATCH 04/14] Correcting the french message before a vote (#79) --- src/store/locale/fr/ui.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/store/locale/fr/ui.json b/src/store/locale/fr/ui.json index a484bed..b8c1c23 100644 --- a/src/store/locale/fr/ui.json +++ b/src/store/locale/fr/ui.json @@ -126,7 +126,7 @@ }, "debate": { "button": "Débat", - "text": "Faut-il exécuter $accusee ?" + "text": "Faut-il tuer $accusee ?" } } }, From 3f0e869e5006ddf40eaf754de094509eb474e9ba Mon Sep 17 00:00:00 2001 From: Pingumask Date: Wed, 21 Jun 2023 19:42:25 +0000 Subject: [PATCH 05/14] Correcting english debate message --- src/store/locale/en/ui.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/store/locale/en/ui.json b/src/store/locale/en/ui.json index 99ecff2..a1acb02 100644 --- a/src/store/locale/en/ui.json +++ b/src/store/locale/en/ui.json @@ -126,7 +126,7 @@ }, "debate": { "button": "Debate", - "text": "Should $accusee be executed ?" + "text": "Should we kill $accusee ?" } } }, From e3dd374e767fdab0b79d79c22d3d835854a17d9b Mon Sep 17 00:00:00 2001 From: MRegnard <62838312+MRegnard@users.noreply.github.com> Date: Wed, 21 Jun 2023 21:45:14 +0200 Subject: [PATCH 06/14] Correcting Damsel's french description (#78) --- src/store/locale/fr/roles.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/store/locale/fr/roles.json b/src/store/locale/fr/roles.json index 5bcac27..7473417 100644 --- a/src/store/locale/fr/roles.json +++ b/src/store/locale/fr/roles.json @@ -1659,7 +1659,7 @@ "Épuisé" ], "setup": false, - "ability": "Les Serviteurs savent que votre personnage est en jeu. Une fois par partie, un Serviteur peut tenter de deviner publiquement quel joueur est selon lui la Demoiselle, s'il voit juste, votre équipe a perdu." + "ability": "Les Serviteurs savent que vous êtes en jeu. Si un Serviteur devine publiquement qui vous êtes (un seul essai), votre équipe a perdu." }, { "id": "golem", From 309ca79c8596aa5462b40dbc2ec06eff1190b771 Mon Sep 17 00:00:00 2001 From: MRegnard <62838312+MRegnard@users.noreply.github.com> Date: Wed, 21 Jun 2023 21:45:53 +0200 Subject: [PATCH 07/14] Correcting Stormcatcher's french name (#77) --- src/store/locale/fr/fabled.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/store/locale/fr/fabled.json b/src/store/locale/fr/fabled.json index 3514354..671684b 100644 --- a/src/store/locale/fr/fabled.json +++ b/src/store/locale/fr/fabled.json @@ -129,7 +129,7 @@ "otherNightReminder": "", "reminders": ["Sûr"], "setup": false, - "name": "Chasse tempête", + "name": "Chasseur d’orages", "team": "fabled", "ability": "Désignez un rôle de gentil. S'il est en jeu, il ne peut mourrir que par exécution, mais les joueurs mauvais savent qui a ce rôle." }, From 29a2a9f1f91a3cdd29568906aee099dd4d670168 Mon Sep 17 00:00:00 2001 From: MRegnard <62838312+MRegnard@users.noreply.github.com> Date: Wed, 21 Jun 2023 21:49:45 +0200 Subject: [PATCH 08/14] Correcting Pixie's french description (#76) --- src/store/locale/fr/roles.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/store/locale/fr/roles.json b/src/store/locale/fr/roles.json index 7473417..f94ee9a 100644 --- a/src/store/locale/fr/roles.json +++ b/src/store/locale/fr/roles.json @@ -1322,7 +1322,7 @@ "Pouvoir Dispo" ], "setup": false, - "ability": "Vous commencez la partie en sachant qu'un rôle de Villageois en particulier est en jeu. Si vous vous étiez persuadé d’être ce personnage, vous gagnez sa capacité quand il meurt." + "ability": "Vous commencez la partie en connaissant un rôle de Villageois en jeu. Si vous vous étiez persuadé d’être ce personnage, vous gagnez sa capacité quand il meurt." }, { "id": "general", From 08ce491144504f6605b80d7bc5a75b5d6ada02b2 Mon Sep 17 00:00:00 2001 From: MRegnard <62838312+MRegnard@users.noreply.github.com> Date: Wed, 21 Jun 2023 21:50:43 +0200 Subject: [PATCH 09/14] Correcting Mutant's french description (#75) --- src/store/locale/fr/roles.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/store/locale/fr/roles.json b/src/store/locale/fr/roles.json index f94ee9a..3903fd7 100644 --- a/src/store/locale/fr/roles.json +++ b/src/store/locale/fr/roles.json @@ -1036,7 +1036,7 @@ "otherNightReminder": "", "reminders": [], "setup": false, - "ability": "Vous êtes persuadé de ne pas être un Étranger. Si vous n'êtes pas suffisamment convaincant, vous pouvez être exécuté." + "ability": "Si vous êtes persuadé d’être un Étranger, vous pouvez être exécuté." }, { "id": "sweetheart", From b832424f214bdb8cea08cd5284207cb160a3fce1 Mon Sep 17 00:00:00 2001 From: MRegnard <62838312+MRegnard@users.noreply.github.com> Date: Wed, 21 Jun 2023 21:51:35 +0200 Subject: [PATCH 10/14] Correcting Mastermind's french description (#74) --- src/store/locale/fr/roles.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/store/locale/fr/roles.json b/src/store/locale/fr/roles.json index 3903fd7..272fd6f 100644 --- a/src/store/locale/fr/roles.json +++ b/src/store/locale/fr/roles.json @@ -698,7 +698,7 @@ "otherNightReminder": "", "reminders": [], "setup": false, - "ability": "Si le Démon est exécuté (mettant fin à la partie), jouez une journée de plus. Si un joueur est exécuté durant cette journée, son équipe perd." + "ability": "Si le Démon meurt par exécution (mettant fin à la partie), jouez une journée de plus. Si un joueur est exécuté durant cette journée, son équipe perd." }, { "id": "zombuul", From 9bcb8191eeddbaa819165e17694f2233160270ec Mon Sep 17 00:00:00 2001 From: MRegnard <62838312+MRegnard@users.noreply.github.com> Date: Wed, 21 Jun 2023 21:54:15 +0200 Subject: [PATCH 11/14] Correcting Deus ex Fiasco's french description (#73) --- src/store/locale/fr/fabled.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/store/locale/fr/fabled.json b/src/store/locale/fr/fabled.json index 671684b..c598c21 100644 --- a/src/store/locale/fr/fabled.json +++ b/src/store/locale/fr/fabled.json @@ -141,6 +141,6 @@ "setup": false, "name": "Deus ex Fiasco", "team": "fabled", - "ability": "Une fois par partie, le Narrateur fait une \"Erreur\", il la corrige et l'admet publiquement." + "ability": "Une fois par partie, le Narrateur fera une \"Erreur\", la corrigera et l'admettra publiquement." } ] From b5da42e808084da4a1b10e14e43b4f017ed58056 Mon Sep 17 00:00:00 2001 From: MRegnard <62838312+MRegnard@users.noreply.github.com> Date: Wed, 21 Jun 2023 21:55:00 +0200 Subject: [PATCH 12/14] Updating Cerenovus' French description (#72) --- src/store/locale/fr/roles.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/store/locale/fr/roles.json b/src/store/locale/fr/roles.json index 272fd6f..cae0c69 100644 --- a/src/store/locale/fr/roles.json +++ b/src/store/locale/fr/roles.json @@ -1124,7 +1124,7 @@ "Fou" ], "setup": false, - "ability": "Chaque nuit, désignez un joueur et un personnage Bon : il est persuadé d'être ce personnage jusqu'à la tombée de la nuit." + "ability": "Chaque nuit, désignez un joueur et un personnage bon : il sera persuadé d'être ce personnage demain, ou pourra être exécuté." }, { "id": "pithag", From c1f588651b413f04a6f4838fdc728cbadb5ee828 Mon Sep 17 00:00:00 2001 From: MRegnard <62838312+MRegnard@users.noreply.github.com> Date: Wed, 21 Jun 2023 21:57:37 +0200 Subject: [PATCH 13/14] Changing default vote duration (#71) --- CHANGELOG.md | 5 +++++ src/store/modules/session.js | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index baa62f5..ea3099f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,11 @@ ====== +### Version 3.11.3 +Changing default vote duration (3s -> 1s) + +--- + ### Version 3.11.2 Various corrections in the french version diff --git a/src/store/modules/session.js b/src/store/modules/session.js index b6b23e3..c0c6c63 100644 --- a/src/store/modules/session.js +++ b/src/store/modules/session.js @@ -24,7 +24,7 @@ const state = () => ({ nomination: false, votes: [], lockedVote: 0, - votingSpeed: 3000, + votingSpeed: 1000, isVoteInProgress: false, voteHistory: [], markedPlayer: -1, From 4a5f03f216e4539d7d8218e155bc1a59802dfaa8 Mon Sep 17 00:00:00 2001 From: MRegnard <62838312+MRegnard@users.noreply.github.com> Date: Wed, 21 Jun 2023 21:58:16 +0200 Subject: [PATCH 14/14] Correcting Scripts' print (#70) * Update CHANGELOG.md * Update late_night_drive_by.json * Update EditionModal.vue --------- Co-authored-by: Pingumask <68610022+Pingumask@users.noreply.github.com> --- CHANGELOG.md | 5 +++++ src/assets/scripts/late_night_drive_by.json | 4 ++-- src/components/modals/EditionModal.vue | 6 +++--- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ea3099f..f41f1a3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,11 @@ ====== +### Version 3.11.4 +Correcting the print of new scripts' names + +======= + ### Version 3.11.3 Changing default vote duration (3s -> 1s) diff --git a/src/assets/scripts/late_night_drive_by.json b/src/assets/scripts/late_night_drive_by.json index 6ff75a2..ab50f51 100644 --- a/src/assets/scripts/late_night_drive_by.json +++ b/src/assets/scripts/late_night_drive_by.json @@ -2,7 +2,7 @@ { "id": "_meta", "logo": "https://cdn.shopify.com/oxygen/57467011226/524442/h11pcta59/build/_assets/Godfather_website_purple-3JVCH57E.png", - "name": "Late night drive by", + "name": "Late night drive by 1.6", "author": "Aero" }, { @@ -47,4 +47,4 @@ { "id": "imp" } -] \ No newline at end of file +] diff --git a/src/components/modals/EditionModal.vue b/src/components/modals/EditionModal.vue index bc03e13..049b531 100644 --- a/src/components/modals/EditionModal.vue +++ b/src/components/modals/EditionModal.vue @@ -136,7 +136,7 @@ export default { "https://raw.githubusercontent.com/Pingumask/townsquare/develop/src/assets/scripts/knowing_me_knowing_you.json" ], [ - "Late night drive by (Teensyville)", + "Late night drive by 1.6 (Teensyville)", "https://raw.githubusercontent.com/Pingumask/townsquare/develop/src/assets/scripts/late_night_drive_by.json" ], [ @@ -148,7 +148,7 @@ export default { "https://raw.githubusercontent.com/Pingumask/townsquare/develop/src/assets/scripts/minion_is_angel_protected_and_the_demon_has_2_bluffs.json" ], [ - "No greater joy", + "No greater joy (Teensyville)", "https://raw.githubusercontent.com/Pingumask/townsquare/develop/src/assets/scripts/no_greater_joy.json" ], [ @@ -220,7 +220,7 @@ export default { "https://raw.githubusercontent.com/Pingumask/townsquare/develop/src/assets/scripts/vigormortis_high_school.json" ], [ - "Visitors (Teensyville)", + "Visitors", "https://raw.githubusercontent.com/Pingumask/townsquare/develop/src/assets/scripts/visitors.json" ], [