diff --git a/frontend/static/js/lang/en.json b/frontend/static/js/lang/en.json index c558d5d..8fc8946 100644 --- a/frontend/static/js/lang/en.json +++ b/frontend/static/js/lang/en.json @@ -6,6 +6,7 @@ "navbarProfile": "My Profile", "navbarSettings": "Settings", "navbarLogout": "Logout", + "homeWindowTitle": "Home", "homeTitle": "Home", "homeOnline": "Play online", "homeOffline": "Play offline", diff --git a/frontend/static/js/lang/fr.json b/frontend/static/js/lang/fr.json index 76228c5..a879558 100644 --- a/frontend/static/js/lang/fr.json +++ b/frontend/static/js/lang/fr.json @@ -1,14 +1,15 @@ { "navbarSearch": "Recherche", "navbarHome": "Maison", - "navbarLogin": "Se connecter", + "navbarLogin": "Connexion", "navbarRegister": "S'inscrire", "navbarProfile": "Mon Profil", "navbarSettings": "Paramètres", - "navbarLogout": "Se déconnecter", + "navbarLogout": "Déconnexion", + "homeWindowTitle": "Maison", "homeTitle": "Maison", "homeOnline": "Jouer en ligne", "homeOffline": "Jouer hors ligne", "homeMe": "Moi", - "homeLogout": "Se déconnecter" + "homeLogout": "Déconnexion" } diff --git a/frontend/static/js/views/HomeView.js b/frontend/static/js/views/HomeView.js index 1266d36..a98fd9f 100644 --- a/frontend/static/js/views/HomeView.js +++ b/frontend/static/js/views/HomeView.js @@ -3,7 +3,7 @@ import AbstractAuthentificateView from "./abstracts/AbstractAuthentifiedView.js" export default class extends AbstractAuthentificateView { constructor(params) { - super(params, "Home"); + super(params, client.lang.get('homeWindowTitle', 'Home')); this.redirect_url = "/login" }