diff options
author | 2019-09-13 18:20:17 +0200 | |
---|---|---|
committer | 2019-09-13 18:20:17 +0200 | |
commit | 634f0c8b14f3c1286e3a1ebbd53e5fef93fe2f49 (patch) | |
tree | 53104785bb8c39247b9b925b1a7489c2e9fed24b /src/lib | |
parent | Merge branch 'master' of https://github.com/kytwb/ferdi (diff) | |
download | ferdium-app-634f0c8b14f3c1286e3a1ebbd53e5fef93fe2f49.tar.gz ferdium-app-634f0c8b14f3c1286e3a1ebbd53e5fef93fe2f49.tar.zst ferdium-app-634f0c8b14f3c1286e3a1ebbd53e5fef93fe2f49.zip |
Fix lintv5.3.2
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/Menu.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/Menu.js b/src/lib/Menu.js index b877c6555..faf4d1902 100644 --- a/src/lib/Menu.js +++ b/src/lib/Menu.js | |||
@@ -426,7 +426,7 @@ const _templateFactory = intl => [ | |||
426 | 426 | ||
427 | const _titleBarTemplateFactory = intl => [ | 427 | const _titleBarTemplateFactory = intl => [ |
428 | { | 428 | { |
429 | label: '&' + intl.formatMessage(menuItems.edit), | 429 | label: `&${intl.formatMessage(menuItems.edit)}`, |
430 | submenu: [ | 430 | submenu: [ |
431 | { | 431 | { |
432 | label: intl.formatMessage(menuItems.undo), | 432 | label: intl.formatMessage(menuItems.undo), |
@@ -489,7 +489,7 @@ const _titleBarTemplateFactory = intl => [ | |||
489 | ], | 489 | ], |
490 | }, | 490 | }, |
491 | { | 491 | { |
492 | label: '&' + intl.formatMessage(menuItems.view), | 492 | label: `&${intl.formatMessage(menuItems.view)}`, |
493 | submenu: [ | 493 | submenu: [ |
494 | { | 494 | { |
495 | type: 'separator', | 495 | type: 'separator', |
@@ -538,16 +538,16 @@ const _titleBarTemplateFactory = intl => [ | |||
538 | ], | 538 | ], |
539 | }, | 539 | }, |
540 | { | 540 | { |
541 | label: '&' + intl.formatMessage(menuItems.services), | 541 | label: `&${intl.formatMessage(menuItems.services)}`, |
542 | submenu: [], | 542 | submenu: [], |
543 | }, | 543 | }, |
544 | { | 544 | { |
545 | label: '&' + intl.formatMessage(menuItems.workspaces), | 545 | label: `&${intl.formatMessage(menuItems.workspaces)}`, |
546 | submenu: [], | 546 | submenu: [], |
547 | visible: workspaceStore.isFeatureEnabled, | 547 | visible: workspaceStore.isFeatureEnabled, |
548 | }, | 548 | }, |
549 | { | 549 | { |
550 | label: '&' + intl.formatMessage(menuItems.window), | 550 | label: `&${intl.formatMessage(menuItems.window)}`, |
551 | submenu: [ | 551 | submenu: [ |
552 | { | 552 | { |
553 | label: intl.formatMessage(menuItems.minimize), | 553 | label: intl.formatMessage(menuItems.minimize), |
@@ -678,7 +678,7 @@ export default class FranzMenu { | |||
678 | }); | 678 | }); |
679 | 679 | ||
680 | tpl.unshift({ | 680 | tpl.unshift({ |
681 | label: isMac ? app.getName() : '&' + intl.formatMessage(menuItems.file), | 681 | label: isMac ? app.getName() : `&${intl.formatMessage(menuItems.file)}`, |
682 | submenu: [ | 682 | submenu: [ |
683 | { | 683 | { |
684 | label: intl.formatMessage(menuItems.about), | 684 | label: intl.formatMessage(menuItems.about), |