fix(webui): localize contextual Mail help
This commit is contained in:
@@ -31,7 +31,7 @@ const topLevelContexts: Record<string, Omit<HelpContext, "route">> = {
|
|||||||
campaigns: { id: "campaigns.list", title: "i18n:govoplan-core.campaigns.01a23a28" },
|
campaigns: { id: "campaigns.list", title: "i18n:govoplan-core.campaigns.01a23a28" },
|
||||||
templates: { id: "templates.list", title: "i18n:govoplan-core.templates.f25b700e" },
|
templates: { id: "templates.list", title: "i18n:govoplan-core.templates.f25b700e" },
|
||||||
files: { id: "files.list", title: "i18n:govoplan-core.files.6ce6c512" },
|
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" },
|
"address-book": { id: "address-book.list", title: "i18n:govoplan-core.address_book.f6327f59" },
|
||||||
reports: { id: "reports.list", title: "i18n:govoplan-core.reports.88bc3fe3" },
|
reports: { id: "reports.list", title: "i18n:govoplan-core.reports.88bc3fe3" },
|
||||||
settings: { id: "app.settings", title: "i18n:govoplan-core.settings.c7f73bb5" },
|
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") {
|
if (segments[0] === "settings") {
|
||||||
const section = new URLSearchParams(search).get("section") || "";
|
const section = new URLSearchParams(search).get("section") || "";
|
||||||
if (section === "mail-profiles") {
|
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}` };
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user