Merge branch 'better-suggested-events' into 'main'

better suggested events

See merge request framasoft/mobilizon!1273
This commit is contained in:
Thomas Citharel
2022-10-04 09:25:16 +00:00
3 changed files with 76 additions and 28 deletions

View File

@@ -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,
},