From fa9a8cca899ada418cf0f72362cb9833fe45a37f Mon Sep 17 00:00:00 2001 From: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com> Date: Thu, 10 Aug 2023 01:27:22 +0530 Subject: [PATCH] fix: add support email (#10605) --- apps/web/pages/500.tsx | 13 +++++-------- apps/web/public/static/locales/en/common.json | 2 ++ 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/apps/web/pages/500.tsx b/apps/web/pages/500.tsx index eb73583245..a7ba940d2f 100644 --- a/apps/web/pages/500.tsx +++ b/apps/web/pages/500.tsx @@ -1,7 +1,7 @@ import Head from "next/head"; import { useSearchParams } from "next/navigation"; -import { APP_NAME, WEBSITE_URL } from "@calcom/lib/constants"; +import { APP_NAME } from "@calcom/lib/constants"; import { useLocale } from "@calcom/lib/hooks/useLocale"; import { Button, showToast } from "@calcom/ui"; import { Copy } from "@calcom/ui/components/icon"; @@ -21,14 +21,11 @@ export default function Error500() {

500

It's not you, it's us.

-

- Something went wrong on our end. Get in touch with our support team, and we’ll get it fixed right - away for you. -

+

{t("something_went_wrong_on_our_end")}

{searchParams?.get("error") && (

- Please provide the following text when contacting support to better help you: + {t("please_provide_following_text_to_suppport")}:

               {searchParams?.get("error")}
@@ -46,9 +43,9 @@ export default function Error500() {
             
)} - +
diff --git a/apps/web/public/static/locales/en/common.json b/apps/web/public/static/locales/en/common.json index 3e02c52e1b..c4a0f6a904 100644 --- a/apps/web/public/static/locales/en/common.json +++ b/apps/web/public/static/locales/en/common.json @@ -1850,6 +1850,8 @@ "insights_no_data_found_for_filter": "No data found for the selected filter or selected dates.", "acknowledge_booking_no_show_fee": "I acknowledge that if I do not attend this event that a {{amount, currency}} no show fee will be applied to my card.", "card_details": "Card details", + "something_went_wrong_on_our_end":"Something went wrong on our end. Get in touch with our support team, and we’ll get it fixed right away for you.", + "please_provide_following_text_to_suppport":"Please provide the following text when contacting support to better help you", "seats_and_no_show_fee_error": "Currently cannot enable seats and charge a no-show fee", "complete_your_booking": "Complete your booking", "complete_your_booking_subject": "Complete your booking: {{title}} on {{date}}",