diff options
author | 2019-09-09 17:21:29 +0000 | |
---|---|---|
committer | 2019-09-09 17:21:29 +0000 | |
commit | 81d56ed6e6396300a2764c1b16d5a5eb20763caf (patch) | |
tree | bd36839728662df35e58e11c2a5722f99ed2061d /src/lib | |
parent | Update CHANGELOG.md (diff) | |
download | ferdium-app-81d56ed6e6396300a2764c1b16d5a5eb20763caf.tar.gz ferdium-app-81d56ed6e6396300a2764c1b16d5a5eb20763caf.tar.zst ferdium-app-81d56ed6e6396300a2764c1b16d5a5eb20763caf.zip |
Add underline keyboard shortcuts (fix Alt+Shift key issue)
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/Menu.js | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/lib/Menu.js b/src/lib/Menu.js index 7937aede9..094caf058 100644 --- a/src/lib/Menu.js +++ b/src/lib/Menu.js | |||
@@ -399,7 +399,7 @@ const _templateFactory = intl => [ | |||
399 | 399 | ||
400 | const _titleBarTemplateFactory = intl => [ | 400 | const _titleBarTemplateFactory = intl => [ |
401 | { | 401 | { |
402 | label: intl.formatMessage(menuItems.edit), | 402 | label: '&' + intl.formatMessage(menuItems.edit), |
403 | submenu: [ | 403 | submenu: [ |
404 | { | 404 | { |
405 | label: intl.formatMessage(menuItems.undo), | 405 | label: intl.formatMessage(menuItems.undo), |
@@ -462,7 +462,7 @@ const _titleBarTemplateFactory = intl => [ | |||
462 | ], | 462 | ], |
463 | }, | 463 | }, |
464 | { | 464 | { |
465 | label: intl.formatMessage(menuItems.view), | 465 | label: '&' + intl.formatMessage(menuItems.view), |
466 | submenu: [ | 466 | submenu: [ |
467 | { | 467 | { |
468 | type: 'separator', | 468 | type: 'separator', |
@@ -511,16 +511,16 @@ const _titleBarTemplateFactory = intl => [ | |||
511 | ], | 511 | ], |
512 | }, | 512 | }, |
513 | { | 513 | { |
514 | label: intl.formatMessage(menuItems.services), | 514 | label: '&' + intl.formatMessage(menuItems.services), |
515 | submenu: [], | 515 | submenu: [], |
516 | }, | 516 | }, |
517 | { | 517 | { |
518 | label: intl.formatMessage(menuItems.workspaces), | 518 | label: '&' + intl.formatMessage(menuItems.workspaces), |
519 | submenu: [], | 519 | submenu: [], |
520 | visible: workspaceStore.isFeatureEnabled, | 520 | visible: workspaceStore.isFeatureEnabled, |
521 | }, | 521 | }, |
522 | { | 522 | { |
523 | label: intl.formatMessage(menuItems.window), | 523 | label: '&' + intl.formatMessage(menuItems.window), |
524 | submenu: [ | 524 | submenu: [ |
525 | { | 525 | { |
526 | label: intl.formatMessage(menuItems.minimize), | 526 | label: intl.formatMessage(menuItems.minimize), |
@@ -539,7 +539,7 @@ const _titleBarTemplateFactory = intl => [ | |||
539 | ], | 539 | ], |
540 | }, | 540 | }, |
541 | { | 541 | { |
542 | label: '?', | 542 | label: '&?', |
543 | submenu: [ | 543 | submenu: [ |
544 | { | 544 | { |
545 | label: intl.formatMessage(menuItems.learnMore), | 545 | label: intl.formatMessage(menuItems.learnMore), |
@@ -640,7 +640,7 @@ export default class FranzMenu { | |||
640 | }); | 640 | }); |
641 | 641 | ||
642 | tpl.unshift({ | 642 | tpl.unshift({ |
643 | label: isMac ? app.getName() : intl.formatMessage(menuItems.file), | 643 | label: isMac ? app.getName() : '&' + intl.formatMessage(menuItems.file), |
644 | submenu: [ | 644 | submenu: [ |
645 | { | 645 | { |
646 | label: intl.formatMessage(menuItems.about), | 646 | label: intl.formatMessage(menuItems.about), |