This commit is contained in:
Anik Dhabal Babu
2024-01-18 16:05:43 +00:00
committed by GitHub
parent 5e5f223908
commit 03671e2a58
2 changed files with 3 additions and 3 deletions
@@ -1007,8 +1007,8 @@
"duplicate": "Duplicate",
"offer_seats": "Offer seats",
"offer_seats_description": "Offer seats for booking. This automatically disables guest & opt-in bookings.",
"seats_available_one": "Seat available",
"seats_available_other": "Seats available",
"seats_available_one": "available",
"seats_available_other": "available",
"seats_nearly_full": "Seats almost full",
"seats_half_full": "Seats filling fast",
"number_of_seats": "Number of seats per booking",
@@ -34,7 +34,7 @@ export const SeatsAvailabilityText = ({
const isNearlyFull = bookedSeats / totalSeats >= 0.83;
return (
<span className={classNames(showExact && "lowercase")}>
<span className={classNames(showExact && "lowercase", "truncate")}>
{showExact
? `${availableSeats}${variant === "fraction" ? ` / ${totalSeats}` : ""} ${t("seats_available", {
count: availableSeats,