diff --git a/public/locales/de-de.yaml b/public/locales/de-de.yaml index 8cfa768..855ed74 100644 --- a/public/locales/de-de.yaml +++ b/public/locales/de-de.yaml @@ -51,12 +51,12 @@ settings: discord: title: Discord RPC settings: - title: Discord RPC settings + title: Discord RPC Einstellung items: - timer: Display spent time - in-launcher: In-launcher text - in-game: In-game text - selectIcon: Select icon + timer: Zeige geschätzte Zeit + in-launcher: Launcher text + in-game: im Spiel text + selectIcon: Icon auswählen # Verberssungen enhancements: diff --git a/public/locales/en-us.yaml b/public/locales/en-us.yaml index 76e75c6..fde526a 100644 --- a/public/locales/en-us.yaml +++ b/public/locales/en-us.yaml @@ -53,8 +53,8 @@ settings: settings: title: Discord RPC settings items: - timer: Display spent time - in-launcher: In-launcher text + timer: Show estimated time spent + in-launcher: Launcher text in-game: In-game text selectIcon: Select icon diff --git a/src/ts/Launcher.ts b/src/ts/Launcher.ts index fb3c3fa..2eb9ecb 100644 --- a/src/ts/Launcher.ts +++ b/src/ts/Launcher.ts @@ -123,7 +123,7 @@ export default class Launcher time: { // @ts-expect-error - start: discord.timer ? Math.round(Date.now() / 1000) : 0 + start: state === 'in-launcher' ? 0 : discord.timer ? Math.round(Date.now() / 1000) : 0 } });