From d8d430f333e33d1fd1b16384a9170567d6e1b2b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thea=20Sch=C3=B6bl?= Date: Fri, 8 Dec 2023 23:12:52 +0100 Subject: [PATCH] fix: browser warning referencing a non-existent app --- src/i18n/de/index.ts | 3 ++- src/i18n/en/index.ts | 2 +- src/routes/BrowserWarning.svelte | 7 +++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/i18n/de/index.ts b/src/i18n/de/index.ts index a88581d8..4abdeea1 100644 --- a/src/i18n/de/index.ts +++ b/src/i18n/de/index.ts @@ -77,7 +77,8 @@ const de = { "Auch wenn alle Chromium-basieren Desktop Browser diese Voraussetzung grundsätzlich erfüllen, haben einige Browser ", INFO_BROWSER_INFIX: "wie zum Beispiel Brave", INFO_BROWSER_SUFFIX: " sich bewusst dazu entschieden die API zu deaktivieren.", - DOWNLOAD_APP: "Desktop-app herunterladen", + DOWNLOAD_APP: + "Chrome oder Edge werden offiziell unterstützt, andere Browser könnten aber auch funktionieren.", }, changes: { TITLE: "Änderungen importieren", diff --git a/src/i18n/en/index.ts b/src/i18n/en/index.ts index 5ce80e77..0f043793 100644 --- a/src/i18n/en/index.ts +++ b/src/i18n/en/index.ts @@ -75,7 +75,7 @@ const en = { "Though all chromium-based desktop browsers fulfill this requirement, some derivations such as Brave ", INFO_BROWSER_INFIX: "have been known to disable the API intentionally", INFO_BROWSER_SUFFIX: ".", - DOWNLOAD_APP: "Download the desktop app", + DOWNLOAD_APP: "Chrome or Edge are officially supported, but other browsers might work as well.", }, changes: { TITLE: "Import changes", diff --git a/src/routes/BrowserWarning.svelte b/src/routes/BrowserWarning.svelte index d3c5e61a..32c01202 100644 --- a/src/routes/BrowserWarning.svelte +++ b/src/routes/BrowserWarning.svelte @@ -17,9 +17,7 @@ >{$LL.browserWarning.INFO_BROWSER_SUFFIX()}

- {$LL.browserWarning.DOWNLOAD_APP()} +

{$LL.browserWarning.DOWNLOAD_APP()}

@@ -50,9 +48,10 @@ a { color: var(--md-sys-color-on-error); + text-decoration: underline; } - div > a { + div > p { display: flex; gap: 8px; align-items: center;