Changed 1 Seats available to 1 Seat available for all languages (#9068)
* Changed 1 Seat Available * Update on changing 1 seat available * fix: lint errors and remove yarn.lock Signed-off-by: Udit Takkar <[email protected]> * Update on changing 1 seat available * Updated count of keys to perfectly match the number of available seats * Updated count of keys to perfectly match the number of available seats * Update AvailableTimes.tsx * Update apps/web/components/booking/AvailableTimes.tsx * Update packages/features/bookings/components/AvailableTimes.tsx * Formatting fixes * Update AvailableTimes.tsx --------- Signed-off-by: Udit Takkar <[email protected]> Co-authored-by: Udit Takkar <[email protected]> Co-authored-by: alannnc <[email protected]> Co-authored-by: zomars <[email protected]> Co-authored-by: Peer Richelsen <[email protected]>
This commit is contained in:
28 files changed
+63
-28
No files matched your search
@@ -176,7 +176,10 @@ const AvailableTimes: FC<AvailableTimesProps> = ({
|
||||
: "text-emerald-400"
|
||||
} text-sm`}>
|
||||
{slot.attendees ? seatsPerTimeSlot - slot.attendees : seatsPerTimeSlot} /{" "}
|
||||
{seatsPerTimeSlot} {t("seats_available")}
|
||||
{seatsPerTimeSlot}{" "}
|
||||
{t("seats_available", {
|
||||
count: slot.attendees ? seatsPerTimeSlot - slot.attendees : seatsPerTimeSlot,
|
||||
})}
|
||||
</p>
|
||||
)}
|
||||
</Link>
|
||||
|
||||
@@ -637,7 +637,12 @@ const BookingPage = ({
|
||||
{currentSlotBooking
|
||||
? eventType.seatsPerTimeSlot - currentSlotBooking.attendees.length
|
||||
: eventType.seatsPerTimeSlot}{" "}
|
||||
/ {eventType.seatsPerTimeSlot} {t("seats_available")}
|
||||
/ {eventType.seatsPerTimeSlot}{" "}
|
||||
{t("seats_available", {
|
||||
count: currentSlotBooking
|
||||
? eventType.seatsPerTimeSlot - currentSlotBooking.attendees.length
|
||||
: eventType.seatsPerTimeSlot,
|
||||
})}
|
||||
</p>
|
||||
</div>
|
||||
)}
|
||||
|
||||
Reference in new issue
Block a user