diff --git a/apps/web/pages/video/[uid].tsx b/apps/web/pages/video/[uid].tsx index 9f6f67337f..d2284319dd 100644 --- a/apps/web/pages/video/[uid].tsx +++ b/apps/web/pages/video/[uid].tsx @@ -93,6 +93,7 @@ interface ProgressBarProps { } function ProgressBar(props: ProgressBarProps) { + const { t } = useLocale(); const { startTime, endTime } = props; const currentTime = dayjs().second(0).millisecond(0); const startingTime = dayjs(startTime).second(0).millisecond(0); @@ -111,7 +112,9 @@ function ProgressBar(props: ProgressBarProps) { const percentage = prev * (100 / startDuration); return (
-

{duration} minutes

+

+ {duration} {t("minutes")} +

@@ -127,6 +130,7 @@ interface VideoMeetingInfo { export function VideoMeetingInfo(props: VideoMeetingInfo) { const [open, setOpen] = useState(false); const { booking } = props; + const { t } = useLocale(); const endTime = new Date(booking.endTime); const startTime = new Date(booking.startTime); @@ -139,25 +143,25 @@ export function VideoMeetingInfo(props: VideoMeetingInfo) { open ? "translate-x-0" : "-translate-x-[232px]" )}>
-

What:

+

{t("what")}:

{booking.title}

-

Invitee Time Zone:

+

{t("invitee_timezone")}:

{booking.user?.timeZone}

-

When:

+

{t("when")}:

{formatToLocalizedDate(startTime)}
{formatToLocalizedTime(startTime)}

-

Time left

+

{t("time_left")}

-

Who:

+

{t("who")}:

- {booking?.user?.name} - Organizer{" "} + {booking?.user?.name} - {t("organizer")}:{" "} {booking?.user?.email}

@@ -169,12 +173,16 @@ export function VideoMeetingInfo(props: VideoMeetingInfo) { )) : null} -

Description

+ {booking.description && ( + <> +

{t("description")}:

-
+
+ + )}