Skip to content

Commit 241579e

Browse files
authored
refactor: change title (#17623)
* chore: change title * chore: translation
1 parent 8ccad29 commit 241579e

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

apps/web/public/static/locales/en/common.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2047,7 +2047,7 @@
20472047
"looking_for_more_analytics": "Looking for more analytics?",
20482048
"looking_for_more_insights": "Looking for more Insights?",
20492049
"filters": "Filters",
2050-
"add_filter": "Add filter",
2050+
"add_filter": "Add filter",
20512051
"add_rule": "Add rule",
20522052
"add_rule_group": "Add rule group",
20532053
"remove_filters": "Clear all filters",
@@ -2215,7 +2215,7 @@
22152215
"add_times_to_your_email": "Select a few available times and embed them in your Email",
22162216
"select_time": "Select Time",
22172217
"select_date": "Select Date",
2218-
"connecting_you_to_someone": "We are connecting you to someone.",
2218+
"connecting_you_to_someone": "We are connecting you to someone from {{orgName}}.",
22192219
"please_do_not_close_this_tab": "Please do not close or refresh this page",
22202220
"see_all_available_times": "See all available times",
22212221
"org_team_names_example_1": "e.g. Marketing Team",

packages/features/bookings/Booker/Booker.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,7 @@ const BookerComponent = ({
201201
onGoBack={() => {
202202
onGoBackInstantMeeting();
203203
}}
204+
orgName={event.data?.entity?.name}
204205
/>
205206
)}
206207
</>
@@ -275,7 +276,7 @@ const BookerComponent = ({
275276
data-testid="booker-container"
276277
className={classNames(
277278
...getBookerSizeClassNames(layout, bookerState, hideEventTypeDetails),
278-
`bg-default dark:bg-muted grid max-w-full items-start sm:transition-[width] sm:duration-300 sm:motion-reduce:transition-none md:flex-row dark:[color-scheme:dark]`,
279+
`bg-default dark:bg-muted grid max-w-full items-start dark:[color-scheme:dark] sm:transition-[width] sm:duration-300 sm:motion-reduce:transition-none md:flex-row`,
279280
// We remove border only when the content covers entire viewport. Because in embed, it can almost never be the case that it covers entire viewport, we show the border there
280281
(layout === BookerLayouts.MONTH_VIEW || isEmbed) && "border-subtle rounded-md",
281282
!isEmbed && "sm:transition-[width] sm:duration-300",
@@ -411,7 +412,7 @@ const BookerComponent = ({
411412
layout === BookerLayouts.COLUMN_VIEW
412413
}
413414
className={classNames(
414-
"border-subtle rtl:border-default flex h-full w-full flex-col overflow-x-auto px-5 py-3 pb-0 ltr:md:border-l rtl:border-r",
415+
"border-subtle rtl:border-default flex h-full w-full flex-col overflow-x-auto px-5 py-3 pb-0 rtl:border-r ltr:md:border-l",
415416
layout === BookerLayouts.MONTH_VIEW &&
416417
"h-full overflow-hidden md:w-[var(--booker-timeslots-width)]",
417418
layout !== BookerLayouts.MONTH_VIEW && "sticky top-0"

packages/features/bookings/Booker/components/RedirectToInstantMeetingModal.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,13 @@ export const RedirectToInstantMeetingModal = ({
1717
onGoBack,
1818
expiryTime,
1919
instantVideoMeetingUrl,
20+
orgName,
2021
}: {
2122
bookingId: number;
2223
onGoBack: () => void;
2324
expiryTime?: Date;
2425
instantVideoMeetingUrl?: string;
26+
orgName?: string | null;
2527
}) => {
2628
const { t } = useLocale();
2729
const [timeRemaining, setTimeRemaining] = useState(calculateTimeRemaining());
@@ -93,7 +95,7 @@ export const RedirectToInstantMeetingModal = ({
9395
</div>
9496
) : (
9597
<div className="text-center">
96-
<p className="font-medium">{t("connecting_you_to_someone")}</p>
98+
<p className="font-medium">{t("connecting_you_to_someone", { orgName })}</p>
9799
<p className="font-bold">{t("please_do_not_close_this_tab")}</p>
98100
<p className="mt-2 font-medium">
99101
{t("please_schedule_future_call", {

0 commit comments

Comments
 (0)