diff --git a/apps/mana/apps/web/src/lib/modules/automations/ListView.svelte b/apps/mana/apps/web/src/lib/modules/automations/ListView.svelte index 54e570510..27361615b 100644 --- a/apps/mana/apps/web/src/lib/modules/automations/ListView.svelte +++ b/apps/mana/apps/web/src/lib/modules/automations/ListView.svelte @@ -14,6 +14,7 @@ import { Trash } from '@mana/shared-icons'; import { generateSuggestions, dismissSuggestion, isSuggestionDismissed } from '$lib/triggers'; import type { AutomationSuggestion } from '$lib/triggers'; + import { _ } from 'svelte-i18n'; let { navigate, goBack, params }: ViewProps = $props(); @@ -147,7 +148,10 @@ const src = SOURCE_OPTIONS.find( (s) => s.app === a.sourceApp && s.collection === a.sourceCollection ); - const opLabel = a.sourceOp === 'insert' ? 'erstellt' : 'geaendert'; + const opLabel = + a.sourceOp === 'insert' + ? $_('automations.list_view.detail_inserted') + : $_('automations.list_view.detail_updated'); return src ? `${src.collectionLabel} ${opLabel}` : `${a.sourceCollection} ${opLabel}`; } @@ -177,7 +181,7 @@ {#if suggestions.length > 0}
Keine Automations
-Verbinde Module mit Regeln: "Wenn X passiert, mache Y"
+{$_('automations.list_view.empty_title')}
+{$_('automations.list_view.empty_hint')}
{$_('automations.list_view.empty_action')}