Skip to content

Commit

Permalink
Fixed wording on website
Browse files Browse the repository at this point in the history
  • Loading branch information
mi-ki committed Oct 11, 2024
1 parent ad41b7f commit 9392b30
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/algorithms/decryption.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ async function generateReceiptText (loginResponse: SecondDeviceLoginResponse): P
const fingerprint: string = await computeFingerprint(loginResponse)
const shortenedFingerprint: string = fingerprint.substring(0, 10)
const signature: string = loginResponse.initialMessageDecoded.signatureHex
const string = new Array<string>(`Project ID: ${electionId}`, `Voter Id: ${voterId}`, `Ballot Fingerprint: ${shortenedFingerprint}`,
const string = new Array<string>(`Project Id: ${electionId}`, `Voter Id: ${voterId}`, `Ballot Fingerprint: ${shortenedFingerprint}`,
`-----BEGIN FINGERPRINT-----', ${fingerprint}`, '-----END FINGERPRINT-----', '-----BEGIN SIGNATURE-----', `${signature}`,
'-----END SIGNATURE-----')
return string
Expand Down
14 changes: 7 additions & 7 deletions src/view/elements/text.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
},
"login": {
"text": {
"default": "Please enter the time-based one-time password that is currently displayed to you in step 5 of the voting process below your pre-filled anonymized voter-Id.",
"default": "Please enter the time-based one-time password that is currently displayed to you in step 5 of the voting process below your pre-filled anonymized voter Id.",
"value": {
"DE": "Bitte geben Sie unter Ihrer vorausgefüllten anonymisierten Wahl-Id das zeitbasierte Einmalpasswort ein, welches Ihnen aktuell in Schritt 5 der Stimmabgabe angezeigt wird."
}
Expand All @@ -39,7 +39,7 @@
"value": { "DE": "Anmelden und Stimmzettel verifizieren" }
},
"voterId": {
"default": "Anonymized Voter-Id: ",
"default": "Anonymized Voter Id: ",
"value": { "DE": "Anonymisierte Wahl-Id: " }
}
},
Expand All @@ -59,12 +59,12 @@
"value": { "DE": "Verifiziert für: " }
},
"electionId": {
"default": "Election Hash: ",
"value": { "DE": "Wahl-Hash: " }
"default": "Project Id: ",
"value": { "DE": "Projekt-Id: " }
},
"voterId": {
"default": "Voter Credential: ",
"value": { "DE": "Wähler:innen-Referenz: " }
"default": "Anonymized Voter Id: ",
"value": { "DE": "Anonymisierte Wahl-Id: " }
},
"label": {
"default": "Ballot sheet number(s): ",
Expand Down Expand Up @@ -163,7 +163,7 @@
"value": { "DE": "Der dekodierte Stimmzettel passt nicht zum vom Stimmzettelbogen vorgegebenen Format." }
},
"vid": {
"default": "The anonymized voter-Id from the ballot does not match with the anonymized voter-Id which is passed with the entered URL. This could be caused by a third party attack.",
"default": "The anonymized voter Id from the ballot does not match with the anonymized voter Id which is passed with the entered URL. This could be caused by a third party attack.",
"value": {
"DE": "Die anonymisierte Wahl-Id des Stimmzettels stimmt nicht mit der durch die eingegebene URL übermittelten anonymisierten Wahl-Id überein. Dies könnte durch einen Angriff einer dritten Partei verursacht worden sein."
}
Expand Down

0 comments on commit 9392b30

Please sign in to comment.