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}
- Vorschlaege + {$_('automations.list_view.section_suggestions')} {#each suggestions as sug (sug.id)}
@@ -188,8 +192,12 @@ {sug.description}
- - + +
{/each} @@ -199,9 +207,11 @@
- + {#if !showCreate} - + {/if}
@@ -210,15 +220,15 @@
- WENN + {$_('automations.list_view.step_when')}
- - + + {/if}
@@ -236,10 +246,10 @@ {#if selectedSource}
- FILTER + {$_('automations.list_view.step_filter')}
{/if} @@ -262,10 +272,10 @@ {/if}
- DANN + {$_('automations.list_view.step_then')}