Skip to content

Scheduling infrastructure for absolutely everyone.

fix: remove i18n from title and description (#4354)

Udit Takkarb4571259155e
diff --git a/apps/web/pages/v2/settings/admin/apps.tsx b/apps/web/pages/v2/settings/admin/apps.tsx
index e7278c8658b..c0c9422d29e 100644
--- a/apps/web/pages/v2/settings/admin/apps.tsx
+++ b/apps/web/pages/v2/settings/admin/apps.tsx
@@ -4,7 +4,7 @@ import { getLayout } from "@calcom/ui/v2/core/layouts/AdminLayout";
function AdminAppsView() {
return (
<>
- <Meta title="apps" description="apps_description" />
+ <Meta title="Apps" description="apps_description" />
<h1>App listing</h1>
</>
);
diff --git a/apps/web/pages/v2/settings/admin/impersonation.tsx b/apps/web/pages/v2/settings/admin/impersonation.tsx
index e9263ffc8db..b320a355101 100644
--- a/apps/web/pages/v2/settings/admin/impersonation.tsx
+++ b/apps/web/pages/v2/settings/admin/impersonation.tsx
@@ -12,7 +12,7 @@ function AdminView() {
return (
<>
- <Meta title="admin" description="impersonation" />
+ <Meta title="Admin" description="Impersonation" />
<form
className="mb-6 w-full sm:w-1/2"
onSubmit={(e) => {
diff --git a/apps/web/pages/v2/settings/admin/index.tsx b/apps/web/pages/v2/settings/admin/index.tsx
index afd4b53888e..43622a44641 100644
--- a/apps/web/pages/v2/settings/admin/index.tsx
+++ b/apps/web/pages/v2/settings/admin/index.tsx
@@ -4,7 +4,7 @@ import { getLayout } from "@calcom/ui/v2/core/layouts/AdminLayout";
function AdminAppsView() {
return (
<>
- <Meta title="admin" description="admin_description" />
+ <Meta title="Admin" description="admin_description" />
<h1>Admin index</h1>
</>
);
diff --git a/apps/web/pages/v2/settings/admin/users.tsx b/apps/web/pages/v2/settings/admin/users.tsx
index bc6e18845d5..e47a3097522 100644
--- a/apps/web/pages/v2/settings/admin/users.tsx
+++ b/apps/web/pages/v2/settings/admin/users.tsx
@@ -4,7 +4,7 @@ import { getLayout } from "@calcom/ui/v2/core/layouts/AdminLayout";
function AdminUsersView() {
return (
<>
- <Meta title="users" description="users_description" />
+ <Meta title="Users" description="users_description" />
<h1>Users listing</h1>
</>
);
diff --git a/apps/web/pages/v2/settings/my-account/appearance.tsx b/apps/web/pages/v2/settings/my-account/appearance.tsx
index 011fe61d4aa..3b036d1b361 100644
--- a/apps/web/pages/v2/settings/my-account/appearance.tsx
+++ b/apps/web/pages/v2/settings/my-account/appearance.tsx
@@ -42,7 +42,7 @@ const AppearanceView = (props: inferSSRProps<typeof getServerSideProps>) => {
theme: values.theme || null,
});
}}>
- <Meta title="appearance" description="appearance_description" />
+ <Meta title="Appearance" description="Manage settings for your booking appearance" />
<div className="mb-6 flex items-center text-sm">
<div>
<p className="font-semibold">{t("theme")}</p>
diff --git a/apps/web/pages/v2/settings/my-account/calendars.tsx b/apps/web/pages/v2/settings/my-account/calendars.tsx
index d9b37cd4316..3ee3739ba2f 100644
--- a/apps/web/pages/v2/settings/my-account/calendars.tsx
+++ b/apps/web/pages/v2/settings/my-account/calendars.tsx
@@ -34,7 +34,7 @@ const CalendarsView = () => {
return (
<>
- <Meta title="calendars" description="calendars_description" />
+ <Meta title="Calendars" description="Configure how your event types interact with your calendars" />
<QueryCell
query={query}
success={({ data }) => {
diff --git a/apps/web/pages/v2/settings/my-account/general.tsx b/apps/web/pages/v2/settings/my-account/general.tsx
index a12ebd13e13..5b49512e82b 100644
--- a/apps/web/pages/v2/settings/my-account/general.tsx
+++ b/apps/web/pages/v2/settings/my-account/general.tsx
@@ -106,7 +106,7 @@ const GeneralView = ({ localeProp, t, user }: GeneralViewProps) => {
weekStart: values.weekStart.value,
});
}}>
- <Meta title="general" description="general_description" />
+ <Meta title="General" description="Manage settings for your language and timezone" />
<Controller
name="locale"
render={({ field: { value, onChange } }) => (
diff --git a/apps/web/pages/v2/settings/my-account/profile.tsx b/apps/web/pages/v2/settings/my-account/profile.tsx
index 799fc0869d1..33518b9564e 100644
--- a/apps/web/pages/v2/settings/my-account/profile.tsx
+++ b/apps/web/pages/v2/settings/my-account/profile.tsx
@@ -114,7 +114,7 @@ const ProfileView = (props: inferSSRProps<typeof getServerSideProps>) => {
handleSubmit={(values) => {
mutation.mutate(values);
}}>
- <Meta title="profile" description="profile_description" />
+ <Meta title="Profile" description="Manage settings for your cal profile" />
<div className="flex items-center">
{/* TODO upload new avatar */}
<Controller
diff --git a/apps/web/pages/v2/settings/security/password.tsx b/apps/web/pages/v2/settings/security/password.tsx
index 3ab9fd99003..d8bcc6d1768 100644
--- a/apps/web/pages/v2/settings/security/password.tsx
+++ b/apps/web/pages/v2/settings/security/password.tsx
@@ -28,7 +28,7 @@ const PasswordView = () => {
return (
<>
- <Meta title="password" description="password_description" />
+ <Meta title="Password" description="Manage settings for your account passwords" />
{user && user.identityProvider !== IdentityProvider.CAL ? (
<div>
<div className="mt-6">
diff --git a/apps/web/pages/v2/settings/security/two-factor-auth.tsx b/apps/web/pages/v2/settings/security/two-factor-auth.tsx
index 321af236283..420c5483d4b 100644
--- a/apps/web/pages/v2/settings/security/two-factor-auth.tsx
+++ b/apps/web/pages/v2/settings/security/two-factor-auth.tsx
@@ -24,7 +24,7 @@ const TwoFactorAuthView = () => {
return (
<>
- <Meta title="2fa" description="2fa_description" />
+ <Meta title="Two-Factor Authentication" description="Manage settings for your account passwords" />
<div className="mt-6 flex items-start space-x-4">
<Switch
checked={user?.twoFactorEnabled}
diff --git a/packages/ui/v2/core/Meta.tsx b/packages/ui/v2/core/Meta.tsx
index f29056b2d50..ef0f6a2e803 100644
--- a/packages/ui/v2/core/Meta.tsx
+++ b/packages/ui/v2/core/Meta.tsx
@@ -51,8 +51,8 @@ export default function Meta({ title, description, backButton }: MetaType) {
return (
<Head>
- <title>{t(title)} | Cal.com</title>
- <meta name="description" content={t(description)} />
+ <title>{title} | Cal.com</title>
+ <meta name="description" content={description} />
</Head>
);
}