Skip to content

Scheduling infrastructure for absolutely everyone.

fix: correct message and translation key (#15657)

Rushikesh5b2688dda09b
diff --git a/apps/web/components/eventtype/EventSetupTab.tsx b/apps/web/components/eventtype/EventSetupTab.tsx
index 90f70015020..f8bd97235f3 100644
--- a/apps/web/components/eventtype/EventSetupTab.tsx
+++ b/apps/web/components/eventtype/EventSetupTab.tsx
@@ -417,17 +417,16 @@ export const EventSetupTab = (
<div className="mr-1.5 h-3 w-3">
<Icon name="check" className="h-3 w-3" />
</div>
- <Trans i18nKey="event_type_requres_google_cal">
- <p>
+ <p className="text-default text-sm">
+ <Trans i18nKey="event_type_requires_google_calendar">
The “Add to calendar” for this event type needs to be a Google Calendar for Meet to work.
- Change it{" "}
- <Link
- href={`${WEBAPP_URL}/event-types/${formMethods.getValues("id")}?tabName=advanced`}
- className="underline">
- here.
- </Link>{" "}
- </p>
- </Trans>
+ Connect it
+ <Link className="cursor-pointer text-blue-500 underline" href="/apps/google-calendar">
+ here
+ </Link>
+ .
+ </Trans>
+ </p>
</div>
)}
{isChildrenManagedEventType && !locationAvailable && locationDetails && (
diff --git a/apps/web/public/static/locales/en/common.json b/apps/web/public/static/locales/en/common.json
index f04598e37f8..470d271405f 100644
--- a/apps/web/public/static/locales/en/common.json
+++ b/apps/web/public/static/locales/en/common.json
@@ -1751,6 +1751,7 @@
"new_attendee": "New Attendee",
"awaiting_approval": "Awaiting Approval",
"requires_google_calendar": "This app requires a Google Calendar connection",
+ "event_type_requires_google_calendar": "The “Add to calendar” for this event type needs to be a Google Calendar for Meet to work. Connect it <1>here</1>.",
"connected_google_calendar": "You have connected a Google Calendar account.",
"using_meet_requires_calendar": "Using Google Meet requires a connected Google Calendar",
"continue_to_install_google_calendar": "Continue to install Google Calendar",