From c4b90181e04b049a791b9c53a417bdce8be2b48a Mon Sep 17 00:00:00 2001 From: Albrecht Degering Date: Tue, 21 Jul 2026 19:15:56 +0200 Subject: [PATCH] fix(webui): localize contextual Mail help --- webui/src/utils/helpContext.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webui/src/utils/helpContext.ts b/webui/src/utils/helpContext.ts index b6850f8..e8e4898 100644 --- a/webui/src/utils/helpContext.ts +++ b/webui/src/utils/helpContext.ts @@ -31,7 +31,7 @@ const topLevelContexts: Record> = { campaigns: { id: "campaigns.list", title: "i18n:govoplan-core.campaigns.01a23a28" }, templates: { id: "templates.list", title: "i18n:govoplan-core.templates.f25b700e" }, files: { id: "files.list", title: "i18n:govoplan-core.files.6ce6c512" }, - mail: { id: "mail.list", title: "Mail" }, + mail: { id: "mail.list", title: "i18n:govoplan-mail.mail.92379cbb" }, "address-book": { id: "address-book.list", title: "i18n:govoplan-core.address_book.f6327f59" }, reports: { id: "reports.list", title: "i18n:govoplan-core.reports.88bc3fe3" }, settings: { id: "app.settings", title: "i18n:govoplan-core.settings.c7f73bb5" }, @@ -45,7 +45,7 @@ export function helpContextForPathname(pathname: string, search = ""): HelpConte if (segments[0] === "settings") { const section = new URLSearchParams(search).get("section") || ""; if (section === "mail-profiles") { - return { id: "mail.profiles", title: "Mail profiles", route: `${route}${search}` }; + return { id: "mail.profiles", title: "i18n:govoplan-core.mail_profiles.8a8018b7", route: `${route}${search}` }; } }