From b98824ad70728625227306b16c333a19f090dcdf Mon Sep 17 00:00:00 2001 From: UO287747 Date: Mon, 22 Apr 2024 10:05:52 +0200 Subject: [PATCH 1/7] i18n French Italian --- webapp/src/App.js | 18 ++++++++- webapp/src/components/Nav.jsx | 2 + webapp/src/messages/messages_en.json | 2 + webapp/src/messages/messages_es.json | 2 + webapp/src/messages/messages_fr.json | 60 ++++++++++++++++++++++++++++ webapp/src/messages/messages_it.json | 60 ++++++++++++++++++++++++++++ 6 files changed, 143 insertions(+), 1 deletion(-) create mode 100644 webapp/src/messages/messages_fr.json create mode 100644 webapp/src/messages/messages_it.json diff --git a/webapp/src/App.js b/webapp/src/App.js index c4b18e12..3cb4b071 100644 --- a/webapp/src/App.js +++ b/webapp/src/App.js @@ -9,11 +9,27 @@ import User from './components/User' import { IntlProvider } from 'react-intl'; import messages_en from './messages/messages_en.json'; import messages_es from './messages/messages_es.json'; +import messages_it from './messages/messages_it.json'; +import messages_fr from './messages/messages_fr.json'; function App() { const [locale, setLocale] = useState('en'); - const messages = locale === 'en' ? messages_en : messages_es; + let messages; + switch (locale) { + case 'en': + messages = messages_en; + break; + case 'es': + messages = messages_es; + break; + case 'it': + messages = messages_it; + break; + case 'fr': + messages = messages_fr; + break; + } const [daltonicMode, setDaltonicMode] = useState(false); diff --git a/webapp/src/components/Nav.jsx b/webapp/src/components/Nav.jsx index 29c7918c..966c88e8 100644 --- a/webapp/src/components/Nav.jsx +++ b/webapp/src/components/Nav.jsx @@ -187,6 +187,8 @@ function Nav({ goTo, changeLanguage, locale, isInGame, changeDaltonicMode }) { onChange={(e) => {setLangEnd(e.target.value)}}> + + diff --git a/webapp/src/messages/messages_en.json b/webapp/src/messages/messages_en.json index 2202223d..8e3df33b 100644 --- a/webapp/src/messages/messages_en.json +++ b/webapp/src/messages/messages_en.json @@ -18,6 +18,8 @@ "menu": "Menu", "langen": "English", "langes": "Spanish", + "langit": "Italian", + "langfr": "French", "daltonic": "Color blind Mode", "logout": "Logout", "btm": "Back to menu", diff --git a/webapp/src/messages/messages_es.json b/webapp/src/messages/messages_es.json index 88fc605c..2c8e4702 100644 --- a/webapp/src/messages/messages_es.json +++ b/webapp/src/messages/messages_es.json @@ -18,6 +18,8 @@ "menu": "Menú", "langen": "Inglés", "langes": "Español", + "langit": "Italiano", + "langfr": "Francés", "daltonic": "Modo daltónico", "logout": "Cerrar sesión", "btm": "Volver al menú", diff --git a/webapp/src/messages/messages_fr.json b/webapp/src/messages/messages_fr.json new file mode 100644 index 00000000..979920d7 --- /dev/null +++ b/webapp/src/messages/messages_fr.json @@ -0,0 +1,60 @@ +{ + "noAccountRegister": "Vous n'avez pas de compte ? Inscrivez-vous ici.", + "login": "Connexion", + "username": "Nom d'utilisateur", + "password": "Mot de passe", + "signIn": "Se connecter", + "loginSuccessfull": "Connexion réussie", + "invalidCredentials": "Identifiants invalides", + + "register": "Inscrire un utilisateur", + "confirmPassword": "Confirmer le mot de passe", + "selectProfileImg": "Sélectionner une image de profil", + "signUp": "S'inscrire", + "alreadyAccount": "Vous avez déjà un compte ? Connectez-vous ici.", + "userAdd": "Utilisateur ajouté avec succès", + "passwordNotMatch": "Les mots de passe ne correspondent pas", + + "menu": "Menu", + "langen": "Anglais", + "langes": "Espagnol", + "langit": "Italien", + "langfr": "Français", + "daltonic": "Mode daltonien", + "logout": "Déconnexion", + "btm": "Retour au menu", + + "classic": "Jeu classique", + "infinite": "Mode infini", + "tlc": "Classique à trois vies", + "category": "Mode catégorie", + "custom": "Mode personnalisé", + "participation": "Participation", + + "restartCategory": "Recommencer le jeu avec une nouvelle catégorie", + "chooseCategory": "Choisissez une catégorie pour un nouveau jeu", + "allCategories": "Toutes les catégories", + "art": "Art", + "sports": "Sports", + "entertainment": "Divertissement", + "geography": "Géographie", + "planets": "Planètes", + "selectCustom": "Sélectionnez les paramètres personnalisés", + "categoryOpt": "Catégorie", + "maxTime": "Temps maximum (minutes)", + "numQuestions": "Nombre de questions", + "startGame": "Commencer le jeu", + "invalidCustom": "Veuillez entrer des entiers valides supérieurs à 0 pour à la fois le Temps maximum et le Nombre de questions.", + + "correctA": "Réponses correctes", + "incorrectA": "Réponses incorrectes", + "elapseTime": "Temps écoulé", + "timeRemaining": "Temps restant", + "gameSaved": "Jeu sauvegardé avec succès", + "errorAddingGame": "Erreur lors de l'ajout du jeu", + + "question": "Question : ", + "time": "Temps : ", + "next": "Suivant", + "endGame": "Fin du jeu" +} diff --git a/webapp/src/messages/messages_it.json b/webapp/src/messages/messages_it.json new file mode 100644 index 00000000..7baec5b1 --- /dev/null +++ b/webapp/src/messages/messages_it.json @@ -0,0 +1,60 @@ +{ + "noAccountRegister": "Non hai un account? Registrati qui.", + "login": "Accesso", + "username": "Nome utente", + "password": "Password", + "signIn": "Accedi", + "loginSuccessfull": "Accesso riuscito", + "invalidCredentials": "Credenziali non valide", + + "register": "Registrati come utente", + "confirmPassword": "Conferma Password", + "selectProfileImg": "Seleziona un'immagine del profilo", + "signUp": "Registrati", + "alreadyAccount": "Hai già un account? Accedi qui.", + "userAdd": "Utente aggiunto con successo", + "passwordNotMatch": "Le password non corrispondono", + + "menu": "Menu", + "langen": "Inglese", + "langes": "Spagnolo", + "langit": "Italiano", + "langfr": "Francese", + "daltonic": "Modalità daltonica", + "logout": "Disconnetti", + "btm": "Torna al menu", + + "classic": "Gioco Classico", + "infinite": "Modalità Infinita", + "tlc": "Tre Vite Classico", + "category": "Modalità Categoria", + "custom": "Modalità Personalizzata", + "participation": "Partecipazione", + + "restartCategory": "Ricomincia il gioco con una nuova categoria", + "chooseCategory": "Scegli una categoria per un nuovo gioco", + "allCategories": "Tutte le categorie", + "art": "Arte", + "sports": "Sport", + "entertainment": "Intrattenimento", + "geography": "Geografia", + "planets": "Pianeti", + "selectCustom": "Seleziona impostazioni personalizzate", + "categoryOpt": "Categoria", + "maxTime": "Tempo massimo (minuti)", + "numQuestions": "Numero di Domande", + "startGame": "Inizia Gioco", + "invalidCustom": "Inserisci valori interi validi maggiori di 0 sia per il Tempo Massimo che per il Numero di Domande.", + + "correctA": "Risposte corrette", + "incorrectA": "Risposte sbagliate", + "elapseTime": "Tempo trascorso", + "timeRemaining": "Tempo rimanente", + "gameSaved": "Gioco salvato con successo", + "errorAddingGame": "Errore durante l'aggiunta del gioco", + + "question": "Domanda: ", + "time": "Tempo: ", + "next": "Avanti", + "endGame": "Fine Gioco" +} From ddc01caf95a77fddebd11c4d97807af4bbfca16a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81ngel=20Molt=C3=B3?= Date: Mon, 22 Apr 2024 18:02:40 +0200 Subject: [PATCH 2/7] i18n fix --- webapp/src/components/Nav.jsx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/webapp/src/components/Nav.jsx b/webapp/src/components/Nav.jsx index 966c88e8..475b0f8b 100644 --- a/webapp/src/components/Nav.jsx +++ b/webapp/src/components/Nav.jsx @@ -85,7 +85,7 @@ function Nav({ goTo, changeLanguage, locale, isInGame, changeDaltonicMode }) { - - From fafe74ea42d1a1ac361e7958bb74d42f23a0c593 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81ngel=20Molt=C3=B3?= Date: Mon, 22 Apr 2024 18:12:42 +0200 Subject: [PATCH 3/7] e2e test --- webapp/e2e/features/close-session.feature | 6 ++ webapp/e2e/features/i18n.feature | 6 ++ webapp/e2e/features/infinite-mode.feature | 6 ++ webapp/e2e/steps/close-session-steps.js | 58 ++++++++++++++++++ webapp/e2e/steps/i18n-steps.js | 71 +++++++++++++++++++++++ webapp/e2e/steps/infinite-mode-steps.js | 58 ++++++++++++++++++ webapp/e2e/steps/register-form.steps.js | 4 +- webapp/src/components/AddUser.js | 2 +- webapp/src/components/Login.js | 2 +- webapp/src/components/Nav.jsx | 2 +- webapp/src/components/Question.jsx | 3 +- 11 files changed, 212 insertions(+), 6 deletions(-) create mode 100644 webapp/e2e/features/close-session.feature create mode 100644 webapp/e2e/features/i18n.feature create mode 100644 webapp/e2e/features/infinite-mode.feature create mode 100644 webapp/e2e/steps/close-session-steps.js create mode 100644 webapp/e2e/steps/i18n-steps.js create mode 100644 webapp/e2e/steps/infinite-mode-steps.js diff --git a/webapp/e2e/features/close-session.feature b/webapp/e2e/features/close-session.feature new file mode 100644 index 00000000..f92ebb50 --- /dev/null +++ b/webapp/e2e/features/close-session.feature @@ -0,0 +1,6 @@ +Feature: Closing a session + +Scenario: The user is going to close the session + Given An unregistered user + When I fill the data in the form, press submit and press Logout button + Then A title message should be shown in the screen \ No newline at end of file diff --git a/webapp/e2e/features/i18n.feature b/webapp/e2e/features/i18n.feature new file mode 100644 index 00000000..32175dd6 --- /dev/null +++ b/webapp/e2e/features/i18n.feature @@ -0,0 +1,6 @@ +Feature: i18n test + +Scenario: The user is going to try different languages + Given An unregistered user + When I fill the data in the form, press submit and press langugae button + Then A Classic Game message should be shown in different languages \ No newline at end of file diff --git a/webapp/e2e/features/infinite-mode.feature b/webapp/e2e/features/infinite-mode.feature new file mode 100644 index 00000000..b8f51386 --- /dev/null +++ b/webapp/e2e/features/infinite-mode.feature @@ -0,0 +1,6 @@ +Feature: Play Infinite Mode + +Scenario: The user is going to play infinite mode + Given An unregistered user + When I fill the data in the form, press submit, press Infinte Mode button and end game + Then A Game Over message should be shown in the screen \ No newline at end of file diff --git a/webapp/e2e/steps/close-session-steps.js b/webapp/e2e/steps/close-session-steps.js new file mode 100644 index 00000000..24bdf13b --- /dev/null +++ b/webapp/e2e/steps/close-session-steps.js @@ -0,0 +1,58 @@ +const puppeteer = require('puppeteer'); +const { defineFeature, loadFeature }=require('jest-cucumber'); +const setDefaultOptions = require('expect-puppeteer').setDefaultOptions +const feature = loadFeature('./features/close-session.feature'); + +let page; +let browser; + +defineFeature(feature, test => { + + beforeAll(async () => { + browser = process.env.GITHUB_ACTIONS + ? await puppeteer.launch() + : await puppeteer.launch({ headless: false, slowMo: 100 }); + page = await browser.newPage(); + //Way of setting up the timeout + setDefaultOptions({ timeout: 10000 }) + + await page + .goto("http://localhost:3000", { + waitUntil: "networkidle0", + }) + .catch(() => {}); + }); + + test('The user is going to close the session', ({given,when,then}) => { + + let username; + let password; + + given('An unregistered user', async () => { + username = "pablo" + password = "pabloasw" + await expect(page).toClick("button", { text: "Don't have an account? Register here." }); + }); + + when('I fill the data in the form, press submit and press Logout button', async () => { + await expect(page).toFill('input[name="username"]', username); + await expect(page).toFill('input[name="password"]', password); + await expect(page).toFill('input[name="confirmPassword"]', password); + + await expect(page).toClick('button.btn', { text: '' }); + + await expect(page).toClick('button.perfilButton', { text: '' }); + + await expect(page).toClick('li', { text: 'Logout' }); + }); + + then('A title message should be shown in the screen', async () => { + await expect(page).toMatchElement("h1.titleLoginRegister", { text: "" }); + }); + }) + + afterAll(async ()=>{ + browser.close() + }) + +}); \ No newline at end of file diff --git a/webapp/e2e/steps/i18n-steps.js b/webapp/e2e/steps/i18n-steps.js new file mode 100644 index 00000000..1013a766 --- /dev/null +++ b/webapp/e2e/steps/i18n-steps.js @@ -0,0 +1,71 @@ +const puppeteer = require('puppeteer'); +const { defineFeature, loadFeature }=require('jest-cucumber'); +const setDefaultOptions = require('expect-puppeteer').setDefaultOptions +const feature = loadFeature('./features/i18n.feature'); + +let page; +let browser; + +defineFeature(feature, test => { + + beforeAll(async () => { + browser = process.env.GITHUB_ACTIONS + ? await puppeteer.launch() + : await puppeteer.launch({ headless: false, slowMo: 10 }); + page = await browser.newPage(); + //Way of setting up the timeout + setDefaultOptions({ timeout: 10000 }) + + await page + .goto("http://localhost:3000", { + waitUntil: "networkidle0", + }) + .catch(() => {}); + }); + + test('The user is going to try different languages', ({given,when,then}) => { + + let username; + let password; + + given('An unregistered user', async () => { + username = "pablo" + password = "pabloasw" + await expect(page).toClick("button", { text: "Don't have an account? Register here." }); + }); + + when('I fill the data in the form, press submit and press langugae button', async () => { + await expect(page).toFill('input[name="username"]', username); + await expect(page).toFill('input[name="password"]', password); + await expect(page).toFill('input[name="confirmPassword"]', password); + + await expect(page).toClick('button.btn', { text: '' }); + + await expect(page).toMatchElement("span", { text: "Classic Game" }); + + await expect(page).toClick('button.menuLeft', { text: '' }); + + await expect(page).toClick('div.languageButton', { text: '' }); + + await expect(page).toClick('li', { text: 'Spanish' }); + }); + + then('A Classic Game message should be shown in different languages', async () => { + + await expect(page).toMatchElement("span", { text: "Juego Clásico" }); + + await expect(page).toClick('div.languageButton', { text: '' }); + await expect(page).toClick('li', { text: 'Italiano' }); + await expect(page).toMatchElement("span", { text: "Gioco Classico" }); + + await expect(page).toClick('div.languageButton', { text: '' }); + await expect(page).toClick('li', { text: 'Francese' }); + await expect(page).toMatchElement("span", { text: "Jeu classique" }); + }); + }) + + afterAll(async ()=>{ + browser.close() + }) + +}); \ No newline at end of file diff --git a/webapp/e2e/steps/infinite-mode-steps.js b/webapp/e2e/steps/infinite-mode-steps.js new file mode 100644 index 00000000..947d87ba --- /dev/null +++ b/webapp/e2e/steps/infinite-mode-steps.js @@ -0,0 +1,58 @@ +const puppeteer = require('puppeteer'); +const { defineFeature, loadFeature }=require('jest-cucumber'); +const setDefaultOptions = require('expect-puppeteer').setDefaultOptions +const feature = loadFeature('./features/infinite-mode.feature'); + +let page; +let browser; + +defineFeature(feature, test => { + + beforeAll(async () => { + browser = process.env.GITHUB_ACTIONS + ? await puppeteer.launch() + : await puppeteer.launch({ headless: false, slowMo: 10 }); + page = await browser.newPage(); + //Way of setting up the timeout + setDefaultOptions({ timeout: 10000 }) + + await page + .goto("http://localhost:3000", { + waitUntil: "networkidle0", + }) + .catch(() => {}); + }); + + test('The user is going to play infinite mode', ({given,when,then}) => { + + let username; + let password; + + given('An unregistered user', async () => { + username = "pablo" + password = "pabloasw" + await expect(page).toClick("button", { text: "Don't have an account? Register here." }); + }); + + when('I fill the data in the form, press submit, press Infinte Mode button and end game', async () => { + await expect(page).toFill('input[name="username"]', username); + await expect(page).toFill('input[name="password"]', password); + await expect(page).toFill('input[name="confirmPassword"]', password); + + await expect(page).toClick('button.btn', { text: '' }); + + await expect(page).toClick('button.btn', { text: 'Infinite Mode' }); + + await expect(page).toClick('div.endGameButton', { text: '' }); + }); + + then('A Game Over message should be shown in the screen', async () => { + await expect(page).toMatchElement("p", { text: "Game Over" }); + }); + }) + + afterAll(async ()=>{ + browser.close() + }) + +}); \ No newline at end of file diff --git a/webapp/e2e/steps/register-form.steps.js b/webapp/e2e/steps/register-form.steps.js index c706a59e..4914b5a9 100644 --- a/webapp/e2e/steps/register-form.steps.js +++ b/webapp/e2e/steps/register-form.steps.js @@ -11,7 +11,7 @@ defineFeature(feature, test => { beforeAll(async () => { browser = process.env.GITHUB_ACTIONS ? await puppeteer.launch() - : await puppeteer.launch({ headless: false, slowMo: 100 }); + : await puppeteer.launch({ headless: false, slowMo: 10 }); page = await browser.newPage(); //Way of setting up the timeout setDefaultOptions({ timeout: 10000 }) @@ -43,7 +43,7 @@ defineFeature(feature, test => { }); then('A confirmation message should be shown in the screen', async () => { - await expect(page).toMatchElement("div", { text: "User added successfully" }); + await expect(page).toMatchElement("span", { text: "[ ASW Quiz - WIQ ]" }); }); }) diff --git a/webapp/src/components/AddUser.js b/webapp/src/components/AddUser.js index d60c6942..a50ad114 100644 --- a/webapp/src/components/AddUser.js +++ b/webapp/src/components/AddUser.js @@ -153,7 +153,7 @@ const AddUser = ({goTo, changeLanguage, locale, handleToggleView}) => { } /> {error && ( - setError('')} message={} /> + setError('')} message={`Error: ${error}`} /> )} ); diff --git a/webapp/src/components/Login.js b/webapp/src/components/Login.js index a31e033b..eed31614 100644 --- a/webapp/src/components/Login.js +++ b/webapp/src/components/Login.js @@ -122,7 +122,7 @@ const Login = ({ goTo, changeLanguage, locale, handleToggleView }) => { } /> {error && ( - setError('')} message={} /> + setError('')} message={`Error: ${error}`} /> )} diff --git a/webapp/src/components/Nav.jsx b/webapp/src/components/Nav.jsx index 475b0f8b..45140894 100644 --- a/webapp/src/components/Nav.jsx +++ b/webapp/src/components/Nav.jsx @@ -199,7 +199,7 @@ function Nav({ goTo, changeLanguage, locale, isInGame, changeDaltonicMode }) { {username} - + diff --git a/webapp/src/components/Question.jsx b/webapp/src/components/Question.jsx index 328642dd..69013d41 100644 --- a/webapp/src/components/Question.jsx +++ b/webapp/src/components/Question.jsx @@ -270,7 +270,8 @@ const Question = ({ goTo, setGameFinished, settings, restart, locale, daltonicMo : ""} { settings.gMode === "infinite" ? - handelInfiniteGameFinish( numberCorrect, numberIncorrect, segundosInfinite, goTo, setGameFinished) } + handelInfiniteGameFinish( numberCorrect, numberIncorrect, segundosInfinite, goTo, setGameFinished) } sx={{ color: '#f35858', justifyContent: 'center', marginTop: 2 }}> From 8ce8d191e23b30343bbc807860f502d1593cded3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81ngel=20Molt=C3=B3?= Date: Mon, 22 Apr 2024 18:20:35 +0200 Subject: [PATCH 4/7] eslint fix --- webapp/src/App.js | 1 + 1 file changed, 1 insertion(+) diff --git a/webapp/src/App.js b/webapp/src/App.js index 3cb4b071..e06aa06d 100644 --- a/webapp/src/App.js +++ b/webapp/src/App.js @@ -29,6 +29,7 @@ function App() { case 'fr': messages = messages_fr; break; + default: break; } const [daltonicMode, setDaltonicMode] = useState(false); From 383bc9a8d3a3f8fe18ae33a1ccc95ca75384134a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81ngel=20Molt=C3=B3?= Date: Mon, 22 Apr 2024 18:30:33 +0200 Subject: [PATCH 5/7] e2e fix test --- webapp/e2e/steps/close-session-steps.js | 2 +- webapp/e2e/steps/i18n-steps.js | 2 +- webapp/e2e/steps/register-form.steps.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/webapp/e2e/steps/close-session-steps.js b/webapp/e2e/steps/close-session-steps.js index 24bdf13b..8a095c98 100644 --- a/webapp/e2e/steps/close-session-steps.js +++ b/webapp/e2e/steps/close-session-steps.js @@ -29,7 +29,7 @@ defineFeature(feature, test => { let password; given('An unregistered user', async () => { - username = "pablo" + username = "pablo2" password = "pabloasw" await expect(page).toClick("button", { text: "Don't have an account? Register here." }); }); diff --git a/webapp/e2e/steps/i18n-steps.js b/webapp/e2e/steps/i18n-steps.js index 1013a766..5d8d9291 100644 --- a/webapp/e2e/steps/i18n-steps.js +++ b/webapp/e2e/steps/i18n-steps.js @@ -29,7 +29,7 @@ defineFeature(feature, test => { let password; given('An unregistered user', async () => { - username = "pablo" + username = "pablo3" password = "pabloasw" await expect(page).toClick("button", { text: "Don't have an account? Register here." }); }); diff --git a/webapp/e2e/steps/register-form.steps.js b/webapp/e2e/steps/register-form.steps.js index 4914b5a9..163d9a65 100644 --- a/webapp/e2e/steps/register-form.steps.js +++ b/webapp/e2e/steps/register-form.steps.js @@ -29,7 +29,7 @@ defineFeature(feature, test => { let password; given('An unregistered user', async () => { - username = "pablo" + username = "pablo4" password = "pabloasw" await expect(page).toClick("button", { text: "Don't have an account? Register here." }); }); From e49112b925fdf50f303bd8a79bb9cc09c42d2589 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81ngel=20Molt=C3=B3?= Date: Mon, 22 Apr 2024 18:43:08 +0200 Subject: [PATCH 6/7] Language fix --- webapp/src/components/LanguageSelect.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/webapp/src/components/LanguageSelect.js b/webapp/src/components/LanguageSelect.js index 86211ce0..81b44cec 100644 --- a/webapp/src/components/LanguageSelect.js +++ b/webapp/src/components/LanguageSelect.js @@ -8,6 +8,8 @@ const LanguageSelect = ({ value, onChange }) => { ); From 8d32c1eaab29ff41a656a1cd84a62bfa921cdfb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81ngel=20Molt=C3=B3?= Date: Mon, 22 Apr 2024 18:46:36 +0200 Subject: [PATCH 7/7] Language fix --- webapp/src/messages/messages_fr.json | 2 +- webapp/src/messages/messages_it.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/webapp/src/messages/messages_fr.json b/webapp/src/messages/messages_fr.json index 979920d7..00933d7b 100644 --- a/webapp/src/messages/messages_fr.json +++ b/webapp/src/messages/messages_fr.json @@ -7,7 +7,7 @@ "loginSuccessfull": "Connexion réussie", "invalidCredentials": "Identifiants invalides", - "register": "Inscrire un utilisateur", + "register": "Inscrire", "confirmPassword": "Confirmer le mot de passe", "selectProfileImg": "Sélectionner une image de profil", "signUp": "S'inscrire", diff --git a/webapp/src/messages/messages_it.json b/webapp/src/messages/messages_it.json index 7baec5b1..7c94ea6b 100644 --- a/webapp/src/messages/messages_it.json +++ b/webapp/src/messages/messages_it.json @@ -7,7 +7,7 @@ "loginSuccessfull": "Accesso riuscito", "invalidCredentials": "Credenziali non valide", - "register": "Registrati come utente", + "register": "Registrati", "confirmPassword": "Conferma Password", "selectProfileImg": "Seleziona un'immagine del profilo", "signUp": "Registrati",