diff options
Diffstat (limited to 'apps/web/app/settings/info')
| -rw-r--r-- | apps/web/app/settings/info/page.tsx | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/web/app/settings/info/page.tsx b/apps/web/app/settings/info/page.tsx index 96deab96..1807b538 100644 --- a/apps/web/app/settings/info/page.tsx +++ b/apps/web/app/settings/info/page.tsx @@ -1,7 +1,17 @@ +import type { Metadata } from "next"; import { ChangePassword } from "@/components/settings/ChangePassword"; import { DeleteAccount } from "@/components/settings/DeleteAccount"; import UserDetails from "@/components/settings/UserDetails"; import UserOptions from "@/components/settings/UserOptions"; +import { useTranslation } from "@/lib/i18n/server"; + +export async function generateMetadata(): Promise<Metadata> { + // oxlint-disable-next-line rules-of-hooks + const { t } = await useTranslation(); + return { + title: `${t("settings.info.user_info")} | Karakeep`, + }; +} export default async function InfoPage() { return ( |
