chore: Bulk update desc (#16343)
* chore(locale-en): update bulk modal description * chore: schedule bulk-modal description --------- Co-authored-by: Amit Sharma <74371312+Amit91848@users.noreply.github.com>
This commit is contained in:
@@ -183,6 +183,7 @@ export const AppList = ({ data, handleDisconnect, variant, listClassName }: AppL
|
||||
open={bulkUpdateModal}
|
||||
setOpen={setBulkUpdateModal}
|
||||
isPending={updateLocationsMutation.isPending}
|
||||
description={t("default_conferencing_bulk_description")}
|
||||
/>
|
||||
)}
|
||||
</>
|
||||
|
||||
@@ -149,6 +149,7 @@ export function AvailabilityList({ schedules }: RouterOutputs["viewer"]["availab
|
||||
open={bulkUpdateModal}
|
||||
setOpen={setBulkUpdateModal}
|
||||
bulkUpdateFunction={bulkUpdateDefaultAvailabilityMutation.mutate}
|
||||
description={t("default_schedules_bulk_description")}
|
||||
/>
|
||||
)}
|
||||
</>
|
||||
|
||||
@@ -1960,6 +1960,7 @@
|
||||
"members_default_schedule_description": "We will use each members default availability schedule. They will be able to edit or change it.",
|
||||
"requires_at_least_one_schedule": "You are required to have at least one schedule",
|
||||
"default_conferencing_bulk_description": "Update the locations for the selected event types",
|
||||
"default_schedules_bulk_description": "Update the schedules for the selected event types",
|
||||
"locked_for_members": "Locked for members",
|
||||
"unlocked_for_members": "Unlocked for members",
|
||||
"apps_locked_for_members_description": "Members will be able to see the active apps but will not be able to edit any app settings",
|
||||
|
||||
@@ -15,6 +15,7 @@ export function BulkEditDefaultForEventsModal(props: {
|
||||
setOpen: (open: boolean) => void;
|
||||
bulkUpdateFunction: ({ eventTypeIds }: { eventTypeIds: number[] }) => void;
|
||||
isPending: boolean;
|
||||
description: string;
|
||||
}) {
|
||||
const { t } = useLocale();
|
||||
const utils = trpc.useUtils();
|
||||
@@ -36,7 +37,7 @@ export function BulkEditDefaultForEventsModal(props: {
|
||||
<DialogContent
|
||||
type="creation"
|
||||
title={t("default_conferencing_bulk_title")}
|
||||
description={t("default_conferencing_bulk_description")}
|
||||
description={props.description}
|
||||
enableOverflow>
|
||||
<Form
|
||||
form={form}
|
||||
|
||||
@@ -363,6 +363,7 @@ export function AvailabilitySettings({
|
||||
open={bulkUpdateModalProps?.isOpen}
|
||||
setOpen={bulkUpdateModalProps.setIsOpen}
|
||||
bulkUpdateFunction={bulkUpdateModalProps?.save}
|
||||
description={t("default_schedules_bulk_description")}
|
||||
/>
|
||||
)}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user