fix: correct message and translation key (#15657)
* fix event_type_requres_google_cal to requires_google_calendar * revert the changes * redirect to google calendar page * add translation key for "requires_google_calendar_to_install" * use key and add correct message * use key * fix * revert * correct message * refactor event type steup tab UI * small fix --------- Co-authored-by: Anik Dhabal Babu <81948346+anikdhabal@users.noreply.github.com>
This commit is contained in:
co-authored by
Anik Dhabal Babu
parent
884ccc9b48
commit
5b2688dda0
@@ -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 && (
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user