Follow HIG: use ellipsis for Preferences menu item, add app name to About menu item

Signed-off-by: Aaron Raimist <aaron@raim.ist>
This commit is contained in:
Aaron Raimist 2021-06-03 23:07:19 -05:00
parent 5055ad0aec
commit b7e4e9e075
No known key found for this signature in database
GPG Key ID: 37419210002890EF

View File

@ -132,11 +132,11 @@ function buildMenuTemplate() {
submenu: [
{
role: 'about',
label: _t('About'),
label: _t('About') + ' ' + app.name,
},
{ type: 'separator' },
{
label: _t('Preferences'),
label: _t('Preferences') + '…',
accelerator: 'Command+,', // Mac-only accelerator
click() { global.mainWindow.webContents.send('preferences'); },
},