- {new Date().toLocaleDateString('de-DE', {
+ {new Date().toLocaleDateString(get(locale) ?? 'de', {
weekday: 'long',
day: 'numeric',
month: 'long',
@@ -62,14 +66,14 @@
href="/food/history"
class="rounded-lg border border-[hsl(var(--color-border))] px-4 py-2 text-sm font-medium text-[hsl(var(--color-foreground))] transition-colors hover:bg-[hsl(var(--color-muted))]"
>
- Verlauf
+ {$_('food.home.action_history')}
@@ -113,7 +118,9 @@ class="h-2 w-2 rounded-full" style="background-color: {NUTRIENT_INFO.protein.color}" > - Protein + {$_('food.nutrition.protein')}
{progress.protein.current}g @@ -141,7 +148,7 @@ style="background-color: {NUTRIENT_INFO.carbohydrates.color}" > Kohlenhydrate{$_('food.nutrition.carbs')}
@@ -169,7 +176,9 @@ class="h-2 w-2 rounded-full" style="background-color: {NUTRIENT_INFO.fat.color}" > - Fett + {$_('food.nutrition.fat')}
{progress.fat.current}g @@ -192,10 +201,10 @@
- Trage deine erste Mahlzeit ein. + {$_('food.home.empty_hint')}
- Mahlzeit hinzufuegen + {$_('food.home.action_add_meal')}Ziele
++ {$_('food.home.link_goals')} +
📊 -Verlauf
++ {$_('food.home.action_history')} +
diff --git a/scripts/i18n-hardcoded-baseline.json b/scripts/i18n-hardcoded-baseline.json index a850de1ec..f1de54daa 100644 --- a/scripts/i18n-hardcoded-baseline.json +++ b/scripts/i18n-hardcoded-baseline.json @@ -29,6 +29,7 @@ "apps/mana/apps/web/src/lib/components/profile/ChangePasswordModal.svelte": 2, "apps/mana/apps/web/src/lib/components/profile/DeleteAccountModal.svelte": 5, "apps/mana/apps/web/src/lib/components/profile/EditProfileModal.svelte": 3, + "apps/mana/apps/web/src/lib/components/settings/sections/CommunitySection.svelte": 2, "apps/mana/apps/web/src/lib/components/settings/sections/VaultSection.svelte": 2, "apps/mana/apps/web/src/lib/components/shell/ModuleShell.svelte": 3, "apps/mana/apps/web/src/lib/components/SuggestionToast.svelte": 1, @@ -226,7 +227,6 @@ "apps/mana/apps/web/src/routes/(app)/context/documents/+page.svelte": 5, "apps/mana/apps/web/src/routes/(app)/context/spaces/[id]/+page.svelte": 3, "apps/mana/apps/web/src/routes/(app)/context/spaces/+page.svelte": 5, - "apps/mana/apps/web/src/routes/(app)/food/+page.svelte": 7, "apps/mana/apps/web/src/routes/(app)/food/add/+page.svelte": 2, "apps/mana/apps/web/src/routes/(app)/food/goals/+page.svelte": 1, "apps/mana/apps/web/src/routes/(app)/gifts/redeem/+page.svelte": 1,