lang: search window title

This commit is contained in:
AdrienLSH 2024-02-02 11:02:23 +01:00
parent 44dbaf7054
commit 8534f4bafb
3 changed files with 6 additions and 4 deletions

View File

@ -28,5 +28,6 @@
"registerFormButton": "Register", "registerFormButton": "Register",
"registerAlreadyAccount": "Already have an account?", "registerAlreadyAccount": "Already have an account?",
"registerLogin": "Login", "registerLogin": "Login",
"404WindowTitle": "Not Found" "404WindowTitle": "Not Found",
"SearchWindowTitle": "Search"
} }

View File

@ -28,5 +28,6 @@
"registerFormButton": "S'inscrire", "registerFormButton": "S'inscrire",
"registerAlreadyAccount": "Déjà un compte?", "registerAlreadyAccount": "Déjà un compte?",
"registerLogin": "Connexion", "registerLogin": "Connexion",
"404WindowTitle": "Pas trouvé" "404WindowTitle": "Pas trouvé",
"SearchWindowTitle": "Recherche"
} }

View File

@ -1,10 +1,10 @@
import AbstractView from "./abstracts/AbstractView.js"; import AbstractView from "./abstracts/AbstractView.js";
import {client} from "../index.js"; import { client, lang } from "../index.js";
import {Message} from "../api/chat/message.js" import {Message} from "../api/chat/message.js"
export default class extends AbstractView { export default class extends AbstractView {
constructor(params) { constructor(params) {
super(params, "Search"); super(params, lang.get('SearchWindowTitle', 'Search'));
} }
async wait_get_online_users() { async wait_get_online_users() {