From 07901f9ab21af479e3b3c11435e085605be6e5d1 Mon Sep 17 00:00:00 2001 From: Jakob Scheid Date: Sat, 25 Jul 2026 15:06:41 +0200 Subject: [PATCH] fix(settings): add section fallback Added a simple message as a fallback that is used if no section is selected. --- src/features/settings/views/SettingsView.vue | 5 ++++- src/locales/de.json | 3 ++- src/locales/en.json | 3 ++- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/features/settings/views/SettingsView.vue b/src/features/settings/views/SettingsView.vue index 4f0633a..abf3cb2 100644 --- a/src/features/settings/views/SettingsView.vue +++ b/src/features/settings/views/SettingsView.vue @@ -88,9 +88,12 @@ onMounted(async () => {
{{ t('loading') }}
-
+
+
+ {{ t('settings.noSectionSelected') }} +
diff --git a/src/locales/de.json b/src/locales/de.json index 9aaaa9d..6d5a00f 100644 --- a/src/locales/de.json +++ b/src/locales/de.json @@ -54,6 +54,7 @@ "link": { "ariaLabel": "Geht zur Einstellungsseite {page}" } - } + }, + "noSectionSelected": "Kein Einstellungsabschnitt ist ausgewählt." } } \ No newline at end of file diff --git a/src/locales/en.json b/src/locales/en.json index 5bda535..6fa1bee 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -54,6 +54,7 @@ "link": { "ariaLabel": "Goes to settings page {page}" } - } + }, + "noSectionSelected": "No settings section is selected." } } \ No newline at end of file