diff --git a/messages/en.json b/messages/en.json index a35721d..04405c0 100644 --- a/messages/en.json +++ b/messages/en.json @@ -1130,6 +1130,8 @@ } }, "Settings": { + "pageTitle": "Settings", + "pageDesc": "Everything in one place — your account and your workspace. Pick a section to manage it.", "overview": { "notSetup": "Not set up yet", "connected": "Connected", diff --git a/src/app/(dashboard)/settings/page.tsx b/src/app/(dashboard)/settings/page.tsx index 9f6971d..2954666 100644 --- a/src/app/(dashboard)/settings/page.tsx +++ b/src/app/(dashboard)/settings/page.tsx @@ -2,6 +2,7 @@ import { useMemo, type ReactNode } from 'react'; import { useRouter, useSearchParams } from 'next/navigation'; +import { useTranslations } from 'next-intl'; import { useAuth } from '@/hooks/use-auth'; import { useTheme } from '@/hooks/use-theme'; @@ -26,6 +27,7 @@ export default function SettingsPage() { const searchParams = useSearchParams(); const { defaultCurrency } = useAuth(); const { mode } = useTheme(); + const t = useTranslations('Settings'); // The URL (`?tab=`) is the single source of truth for the active // section — deep-linkable, and it keeps the existing links in the @@ -67,11 +69,10 @@ export default function SettingsPage() {

- Settings + {t('pageTitle')}

- Everything in one place — your account and your workspace. Pick a - section to manage it. + {t('pageDesc')}