Commit a6e1752 1 parent 3d2006c commit a6e1752 Copy full SHA for a6e1752
File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 24
24
"Minimize" : " Minimize" ,
25
25
"Close" : " Close" ,
26
26
"Help" : " Help" ,
27
- "Element Help" : " Element Help" ,
27
+ "%(brand)s Help" : " %(brand)s Help" ,
28
28
"About" : " About" ,
29
29
"Services" : " Services" ,
30
30
"Hide" : " Hide" ,
Original file line number Diff line number Diff line change @@ -137,9 +137,10 @@ export function buildMenuTemplate(): Menu {
137
137
role : "help" ,
138
138
submenu : [
139
139
{
140
- label : _t ( "Element Help" ) ,
140
+ // XXX: vectorConfig won't have defaults applied to it so we need to duplicate them here
141
+ label : _t ( "%(brand)s Help" , { brand : global . vectorConfig ?. brand || "Element" } ) ,
141
142
click ( ) : void {
142
- shell . openExternal ( "https://element.io/help" ) ;
143
+ shell . openExternal ( global . vectorConfig ?. help_url || "https://element.io/help" ) ;
143
144
} ,
144
145
} ,
145
146
] ,
You can’t perform that action at this time.
0 commit comments