From 4a16f572d8889e92067d93840438dda38cef8e5d Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Mon, 3 Oct 2022 14:01:57 +0200 Subject: [PATCH] Fix build after !1261 Signed-off-by: Thomas Citharel --- js/src/services/EventMetadata.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/js/src/services/EventMetadata.ts b/js/src/services/EventMetadata.ts index 94607466a..4d8d5981b 100644 --- a/js/src/services/EventMetadata.ts +++ b/js/src/services/EventMetadata.ts @@ -59,16 +59,16 @@ export const eventMetaDataList: IEventMetadataDescription[] = [ { icon: "smoking-off", key: "mz:accessibility:smokeFree", - label: i18n.t("Smoke free") as string, - description: i18n.t( + label: t("Smoke free") as string, + description: t( "Whether smoking is prohibited during the event" ) as string, value: "false", type: EventMetadataType.BOOLEAN, keyType: EventMetadataKeyType.PLAIN, choices: { - true: i18n.t("Smoke free") as string, - false: i18n.t("Smoking allowed") as string, + true: t("Smoke free") as string, + false: t("Smoking allowed") as string, }, category: EventMetadataCategories.ACCESSIBILITY, },