1
0
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:
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": { "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"

View File

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