fix: improve restriction schedule description (#22517)

* fix description

* add back isRestrictionScheduleEnabled

---------

Co-authored-by: CarinaWolli <wollencarina@gmail.com>
This commit is contained in:
Carina Wollendorfer
2025-07-15 14:22:56 +02:00
committed by GitHub
co-authored by CarinaWolli
parent 5854de3c23
commit afe5fea6eb
2 changed files with 3 additions and 3 deletions
@@ -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",
@@ -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}