Add comments

This commit is contained in:
Maroxy 2021-10-24 11:59:13 +02:00
parent 540627ba55
commit 919c99f6dc
2 changed files with 2 additions and 0 deletions

View file

@ -22,6 +22,7 @@ $(() => {
if (Genshinlib.version !== null)
document.title = 'Genshin Impact Linux Launcher - ' + Genshinlib.version;
// On Start configuration of LauncherUI
LauncherUI.updateLang(Genshinlib.getConfig('lang.launcher') ?? 'en-us');
LauncherUI.setState('game-launch-available');
LauncherUI.updateBackground();

View file

@ -10,6 +10,7 @@ import { Tools } from './lib/Tools';
$(() => {
// Make sure settings is shown in correct language.
LauncherUI.updateLang(Genshinlib.getConfig('lang.launcher') ?? 'en-us');
$('*[i18id]').each((i, element) => {