diff --git a/apps/web/public/static/locales/en/common.json b/apps/web/public/static/locales/en/common.json index 478d87fdfc..278afdba9e 100644 --- a/apps/web/public/static/locales/en/common.json +++ b/apps/web/public/static/locales/en/common.json @@ -2050,5 +2050,8 @@ "no_members_found": "No members found", "event_setup_length_error":"Event Setup: The duration must be at least 1 minute.", "availability_schedules":"Availability Schedules", + "view_only_edit_availability_not_onboarded":"This user has not completed onboarding. You will not be able to set their availability until they have completed onboarding.", + "view_only_edit_availability":"You are viewing this user's availability. You can only edit your own availability.", + "edit_users_availability":"Edit user's availability: {{username}}", "ADD_NEW_STRINGS_ABOVE_THIS_LINE_TO_PREVENT_MERGE_CONFLICTS": "↑↑↑↑↑↑↑↑↑↑↑↑↑ Add your new strings above here ↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑" } diff --git a/packages/features/schedules/components/Schedule.tsx b/packages/features/schedules/components/Schedule.tsx index 5ceec95205..50b6c609f9 100644 --- a/packages/features/schedules/components/Schedule.tsx +++ b/packages/features/schedules/components/Schedule.tsx @@ -43,11 +43,13 @@ const ScheduleDay = ({ weekday, control, CopyButton, + disabled, }: { name: ArrayPath; weekday: string; control: Control; CopyButton: JSX.Element; + disabled?: boolean; }) => { const { watch, setValue } = useFormContext(); const watchDayRange = watch(name); @@ -60,7 +62,7 @@ const ScheduleDay = ({