mirror of
https://github.com/an-anime-team/an-anime-game-launcher.git
synced 2024-12-24 18:48:14 +03:00
Add comments
This commit is contained in:
parent
540627ba55
commit
919c99f6dc
2 changed files with 2 additions and 0 deletions
|
@ -22,6 +22,7 @@ $(() => {
|
||||||
if (Genshinlib.version !== null)
|
if (Genshinlib.version !== null)
|
||||||
document.title = 'Genshin Impact Linux Launcher - ' + Genshinlib.version;
|
document.title = 'Genshin Impact Linux Launcher - ' + Genshinlib.version;
|
||||||
|
|
||||||
|
// On Start configuration of LauncherUI
|
||||||
LauncherUI.updateLang(Genshinlib.getConfig('lang.launcher') ?? 'en-us');
|
LauncherUI.updateLang(Genshinlib.getConfig('lang.launcher') ?? 'en-us');
|
||||||
LauncherUI.setState('game-launch-available');
|
LauncherUI.setState('game-launch-available');
|
||||||
LauncherUI.updateBackground();
|
LauncherUI.updateBackground();
|
||||||
|
|
|
@ -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');
|
LauncherUI.updateLang(Genshinlib.getConfig('lang.launcher') ?? 'en-us');
|
||||||
|
|
||||||
$('*[i18id]').each((i, element) => {
|
$('*[i18id]').each((i, element) => {
|
||||||
|
|
Loading…
Reference in a new issue