chore: add event has been rescheduled title (#17286)

This commit is contained in:
Udit Takkar authored and GitHub committed 2024-10-24 17:18:55 +00:00
1 parent ca5b83f876
commit 50a41109d0
2 files changed
+7

No files matched your search

@@ -366,6 +366,8 @@ export default function Success(props: PageProps) {
const isEventCancelled = isCancelled && !seatReferenceUid;
const isPastBooking = isBookingInPast;
const isRerouting = searchParams?.get("cal.rerouting") === "true";
const isRescheduled = bookingInfo?.rescheduled;
const successPageHeadline = (() => {
if (needsConfirmationAndReschedulable) {
return isRecurringBooking ? t("booking_submitted_recurring") : t("booking_submitted");
@@ -379,6 +381,10 @@ export default function Success(props: PageProps) {
return t("no_longer_attending");
}
if (isRescheduled) {
return t("your_event_has_been_rescheduled");
}
if (isEventCancelled) {
return t("event_cancelled");
}
@@ -131,6 +131,7 @@
"your_meeting_has_been_booked": "Your meeting has been booked",
"event_type_has_been_rescheduled_on_time_date": "Your {{title}} has been rescheduled to {{date}}.",
"event_has_been_rescheduled": "Updated - Your event has been rescheduled",
"your_event_has_been_rescheduled": "Your event has been rescheduled",
"request_reschedule_subtitle": "{{organizer}} has canceled the booking and requested you to pick another time.",
"request_reschedule_title_organizer": "You have requested {{attendee}} to reschedule",
"request_reschedule_subtitle_organizer": "You have canceled the booking and {{attendee}} should pick a new booking time with you.",