Skip to content

Scheduling infrastructure for absolutely everyone.

fix: add support email (#10605)

Udit Takkarfa9a8cca899a
diff --git a/apps/web/pages/500.tsx b/apps/web/pages/500.tsx
index eb73583245d..a7ba940d2f6 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() {
<div className="rtl: bg-default m-auto rounded-md p-10 text-right ltr:text-left">
<h1 className="font-cal text-emphasis text-6xl">500</h1>
<h2 className="text-emphasis mt-6 text-2xl font-medium">It&apos;s not you, it&apos;s us.</h2>
- <p className="text-default mb-6 mt-4 max-w-2xl text-sm">
- Something went wrong on our end. Get in touch with our support team, and we’ll get it fixed right
- away for you.
- </p>
+ <p className="text-default mb-6 mt-4 max-w-2xl text-sm">{t("something_went_wrong_on_our_end")}</p>
{searchParams?.get("error") && (
<div className="mb-8 flex flex-col">
<p className="text-default mb-4 max-w-2xl text-sm">
- Please provide the following text when contacting support to better help you:
+ {t("please_provide_following_text_to_suppport")}:
</p>
<pre className="bg-emphasis text-emphasis w-full max-w-2xl whitespace-normal break-words rounded-md p-4">
{searchParams?.get("error")}
@@ -46,9 +43,9 @@ export default function Error500() {
</pre>
</div>
)}
- <Button href={`${WEBSITE_URL}/support`}>{t("contact_support")}</Button>
+ <Button href="mailto:[email protected]">{t("contact_support")}</Button>
<Button color="secondary" href="javascript:history.back()" className="ml-2">
- Go back
+ {t("go_back")}
</Button>
</div>
</div>
diff --git a/apps/web/public/static/locales/en/common.json b/apps/web/public/static/locales/en/common.json
index 3e02c52e1b8..c4a0f6a9045 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}}",