From 62785aa4c42dfbdbfa7601b84d6c79ef6fcb2302 Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Fri, 9 Oct 2020 20:41:26 +0200 Subject: [PATCH] Fix translations, add opening hours to cycle themed objects --- UI/i18n/Translations.ts | 4 ++-- .../cycling_themed_object/cycling_themed_objects.json | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/UI/i18n/Translations.ts b/UI/i18n/Translations.ts index fed6ab3..db386ae 100644 --- a/UI/i18n/Translations.ts +++ b/UI/i18n/Translations.ts @@ -907,8 +907,8 @@ export default class Translations { "nl": "Gesloten" }), ph_not_known: new T({ - "en": "unknown", - "nl": "niet gekend" + "en": " ", + "nl": " " }), ph_closed: new T({ "en": "closed", diff --git a/assets/layers/cycling_themed_object/cycling_themed_objects.json b/assets/layers/cycling_themed_object/cycling_themed_objects.json index 5acca30..e53ae02 100644 --- a/assets/layers/cycling_themed_object/cycling_themed_objects.json +++ b/assets/layers/cycling_themed_object/cycling_themed_objects.json @@ -47,6 +47,12 @@ "freeform": { "key": "email" } + }, + { + "render": "{opening_hours_table(opening_hours)}", + "freeform": { + "key": "opening_hours" + } } ], "hideUnderlayingFeaturesMinPercentage": 0,