mirror of
https://github.com/CringeStudios/element-desktop.git
synced 2025-01-18 23:44:59 +01:00
Use brand and help url from config (#1008)
This commit is contained in:
parent
3d2006ca50
commit
a6e175268e
@ -24,7 +24,7 @@
|
|||||||
"Minimize": "Minimize",
|
"Minimize": "Minimize",
|
||||||
"Close": "Close",
|
"Close": "Close",
|
||||||
"Help": "Help",
|
"Help": "Help",
|
||||||
"Element Help": "Element Help",
|
"%(brand)s Help": "%(brand)s Help",
|
||||||
"About": "About",
|
"About": "About",
|
||||||
"Services": "Services",
|
"Services": "Services",
|
||||||
"Hide": "Hide",
|
"Hide": "Hide",
|
||||||
|
@ -137,9 +137,10 @@ export function buildMenuTemplate(): Menu {
|
|||||||
role: "help",
|
role: "help",
|
||||||
submenu: [
|
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 {
|
click(): void {
|
||||||
shell.openExternal("https://element.io/help");
|
shell.openExternal(global.vectorConfig?.help_url || "https://element.io/help");
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
Loading…
Reference in New Issue
Block a user