chore: add missing translation (#25753)

This commit is contained in:
Udit Takkar
2025-12-12 01:45:43 +05:30
committed by GitHub
parent 0ecfd78e47
commit da4fec9c27
2 changed files with 5 additions and 1 deletions
@@ -126,6 +126,7 @@
"timeslot_unavailable_book_a_new_time": "The selected time slot is no longer available. <0>Please select a new time</0>",
"timeslot_unavailable_short": "Taken",
"just_connected_description": "Youve just connected. Please book from above slots or retry later.",
"please_try_again_later_or_book_another_slot": "You've just tried connecting now. Please try again later in {{remaining}} minutes or book another slot from the booking page.",
"unavailable_timeslot_title": "Unavailable timeslot",
"booking_time_out_of_bounds_error": "The event type cannot be booked at this time. Could you try another time slot?",
"request_body_end_time_internal_error": "Internal Error. Request body does not contain end time",
@@ -537,7 +537,10 @@ export const useBookings = ({ event, hashedLink, bookingForm, metadata, isBookin
handleInstantBooking: (variables: Parameters<typeof createInstantBookingMutation.mutate>[0]) => {
const remaining = getInstantCooldownRemainingMs(eventTypeId);
if (remaining > 0) {
showToast(t("please_try_again_later_or_book_another_slot"), "error");
showToast(
t("please_try_again_later_or_book_another_slot", { remaining: Math.ceil(remaining / 60000) }),
"error"
);
return;
}
createInstantBookingMutation.mutate(variables);