From d65e5e5f20658f1fc89e739876b07b472f00ad45 Mon Sep 17 00:00:00 2001 From: av-alexistoledo <112619860+av-alexistoledo@users.noreply.github.com> Date: Wed, 11 Oct 2023 11:27:47 +0200 Subject: [PATCH] [TECH-2532] EVS missing translations for voter session adjudication item (#57) Relates to https://github.com/aion-dk/dbb/pull/413 and https://github.com/aion-dk/conference/pull/782 --- client/src/assets/translations.ts | 10 ++++++++++ client/src/stores/useBallotStore.ts | 6 +----- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/client/src/assets/translations.ts b/client/src/assets/translations.ts index ca9dc6ad..09ccce9c 100644 --- a/client/src/assets/translations.ts +++ b/client/src/assets/translations.ts @@ -153,6 +153,11 @@ export const fallbackMessages = { author: "Voter", info: "Voter and Digital Ballot Box have exchanged cryptographic information establishing trust.", }, + VoterSessionAdjudicationItem: { + type: "Voter session adjudication", + author: "Election Official", + info: "A registered voter session has been adjudicated.", + }, aria_labels: { activity_type: "Activity", activity_registered: "Activity registered at", @@ -204,6 +209,11 @@ export const fallbackMessages = { author: "You", details: "You have authenticated yourself and signed in.", }, + VoterSessionAdjudicationItem: { + type: "Session adjudication", + author: "Election Official", + details: "Your session has been adjudicated.", + }, }, tracked_ballot_manager: { currently_tracking: "You are currently tracking", diff --git a/client/src/stores/useBallotStore.ts b/client/src/stores/useBallotStore.ts index 6ad0227e..9c067445 100644 --- a/client/src/stores/useBallotStore.ts +++ b/client/src/stores/useBallotStore.ts @@ -6,10 +6,6 @@ import type { Ballot } from "../Types"; export default defineStore("useBallotStore", () => { const ballot = ref(null); - const setBallot = (newBallot: Ballot) => { - ballot.value = newBallot; - }; - function resetBallot() { ballot.value = null; } @@ -33,5 +29,5 @@ export default defineStore("useBallotStore", () => { } } - return { ballot, setBallot, loadBallot }; + return { ballot, loadBallot }; });