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:
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,
|
||||
|
||||
Reference in new issue
Block a user