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

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: Hariom Balhara <hariombalhara@gmail.com>
pull/4448/head^2
Udit Takkar 2022-09-14 15:12:48 +05:30 committed by GitHub
parent 01e0fed3c5
commit b457125915
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 12 additions and 12 deletions

View File

@ -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>
</>
);

View File

@ -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) => {

View File

@ -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>
</>
);

View File

@ -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>
</>
);

View File

@ -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>

View File

@ -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 }) => {

View File

@ -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 } }) => (

View File

@ -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

View File

@ -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">

View File

@ -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}

View File

@ -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>
);
}