diff --git a/components/layouts/Footer.jsx b/components/layouts/Footer.jsx
index 445a592..3163ac4 100644
--- a/components/layouts/Footer.jsx
+++ b/components/layouts/Footer.jsx
@@ -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();
diff --git a/package-lock.json b/package-lock.json
index 283b880..4266a8b 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -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",
diff --git a/pages/result/[pid]/[[...tid]].jsx b/pages/result/[pid]/[[...tid]].jsx
index e17ec95..001c5b1 100644
--- a/pages/result/[pid]/[[...tid]].jsx
+++ b/pages/result/[pid]/[[...tid]].jsx
@@ -134,7 +134,7 @@ const Result = ({ candidates, numGrades, title, pid, err }) => {
- {t("Number of votes:")}
+ {t("resource.numVotes")}
{" " + numVotes}
diff --git a/public/locales/de/resource.json b/public/locales/de/resource.json
index 85b3ba2..7c958ad 100644
--- a/public/locales/de/resource.json
+++ b/public/locales/de/resource.json
@@ -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",
diff --git a/public/locales/en/resource.json b/public/locales/en/resource.json
index 2cf28b7..4502c91 100644
--- a/public/locales/en/resource.json
+++ b/public/locales/en/resource.json
@@ -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",
diff --git a/public/locales/es/resource.json b/public/locales/es/resource.json
index 7641bbc..db133b3 100644
--- a/public/locales/es/resource.json
+++ b/public/locales/es/resource.json
@@ -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.",
diff --git a/public/locales/fr/resource.json b/public/locales/fr/resource.json
index de4564d..31adea2 100644
--- a/public/locales/fr/resource.json
+++ b/public/locales/fr/resource.json
@@ -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",
diff --git a/public/locales/ru/resource.json b/public/locales/ru/resource.json
index a8415c7..26de7e8 100644
--- a/public/locales/ru/resource.json
+++ b/public/locales/ru/resource.json
@@ -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": "По окончании выборов",