update number of votes

pull/73/head
Pierre-Louis Guhur 3 years ago
parent 9226f699ae
commit 91e2bdd76a

@ -1,11 +1,11 @@
import Link from "next/link";
import {useTranslation} from "next-i18next";
import { useTranslation } from "next-i18next";
import Paypal from "../banner/Paypal";
import {useBbox} from "./useBbox";
import { useBbox } from "./useBbox";
const Footer = () => {
const linkStyle = {whiteSpace: "nowrap"};
const {t} = useTranslation();
const linkStyle = { whiteSpace: "nowrap" };
const { t } = useTranslation();
const [bboxLink1, link1] = useBbox();
const [bboxLink2, link2] = useBbox();

6
package-lock.json generated

@ -1685,9 +1685,9 @@
}
},
"@types/node": {
"version": "15.0.3",
"resolved": "https://registry.npmjs.org/@types/node/-/node-15.0.3.tgz",
"integrity": "sha512-/WbxFeBU+0F79z9RdEOXH4CsDga+ibi5M8uEYr91u3CkT/pdWcV8MCook+4wDPnZBexRdwWS+PiVZ2xJviAzcQ=="
"version": "15.3.0",
"resolved": "https://registry.npmjs.org/@types/node/-/node-15.3.0.tgz",
"integrity": "sha512-8/bnjSZD86ZfpBsDlCIkNXIvm+h6wi9g7IqL+kmFkQ+Wvu3JrasgLElfiPgoo8V8vVfnEi0QVS12gbl94h9YsQ=="
},
"@types/parse-json": {
"version": "4.0.0",

@ -134,7 +134,7 @@ const Result = ({ candidates, numGrades, title, pid, err }) => {
</ol>
<h5>
<small>
{t("Number of votes:")}
{t("resource.numVotes")}
{" " + numVotes}
</small>
</h5>

@ -62,7 +62,7 @@
"resource.thanks": " Vielen Dank für Ihre Teilnahme.",
"Support us !": "Unterstützen Sie uns!",
"PayPal - The safer, easier way to pay online!": "PayPal - Die sicherere und einfachere Art, online zu bezahlen!",
"Number of votes:": "Anzahl der Stimmen:",
"resource.numVotes": "Anzahl der Stimmen:",
"Unknown error. Try again please.": "Unbekannter Fehler. Bitte versuchen Sie es erneut.",
"Ending date:": "Enddatum:",
"If you list voters' emails, only them will be able to access the election": "Wenn Sie die E-Mails der Wähler auflisten, haben nur diese Zugriff auf die Wahl",

@ -89,7 +89,7 @@
"The parameters of the election are incorrect.": "The parameters of the vote are incorrect.",
"Support us !": "Support us!",
"PayPal - The safer, easier way to pay online!": "PayPal - The safer, easier way to pay online!",
"Number of votes:": "Number of votes:",
"resource.numVotes": "Number of votes:",
"Access to results": "Results availability",
"Immediately": "Immediately",
"At the end of the election": "At the end of the vote",

@ -82,7 +82,7 @@
"Unknown error. Try again please.": "Error desconocido. Inténtelo de nuevo, por favor.",
"If you list voters' emails, only them will be able to access the election": "Si enumera los correos electrónicos de los votantes, sólo ellos podrán acceder a la elección",
"Voters received a link to vote by email. Each link can be used only once!": "Los votantes recibieron un enlace para votar por correo electrónico. ¡Cada enlace puede ser usado sólo una vez!",
"Number of votes:": "Número de votos:",
"resource.numVotes": "Número de votos:",
"Oops... The election is unknown.": "Oops... La elección es desconocida",
"The election is still going on. You can't access now to the results.": "La elección sigue en marcha. No puedes acceder ahora a los resultados.",
"No votes have been recorded yet. Come back later.": "Aún no se han registrado votos. Vuelva más tarde.",

@ -87,7 +87,7 @@
"The parameters of the election are incorrect.": "Les paramètres de vote sont incorrects.",
"Support us !": "Soutenez-nous !",
"PayPal - The safer, easier way to pay online!": "PayPal - Le moyen le plus sûr et le plus simple de payer en ligne !",
"Number of votes:": "Nombre de votes :",
"resource.numVotes": "Nombre de votes :",
"Access to results": "Accès aux résultats",
"Immediately": "Immédiatement",
"At the end of the election": "A la clôture du vote",

@ -89,7 +89,7 @@
"The parameters of the election are incorrect.": "Параметры голосвания неверны.",
"Support us !": "Поддержите нас !",
"PayPal - The safer, easier way to pay online!": "PayPal - Безопасный и простой способ платить онлайн!",
"Number of votes:": "Количество голосов:",
"resource.numVotes": "Количество голосов:",
"Access to results" : "Доступ к результатам",
"Immediately": "Немедленно",
"At the end of the election": "По окончании выборов",

Loading…
Cancel
Save