change new item shortcuts, resolves #52

This commit is contained in:
Kyle Spearrin 2018-02-28 20:56:07 -05:00
parent cd80d68a80
commit cd904cbb82
3 changed files with 6 additions and 13 deletions

2
jslib

@ -1 +1 @@
Subproject commit e3b3e444dbff7e4541fa5367ee26bc7ed4d73b26 Subproject commit 6aef18ee7f54fc5cfb042206eb27e76f2458b60a

View File

@ -907,9 +907,6 @@
"reload": { "reload": {
"message": "Reload" "message": "Reload"
}, },
"forceReload": {
"message": "Force Reload"
},
"toggleDevTools": { "toggleDevTools": {
"message": "Toggle Developer Tools" "message": "Toggle Developer Tools"
}, },

View File

@ -254,22 +254,22 @@ export class MenuMain {
{ {
label: this.main.i18nService.t('typeLogin'), label: this.main.i18nService.t('typeLogin'),
click: () => this.main.messagingService.send('newLogin'), click: () => this.main.messagingService.send('newLogin'),
accelerator: 'Alt+L', accelerator: 'CmdOrCtrl+Shift+L',
}, },
{ {
label: this.main.i18nService.t('typeCard'), label: this.main.i18nService.t('typeCard'),
click: () => this.main.messagingService.send('newCard'), click: () => this.main.messagingService.send('newCard'),
accelerator: 'Alt+C', accelerator: 'CmdOrCtrl+Shift+C',
}, },
{ {
label: this.main.i18nService.t('typeIdentity'), label: this.main.i18nService.t('typeIdentity'),
click: () => this.main.messagingService.send('newIdentity'), click: () => this.main.messagingService.send('newIdentity'),
accelerator: 'Alt+I', accelerator: 'CmdOrCtrl+Shift+I',
}, },
{ {
label: this.main.i18nService.t('typeSecureNote'), label: this.main.i18nService.t('typeSecureNote'),
click: () => this.main.messagingService.send('newSecureNote'), click: () => this.main.messagingService.send('newSecureNote'),
accelerator: 'Alt+S', accelerator: 'CmdOrCtrl+Shift+S',
}, },
], ],
}, },
@ -359,16 +359,12 @@ export class MenuMain {
{ type: 'separator' }, { type: 'separator' },
{ {
label: this.main.i18nService.t('reload'), label: this.main.i18nService.t('reload'),
role: 'reload',
accelerator: 'Alt+Shift+R',
},
{
label: this.main.i18nService.t('forceReload'),
role: 'forcereload', role: 'forcereload',
}, },
{ {
label: this.main.i18nService.t('toggleDevTools'), label: this.main.i18nService.t('toggleDevTools'),
role: 'toggledevtools', role: 'toggledevtools',
accelerator: 'F12',
}, },
], ],
}, },