fix: German translation for seats_availability text (#20086)

* Fix German translation for seats_availability text

* enhancements

---------

Co-authored-by: Tushar Bhatt <[email protected]>
Co-authored-by: Tushar <[email protected]>
This commit is contained in:
authored and GitHub committed 2025-03-15 08:12:04 +00:00
1 parent 4dc21ab2b0
commit 5d2d7ce979
3 files changed
+4 -4

No files matched your search

@@ -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,