lang: window title translation

This commit is contained in:
AdrienLSH 2024-01-29 12:59:49 +01:00
parent 8ee2beb432
commit ab5c3deec1
3 changed files with 6 additions and 4 deletions

View File

@ -6,6 +6,7 @@
"navbarProfile": "My Profile",
"navbarSettings": "Settings",
"navbarLogout": "Logout",
"homeWindowTitle": "Home",
"homeTitle": "Home",
"homeOnline": "Play online",
"homeOffline": "Play offline",

View File

@ -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"
}

View File

@ -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"
}