1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-23 11:56:00 +01:00

hideToMenuBar

This commit is contained in:
Kyle Spearrin 2019-06-01 22:12:27 -04:00
parent 4eb4b40e63
commit 50d2bab81b
2 changed files with 4 additions and 1 deletions

View File

@ -1227,5 +1227,8 @@
},
"enableMenuBarDesc": {
"message": "Always show an icon in the menu bar."
},
"hideToMenuBar": {
"message": "Hide to Menu Bar"
}
}

View File

@ -442,7 +442,7 @@ export class MenuMain extends BaseMenu {
}
(template[template.length - 2].submenu as MenuItemConstructorOptions[]).splice(1, 0, {
label: this.main.i18nService.t('hideToTray'),
label: this.main.i18nService.t(process.platform === 'darwin' ? 'hideToMenuBar' : 'hideToTray'),
click: () => this.main.messagingService.send('hideToTray'),
accelerator: 'CmdOrCtrl+Shift+M',
});