From f016d5aa824757a04fadb5665eac195c48e9097f Mon Sep 17 00:00:00 2001 From: Till-JS <101404291+Till-JS@users.noreply.github.com> Date: Sun, 1 Feb 2026 12:57:55 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20fix(questions):=20use=20'de'=20a?= =?UTF-8?q?s=20fallback=20locale=20for=20consistency?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit All apps now consistently use German as the fallback locale. Co-Authored-By: Claude Opus 4.5 --- .../apps/web/src/routes/(auth)/forgot-password/+page.svelte | 2 +- apps/questions/apps/web/src/routes/(auth)/login/+page.svelte | 2 +- apps/questions/apps/web/src/routes/(auth)/register/+page.svelte | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/questions/apps/web/src/routes/(auth)/forgot-password/+page.svelte b/apps/questions/apps/web/src/routes/(auth)/forgot-password/+page.svelte index 189c0a2e4..35d484f8b 100644 --- a/apps/questions/apps/web/src/routes/(auth)/forgot-password/+page.svelte +++ b/apps/questions/apps/web/src/routes/(auth)/forgot-password/+page.svelte @@ -8,7 +8,7 @@ import '$lib/i18n'; // Get translations based on current locale - const translations = $derived(getForgotPasswordTranslations($locale || 'en')); + const translations = $derived(getForgotPasswordTranslations($locale || 'de')); async function handleForgotPassword(email: string) { return authStore.resetPassword(email); diff --git a/apps/questions/apps/web/src/routes/(auth)/login/+page.svelte b/apps/questions/apps/web/src/routes/(auth)/login/+page.svelte index 1fac51690..75c7a72f4 100644 --- a/apps/questions/apps/web/src/routes/(auth)/login/+page.svelte +++ b/apps/questions/apps/web/src/routes/(auth)/login/+page.svelte @@ -27,7 +27,7 @@ }); // Get translations based on current locale - const translations = $derived(getLoginTranslations($locale || 'en')); + const translations = $derived(getLoginTranslations($locale || 'de')); // Read verification status from query params const verified = $derived($page.url.searchParams.get('verified') === 'true'); diff --git a/apps/questions/apps/web/src/routes/(auth)/register/+page.svelte b/apps/questions/apps/web/src/routes/(auth)/register/+page.svelte index 5895b1e06..11d61100a 100644 --- a/apps/questions/apps/web/src/routes/(auth)/register/+page.svelte +++ b/apps/questions/apps/web/src/routes/(auth)/register/+page.svelte @@ -21,7 +21,7 @@ }); // Get translations based on current locale - const translations = $derived(getRegisterTranslations($locale || 'en')); + const translations = $derived(getRegisterTranslations($locale || 'de')); async function handleSignUp(email: string, password: string) { return authStore.signUp(email, password);