From f233092d36b01f244f179240f5e89dc69339ab6a Mon Sep 17 00:00:00 2001 From: Maroxy Date: Thu, 6 Jan 2022 17:44:07 +0100 Subject: [PATCH 1/2] Removed estimated counter when just sitting in launcher --- src/ts/Launcher.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } }); From 2f55b0feb20989646f100f0c5c9d94b3a7b8235d Mon Sep 17 00:00:00 2001 From: Maroxy Date: Thu, 6 Jan 2022 17:46:34 +0100 Subject: [PATCH 2/2] Update locales --- public/locales/de-de.yaml | 10 +++++----- public/locales/en-us.yaml | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) 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