From 88237bec8b69dbb84d44119bf9736a73de367c5f Mon Sep 17 00:00:00 2001 From: Maroxy Date: Sun, 24 Oct 2021 10:36:07 +0200 Subject: [PATCH] Change lines --- src/ts/lib/LauncherUI.ts | 2 -- src/ts/settings.ts | 1 - 2 files changed, 3 deletions(-) diff --git a/src/ts/lib/LauncherUI.ts b/src/ts/lib/LauncherUI.ts index 56c4e91..2f94158 100644 --- a/src/ts/lib/LauncherUI.ts +++ b/src/ts/lib/LauncherUI.ts @@ -182,8 +182,6 @@ export class LauncherUI if (lang !== null) this.i18n.setLang(lang); - console.log(this.i18n.loadedLanguage); - $('*[i18id]').each((i, element) => { element.innerText = this.i18n.translate(element.getAttribute('i18id')!); }); diff --git a/src/ts/settings.ts b/src/ts/settings.ts index 4440b90..a64747f 100644 --- a/src/ts/settings.ts +++ b/src/ts/settings.ts @@ -4,7 +4,6 @@ const { ipcRenderer } = require('electron'); const { exec } = require('child_process'); import $ from 'cash-dom'; -import { i18n } from './lib/i18n'; import { Genshinlib } from './lib/Genshinlib'; import { LauncherUI } from './lib/LauncherUI'; import { Tools } from './lib/Tools';