Skip to content

Scheduling infrastructure for absolutely everyone.

fix: remove duplicate i18n key (#9234)

Nafees Nazik90b0d24c1e26
diff --git a/apps/web/pages/booking/[uid].tsx b/apps/web/pages/booking/[uid].tsx
index 64db39652a9..a8e11ce6b35 100644
--- a/apps/web/pages/booking/[uid].tsx
+++ b/apps/web/pages/booking/[uid].tsx
@@ -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")
diff --git a/apps/web/public/static/locales/en/common.json b/apps/web/public/static/locales/en/common.json
index b89bc2d6c4c..7405f670280 100644
--- a/apps/web/public/static/locales/en/common.json
+++ b/apps/web/public/static/locales/en/common.json
@@ -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",