Skip to content

Scheduling infrastructure for absolutely everyone.

fix: improve restriction schedule description (#22517)

Carina Wollendorferafe5fea6ebef
diff --git a/apps/web/public/static/locales/en/common.json b/apps/web/public/static/locales/en/common.json
index 9bf63dd2a77..cbdf0db1377 100644
--- a/apps/web/public/static/locales/en/common.json
+++ b/apps/web/public/static/locales/en/common.json
@@ -3323,7 +3323,7 @@
"pbac_desc_manage_team_insights": "Manage team insights",
"read_permission_auto_enabled_tooltip": "Read permission is automatically enabled when creating, updating, or deleting a resource",
"choose_restriction_schedule": "Add restriction schedule",
- "choose_restriction_schedule_description": "Enable this if you want to restrict the availability of hosts for this event type based on a restriction schedule. This only removes the slots that are not in the restriction schedule, it does not add any new slots.",
+ "restriction_schedule_description": "Limit availability of hosts to only display slots that fall within a specified schedule.",
"use_booker_timezone": "Use booker's timezone",
"use_booker_timezone_info": "Apply the selected restriction schedule in the booker's timezone",
"load_balancing_warning": "This will disable Load Balancing on all your Round Robin event types",
diff --git a/packages/features/eventtypes/components/tabs/availability/EventAvailabilityTab.tsx b/packages/features/eventtypes/components/tabs/availability/EventAvailabilityTab.tsx
index b6ed32f7994..6943e158f53 100644
--- a/packages/features/eventtypes/components/tabs/availability/EventAvailabilityTab.tsx
+++ b/packages/features/eventtypes/components/tabs/availability/EventAvailabilityTab.tsx
@@ -666,7 +666,7 @@ const TeamMemberSchedule = ({
{isPlatform && <Icon name="user" className={classNames("h-4 w-4", customClassNames?.labelAvatar)} />}
<p className={classNames("text-emphasis my-auto ms-3 text-sm", customClassNames?.label)}>{label}</p>
</div>
- <div className="flex w-full flex-col pt-2 ">
+ <div className="flex w-full flex-col pt-2">
{isPending ? (
<Spinner className="mt-2 h-6 w-6" />
) : (
@@ -851,7 +851,7 @@ const UseTeamEventScheduleSettingsToggle = ({
checked={restrictScheduleForHosts}
onCheckedChange={toggleRestrictScheduleState}
title={t("choose_restriction_schedule")}
- description={t("choose_restriction_schedule_description")}>
+ description={t("restriction_schedule_description")}>
<EventTypeSchedule
customClassNames={customClassNames?.userAvailability}
eventType={eventType}