Fix missing common.delete i18n key in settings page

Use both journal and common namespaces so t("common.delete") resolves.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Ullrich Schäfer 2026-03-29 10:16:41 +02:00
parent be5766fa50
commit 070a316164
No known key found for this signature in database
GPG key ID: A32FF691A0F752D9

View file

@ -54,7 +54,7 @@ function transportLabel(transports: string[] | null, t: (key: string) => string)
export default function Settings({ loaderData }: Route.ComponentProps) {
const { user, passkeys } = loaderData;
const { t } = useTranslation("journal");
const { t } = useTranslation(["journal", "common"]);
const profileFetcher = useFetcher();
const emailFetcher = useFetcher();
const deleteFetcher = useFetcher();