diff --git a/src/i18n/strings/en_EN.json b/src/i18n/strings/en_EN.json index 182b06e..126c0f1 100644 --- a/src/i18n/strings/en_EN.json +++ b/src/i18n/strings/en_EN.json @@ -24,7 +24,7 @@ "Minimize": "Minimize", "Close": "Close", "Help": "Help", - "Element Help": "Element Help", + "%(brand)s Help": "%(brand)s Help", "About": "About", "Services": "Services", "Hide": "Hide", diff --git a/src/vectormenu.ts b/src/vectormenu.ts index d16bfe8..25782d2 100644 --- a/src/vectormenu.ts +++ b/src/vectormenu.ts @@ -137,9 +137,10 @@ export function buildMenuTemplate(): Menu { role: "help", submenu: [ { - label: _t("Element Help"), + // XXX: vectorConfig won't have defaults applied to it so we need to duplicate them here + label: _t("%(brand)s Help", { brand: global.vectorConfig?.brand || "Element" }), click(): void { - shell.openExternal("https://element.io/help"); + shell.openExternal(global.vectorConfig?.help_url || "https://element.io/help"); }, }, ],