Skip to content

Scheduling infrastructure for absolutely everyone.

fix: German translation for seats_availability text (#20086)

ajayjha15d2d7ce97977
diff --git a/apps/web/public/static/locales/de/common.json b/apps/web/public/static/locales/de/common.json
index 699dcd49ba3..c4f9677573a 100644
--- a/apps/web/public/static/locales/de/common.json
+++ b/apps/web/public/static/locales/de/common.json
@@ -1118,7 +1118,7 @@
"duplicate": "Duplizieren",
"offer_seats": "Plätze anbieten",
"offer_seats_description": "Bieten Sie Plätze für Buchungen an (dies deaktiviert Gäste & Opt-in-Buchungen)",
- "seats_available_other": "Verfügbare Plätze",
+ "seats_available_other": "Plätze verfügbar",
"seats_nearly_full": "Plätze fast voll",
"seats_half_full": "Plätze werden schnell belegt",
"number_of_seats": "Anzahl der Plätze pro Termin",
diff --git a/apps/web/public/static/locales/en/common.json b/apps/web/public/static/locales/en/common.json
index 8b4ef4be22f..1ee1408196d 100644
--- a/apps/web/public/static/locales/en/common.json
+++ b/apps/web/public/static/locales/en/common.json
@@ -1118,7 +1118,8 @@
"duplicate": "Duplicate",
"offer_seats": "Offer seats",
"offer_seats_description": "Offer seats for booking. This automatically disables guest & opt-in bookings.",
- "seats_available_other": "available",
+ "seats_available_one": "Seat available",
+ "seats_available_other": "Seats available",
"seats_nearly_full": "Seats almost full",
"seats_half_full": "Seats filling fast",
"number_of_seats": "Number of seats per booking",
diff --git a/packages/features/bookings/components/SeatsAvailabilityText.tsx b/packages/features/bookings/components/SeatsAvailabilityText.tsx
index 8390e29fbde..fb2541ec87d 100644
--- a/packages/features/bookings/components/SeatsAvailabilityText.tsx
+++ b/packages/features/bookings/components/SeatsAvailabilityText.tsx
@@ -1,5 +1,4 @@
import { useLocale } from "@calcom/lib/hooks/useLocale";
-import classNames from "@calcom/ui/classNames";
type Props = {
/**
@@ -34,7 +33,7 @@ export const SeatsAvailabilityText = ({
const isNearlyFull = bookedSeats / totalSeats >= 0.83;
return (
- <span className={classNames(showExact && "lowercase", "truncate")}>
+ <span className="truncate">
{showExact
? `${availableSeats}${variant === "fraction" ? ` / ${totalSeats}` : ""} ${t("seats_available", {
count: availableSeats,