From e2fc678ec9e694578927f0c7aeab86a0298041d4 Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Fri, 15 Aug 2025 02:30:12 +0200 Subject: [PATCH] Fix: fix crash in collection times picker --- langs/en.json | 3 +++ .../Helpers/CollectionTimes/SingleCollectionTime.svelte | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/langs/en.json b/langs/en.json index 52612c248..cf32b82b9 100644 --- a/langs/en.json +++ b/langs/en.json @@ -22,6 +22,9 @@ "retrying": "Loading data failed. Trying again in {count} seconds…", "zoomIn": "Zoom in to view or edit the data" }, + "collectionTimes": { + "addTime": "Add moment" + }, "communityIndex": { "available": "This community speaks {native}", "intro": "Get in touch with other people to get to know them, learn from them, …", diff --git a/src/UI/InputElement/Helpers/CollectionTimes/SingleCollectionTime.svelte b/src/UI/InputElement/Helpers/CollectionTimes/SingleCollectionTime.svelte index 55d228742..23ddf4515 100644 --- a/src/UI/InputElement/Helpers/CollectionTimes/SingleCollectionTime.svelte +++ b/src/UI/InputElement/Helpers/CollectionTimes/SingleCollectionTime.svelte @@ -8,6 +8,7 @@ import { OH } from "../../../OpeningHours/OpeningHours" import { Lists } from "../../../../Utils/Lists" import { Translation } from "../../../i18n/Translation" + import PlusCircle from "@babeard/svelte-heroicons/mini/PlusCircle" export let value: UIEventSource @@ -114,7 +115,7 @@ }} > - Add time +