fix: remove duplicate i18n key (#9234)

This commit is contained in:
Nafees Nazik authored and GitHub committed 2023-05-31 16:33:29 +00:00
1 parent 34d728cae0
commit 90b0d24c1e
2 files changed
+4 -3

No files matched your search

+4 -2
View File
@@ -279,7 +279,9 @@ export default function Success(props: SuccessProps) {
darkBrandColor: props.profile.darkBrandColor,
});
const title = t(
`booking_${needsConfirmation ? "submitted" : "confirmed"}${props.recurringBookings ? "_recurring" : ""}`
`booking_${needsConfirmation ? "booking_submitted" : "confirmed"}${
props.recurringBookings ? "_recurring" : ""
}`
);
const locationToDisplay = getSuccessPageLocationMessage(
@@ -364,7 +366,7 @@ export default function Success(props: SuccessProps) {
{needsConfirmation && !isCancelled
? props.recurringBookings
? t("submitted_recurring")
: t("submitted")
: t("booking_submitted")
: isCancelled
? seatReferenceUid
? t("no_longer_attending")
@@ -273,7 +273,6 @@
"user_needs_to_confirm_or_reject_booking_recurring": "{{user}} still needs to confirm or reject each booking of the recurring meeting.",
"meeting_is_scheduled": "This meeting is scheduled",
"meeting_is_scheduled_recurring": "The recurring events are scheduled",
"submitted": "Your booking has been submitted",
"submitted_recurring": "Your recurring meeting has been submitted",
"booking_submitted": "Your booking has been submitted",
"booking_submitted_recurring": "Your recurring meeting has been submitted",