fix: German translation for seats_availability text (#20086)

* Fix German translation for seats_availability text

* enhancements

---------

Co-authored-by: Tushar Bhatt <95581504+TusharBhatt1@users.noreply.github.com>
Co-authored-by: Tushar <tusharbhatt0135@gmail.com>
This commit is contained in:
ajayjha1
2025-03-15 08:12:04 +00:00
committed by GitHub
co-authored by Tushar Bhatt Tushar
parent 4dc21ab2b0
commit 5d2d7ce979
3 changed files with 4 additions and 4 deletions
@@ -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",
@@ -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",
@@ -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,