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": {
|
||||
"message": "Password Generator"
|
||||
},
|
||||
"emailUs": {
|
||||
"message": "Email Us"
|
||||
"contactUs": {
|
||||
"message": "Contact Us"
|
||||
},
|
||||
"visitOurWebsite": {
|
||||
"message": "Visit Our Website"
|
||||
"getHelp": {
|
||||
"message": "Get Help"
|
||||
},
|
||||
"fileBugReport": {
|
||||
"message": "File a Bug Report"
|
||||
|
@ -15,8 +15,8 @@ export class HelpMenu implements IMenubarMenu {
|
||||
|
||||
get items(): MenuItemConstructorOptions[] {
|
||||
const items = [
|
||||
this.emailUs,
|
||||
this.visitOurWebsite,
|
||||
this.getHelp,
|
||||
this.contactUs,
|
||||
this.fileBugReport,
|
||||
this.legal,
|
||||
this.separator,
|
||||
@ -44,19 +44,19 @@ export class HelpMenu implements IMenubarMenu {
|
||||
this._aboutMenu = aboutMenu;
|
||||
}
|
||||
|
||||
private get emailUs(): MenuItemConstructorOptions {
|
||||
private get contactUs(): MenuItemConstructorOptions {
|
||||
return {
|
||||
id: "emailUs",
|
||||
label: this.localize("emailUs"),
|
||||
click: () => shell.openExternal("mailTo:hello@bitwarden.com"),
|
||||
id: "contactUs",
|
||||
label: this.localize("contactUs"),
|
||||
click: () => shell.openExternal("https://bitwarden.com/contact"),
|
||||
};
|
||||
}
|
||||
|
||||
private get visitOurWebsite(): MenuItemConstructorOptions {
|
||||
private get getHelp(): MenuItemConstructorOptions {
|
||||
return {
|
||||
id: "visitOurWebsite",
|
||||
label: this.localize("visitOurWebsite"),
|
||||
click: () => shell.openExternal("https://bitwarden.com/contact"),
|
||||
id: "getHelp",
|
||||
label: this.localize("getHelp"),
|
||||
click: () => shell.openExternal("https://bitwarden.com/help"),
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user