From fbe451f083ac2ea436d2d5e7a23375fbebce365c Mon Sep 17 00:00:00 2001 From: ssmucny Date: Sun, 4 Jun 2023 23:21:34 -0400 Subject: [PATCH] Fixes to event editor --- locales/index.d.ts | 28 +++++++++++++++++++ .../frontend/src/components/MkEventEditor.vue | 11 +++++--- 2 files changed, 35 insertions(+), 4 deletions(-) diff --git a/locales/index.d.ts b/locales/index.d.ts index 7047f42eff..1b4f740442 100644 --- a/locales/index.d.ts +++ b/locales/index.d.ts @@ -1023,6 +1023,9 @@ export interface Locale { "accountMovedShort": string; "operationForbidden": string; "forceShowAds": string; + "event": string; + "events": string; + "reverseChronological": string; "addMemo": string; "editMemo": string; "reactionsList": string; @@ -1084,6 +1087,31 @@ export interface Locale { "_serverRules": { "description": string; }; + "_event": { + "title": string; + "startDateTime": string; + "endDateTime": string; + "startDate": string; + "endDate": string; + "startTime": string; + "endTime": string; + "detailName": string; + "detailValue": string; + "location": string; + "url": string; + "doorTime": string; + "organizer": string; + "organizerLink": string; + "audience": string; + "language": string; + "ageRange": string; + "ticketsUrl": string; + "isFree": string; + "price": string; + "availabilityStart": string; + "availabilityEnd": string; + "keywords": string; + }; "_accountMigration": { "moveFrom": string; "moveFromSub": string; diff --git a/packages/frontend/src/components/MkEventEditor.vue b/packages/frontend/src/components/MkEventEditor.vue index 2130622567..b75d3255ae 100644 --- a/packages/frontend/src/components/MkEventEditor.vue +++ b/packages/frontend/src/components/MkEventEditor.vue @@ -9,6 +9,8 @@ + +
@@ -17,12 +19,12 @@ +
+
- -
@@ -34,6 +36,7 @@
+
@@ -76,8 +79,8 @@
- - + + {{ i18n.ts._event.isFree }}