From 97b1bf41033cb6889239c8698c509ee9ae677687 Mon Sep 17 00:00:00 2001 From: WardPearce Date: Thu, 5 Mar 2026 13:13:41 +1300 Subject: [PATCH] Added filter translation strings --- .../lib/components/settings/Filters.svelte | 20 +++++++++++-------- materialious/src/lib/i18n/locales/en.json | 9 ++++++++- 2 files changed, 20 insertions(+), 9 deletions(-) diff --git a/materialious/src/lib/components/settings/Filters.svelte b/materialious/src/lib/components/settings/Filters.svelte index d7761e8c..800c72ce 100644 --- a/materialious/src/lib/components/settings/Filters.svelte +++ b/materialious/src/lib/components/settings/Filters.svelte @@ -148,7 +148,7 @@ > {/each} - + arrow_drop_down @@ -190,7 +190,7 @@ > {/each} - + arrow_drop_down @@ -210,7 +210,7 @@ > {/each} - + arrow_drop_down @@ -223,7 +223,9 @@ }} name="boolean-options" > - + @@ -239,7 +241,9 @@ }} name="array-options" > - + {#each schema[filter.type][condition.field] as value (value)} - + {/if} @@ -282,7 +286,7 @@ class="surface-container-highest" > add - Add conditional + {$_('layout.filter.addConditional')}
@@ -292,7 +296,7 @@
{#each filterTypes as filterType (filterType)} diff --git a/materialious/src/lib/i18n/locales/en.json b/materialious/src/lib/i18n/locales/en.json index f16a3995..47f75e40 100644 --- a/materialious/src/lib/i18n/locales/en.json +++ b/materialious/src/lib/i18n/locales/en.json @@ -262,7 +262,14 @@ "filter": { "title": "Content Filters", "url": "Import Filters from URL", - "autoUpdate": "Automatically update filter from URL" + "autoUpdate": "Automatically update filter from URL", + "contentType": "Content type", + "field": "Field", + "operator": "Operator", + "optionPlaceholder": "Select your option", + "value": "Value", + "addConditional": "Add conditional", + "addFilter": "Add filter" }, "deArrow": { "title": "DeArrow",