diff --git a/users/userservice/user-service.js b/users/userservice/user-service.js
index eae3ca76..6823d844 100644
--- a/users/userservice/user-service.js
+++ b/users/userservice/user-service.js
@@ -272,7 +272,7 @@ app.post("/saveGameList", async (req, res) => {
}
const gameDataWithGamemode = { ...gameData, gamemode, questions };
- if(gamemode!=="classic" && gamemode!=="bateria" && gamemode!=="calculadora"){
+ if(gamemode!=="clasico" && gamemode!=="bateria" && gamemode!=="calculadora"){
return res.status(422).json({ error: "Invalid gamemode" });
}
diff --git a/webapp/src/pages/Config/Config.js b/webapp/src/pages/Config/Config.js
index a272c274..c1437f24 100644
--- a/webapp/src/pages/Config/Config.js
+++ b/webapp/src/pages/Config/Config.js
@@ -19,7 +19,7 @@ import { useNavigate } from "react-router-dom";
import { useTranslation } from "react-i18next";
const Config = () => {
- const { t, i18n} = useTranslation();
+ const { t, i18n } = useTranslation();
useEffect(() => {
// Obtener el estado de los checkboxes desde el localStorage
@@ -86,60 +86,62 @@ const Config = () => {
<>
-
+
- {t('pages.config.title')}
+ {t("pages.config.title")}
- {t('pages.config.language')}
+ {t("pages.config.language")}
-
-
+
+
- {t('pages.config.topics')}
-
-
-
- {t('pages.config.countries')}
-
-
- {t('pages.config.literature')}
-
-
- {t('pages.config.cinema')}
-
-
- {t('pages.config.art')}
-
-
- {t('pages.config.programming')}
-
-
- {t('pages.config.futbolistas')}
-
-
- {t('pages.config.clubes')}
-
-
- {t('pages.config.baloncestistas')}
-
-
- {t('pages.config.politica')}
-
-
- {t('pages.config.videojuegos')}
-
-
-
-
+ {t("pages.config.topics")}
+
+
+ {t("pages.config.countries")}
+
+
+ {t("pages.config.literature")}
+
+
+ {t("pages.config.cinema")}
+
+
+ {t("pages.config.art")}
+
+
+ {t("pages.config.programming")}
+
+
+ {t("pages.config.futbolistas")}
+
+
+ {t("pages.config.clubes")}
+
+
+ {t("pages.config.baloncestistas")}
+
+
+ {t("pages.config.politica")}
+
+
+ {t("pages.config.videojuegos")}
+
+
{" "}
- {t('pages.config.timeBetweenClassic')}
+ {t("pages.config.timeBetweenClassic")}
{
{" "}
- {t('pages.config.questionCountClassic')}
+ {t("pages.config.questionCountClassic")}
{
- {t('pages.config.totalTimeBattery')}
+ {t("pages.config.totalTimeBattery")}
{