diff --git a/apps/web/public/static/locales/en/common.json b/apps/web/public/static/locales/en/common.json index bc5bbc73b3..b3618532d9 100644 --- a/apps/web/public/static/locales/en/common.json +++ b/apps/web/public/static/locales/en/common.json @@ -1156,5 +1156,11 @@ "create_your_first_form_description": "With Routing Forms you can ask qualifying questions and route to the correct person or event type.", "for_a_maximum_of": "For a maximum of", "event_one": "event", - "event_other": "events" + "event_other": "events", + "workflow_example_1": "Send email reminder 24 hours before event starts to host", + "workflow_example_2": "Send SMS reminder 1 hour before event starts to host", + "workflow_example_3": "Send custom email when event is cancelled to host", + "workflow_example_4": "Send email reminder 24 hours before event starts to attendee", + "workflow_example_5": "Send SMS reminder 1 hour before event starts to attendee", + "workflow_example_6": "Send custom SMS when event is rescheduled to attendee" } diff --git a/packages/features/ee/workflows/components/v2/EmptyScreen.tsx b/packages/features/ee/workflows/components/v2/EmptyScreen.tsx index bc23b24559..20267a9491 100644 --- a/packages/features/ee/workflows/components/v2/EmptyScreen.tsx +++ b/packages/features/ee/workflows/components/v2/EmptyScreen.tsx @@ -1,19 +1,11 @@ import React from "react"; import { Icon as FeatherIcon } from "react-feather"; +import { useLocale } from "@calcom/lib/hooks/useLocale"; import { SVGComponent } from "@calcom/types/SVGComponent"; import { Icon } from "@calcom/ui/Icon"; import { Button } from "@calcom/ui/v2"; -const workflowsExamples = [ - { icon: Icon.FiMail, text: "Send email reminder 24 hours before event starts to host" }, - { icon: Icon.FiSmartphone, text: "Send SMS reminder 1 hour before event starts to host" }, - { icon: Icon.FiMail, text: "Send custom email when event is cancelled to host" }, - { icon: Icon.FiMail, text: "Send email reminder 24 hours before event starts to attendee" }, - { icon: Icon.FiSmartphone, text: "Send SMS reminder 1 hour before event starts to attendee" }, - { icon: Icon.FiSmartphone, text: "Send custom SMS when event is rescheduled to attendee" }, -]; - type WorkflowExampleType = { Icon: FeatherIcon; text: string; @@ -23,15 +15,15 @@ function WorkflowExample(props: WorkflowExampleType) { const { Icon, text } = props; return ( -