mirror of
https://github.com/bitwarden/desktop.git
synced 2024-11-28 12:35:40 +01:00
Update Help menu options (#1383)
This commit is contained in:
parent
c738366eef
commit
4ce5e5fbdc
@ -736,11 +736,11 @@
|
|||||||
"passwordGenerator": {
|
"passwordGenerator": {
|
||||||
"message": "Password Generator"
|
"message": "Password Generator"
|
||||||
},
|
},
|
||||||
"emailUs": {
|
"contactUs": {
|
||||||
"message": "Email Us"
|
"message": "Contact Us"
|
||||||
},
|
},
|
||||||
"visitOurWebsite": {
|
"getHelp": {
|
||||||
"message": "Visit Our Website"
|
"message": "Get Help"
|
||||||
},
|
},
|
||||||
"fileBugReport": {
|
"fileBugReport": {
|
||||||
"message": "File a Bug Report"
|
"message": "File a Bug Report"
|
||||||
|
@ -15,8 +15,8 @@ export class HelpMenu implements IMenubarMenu {
|
|||||||
|
|
||||||
get items(): MenuItemConstructorOptions[] {
|
get items(): MenuItemConstructorOptions[] {
|
||||||
const items = [
|
const items = [
|
||||||
this.emailUs,
|
this.getHelp,
|
||||||
this.visitOurWebsite,
|
this.contactUs,
|
||||||
this.fileBugReport,
|
this.fileBugReport,
|
||||||
this.legal,
|
this.legal,
|
||||||
this.separator,
|
this.separator,
|
||||||
@ -44,19 +44,19 @@ export class HelpMenu implements IMenubarMenu {
|
|||||||
this._aboutMenu = aboutMenu;
|
this._aboutMenu = aboutMenu;
|
||||||
}
|
}
|
||||||
|
|
||||||
private get emailUs(): MenuItemConstructorOptions {
|
private get contactUs(): MenuItemConstructorOptions {
|
||||||
return {
|
return {
|
||||||
id: "emailUs",
|
id: "contactUs",
|
||||||
label: this.localize("emailUs"),
|
label: this.localize("contactUs"),
|
||||||
click: () => shell.openExternal("mailTo:hello@bitwarden.com"),
|
click: () => shell.openExternal("https://bitwarden.com/contact"),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
private get visitOurWebsite(): MenuItemConstructorOptions {
|
private get getHelp(): MenuItemConstructorOptions {
|
||||||
return {
|
return {
|
||||||
id: "visitOurWebsite",
|
id: "getHelp",
|
||||||
label: this.localize("visitOurWebsite"),
|
label: this.localize("getHelp"),
|
||||||
click: () => shell.openExternal("https://bitwarden.com/contact"),
|
click: () => shell.openExternal("https://bitwarden.com/help"),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user