fix: replace hard-coded strings with translation keys for internationalization (#20672)
* fix: replace hard-coded strings with translation keys for internationalization Co-Authored-By: [email protected] <[email protected]> * fix: replace loading text with translation key Co-Authored-By: [email protected] <[email protected]> * fix: add translation keys for platform plans view Co-Authored-By: [email protected] <[email protected]> * fix: add translation keys for oauth view Co-Authored-By: [email protected] <[email protected]> * fix: add translation keys for users table Co-Authored-By: [email protected] <[email protected]> * fix: add translation keys for oauth view toast messages Co-Authored-By: [email protected] <[email protected]> * fix: add translation keys for verify view Co-Authored-By: [email protected] <[email protected]> * fix: update sendVerificationLogin to use t function Co-Authored-By: [email protected] <[email protected]> * fix: remove duplicate translation keys in common.json Co-Authored-By: [email protected] <[email protected]> * fix: add missing verification_email_sent translation key Co-Authored-By: [email protected] <[email protected]> --------- Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: [email protected] <[email protected]>
This commit is contained in:
1 parent
027cad2cfd
commit
4383d23d4c
13 files changed
+93
-57
No files matched your search
@@ -1,18 +1,17 @@
|
||||
"use client";
|
||||
|
||||
import { WEBSITE_URL } from "@calcom/lib/constants";
|
||||
import { useLocale } from "@calcom/lib/hooks/useLocale";
|
||||
import { Button } from "@calcom/ui/components/button";
|
||||
|
||||
export default function MaintenancePage() {
|
||||
const { t } = useLocale();
|
||||
return (
|
||||
<div className="bg-subtle flex h-screen">
|
||||
<div className="bg-default m-auto rounded-md p-10 text-right ltr:text-left">
|
||||
<h1 className="text-emphasis text-2xl font-medium">Down for maintenance</h1>
|
||||
<p className="text-default mb-6 mt-4 max-w-2xl text-sm">
|
||||
The Cal.com team are performing scheduled maintenance. If you have any questions, please contact
|
||||
support.
|
||||
</p>
|
||||
<Button href={`${WEBSITE_URL}/support`}>Contact Support</Button>
|
||||
<h1 className="text-emphasis text-2xl font-medium">{t("down_for_maintenance")}</h1>
|
||||
<p className="text-default mb-6 mt-4 max-w-2xl text-sm">{t("maintenance_message")}</p>
|
||||
<Button href={`${WEBSITE_URL}/support`}>{t("contact_support")}</Button>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user