From 37a12b63a153893b9e7cb0d6281a844adc972c03 Mon Sep 17 00:00:00 2001 From: Jesper Date: Thu, 2 Nov 2023 10:40:36 -0400 Subject: [PATCH] Issue with Polls adding the letter S On the action table and projector screen, there is an extra S being added to the word Polls. In any case, the word Polls should just be removed leaving just the word Support before the percentage. --- src/components/BPT.jsx | 2 +- src/components/Simulation/AvailableActionItems.jsx | 2 +- src/components/Simulation/Injections/InjectionBody.jsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/BPT.jsx b/src/components/BPT.jsx index 122ca60..6122929 100644 --- a/src/components/BPT.jsx +++ b/src/components/BPT.jsx @@ -66,7 +66,7 @@ const BPT = view(({ big }) => { > {big && (

- {getTextWithSynonyms('Support in Polls')} + {getTextWithSynonyms('Support')}

)}

{poll} %

diff --git a/src/components/Simulation/AvailableActionItems.jsx b/src/components/Simulation/AvailableActionItems.jsx index d67ccaa..4507d4f 100644 --- a/src/components/Simulation/AvailableActionItems.jsx +++ b/src/components/Simulation/AvailableActionItems.jsx @@ -50,7 +50,7 @@ const AvailableActionItems = view(({ actionList, role }) => { if (action.poll_increase !== 0) resultDescription.push( `Gain ${action.poll_increase}% in ${getTextWithSynonyms( - 'polls', + 'poll', )}`, ); if (action.budget_increase !== 0) diff --git a/src/components/Simulation/Injections/InjectionBody.jsx b/src/components/Simulation/Injections/InjectionBody.jsx index 8240a51..8d7f8ab 100644 --- a/src/components/Simulation/Injections/InjectionBody.jsx +++ b/src/components/Simulation/Injections/InjectionBody.jsx @@ -69,7 +69,7 @@ const InjectionBody = view( })} > - {getTextWithSynonyms('Polls')}:{' '} + {getTextWithSynonyms('Poll')}:{' '} {injection.poll_change ? `${injection.poll_change}%`