1
0
mirror of https://github.com/bitwarden/desktop.git synced 2024-11-27 12:26:38 +01:00

Update Help menu options (#1383)

This commit is contained in:
Thomas Rittson 2022-02-28 20:23:14 +10:00 committed by GitHub
parent c738366eef
commit 4ce5e5fbdc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 14 deletions

View File

@ -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"

View File

@ -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"),
};
}