diff options
author | 2019-03-12 21:36:10 +0100 | |
---|---|---|
committer | 2019-03-12 21:37:33 +0100 | |
commit | 6fb07bcb716af76ec2e96345f37624d12d0d1af0 (patch) | |
tree | 276191a782dc1d44f78331e548e43ff71758baca /src/lib | |
parent | refactor server api even more (diff) | |
download | ferdium-app-6fb07bcb716af76ec2e96345f37624d12d0d1af0.tar.gz ferdium-app-6fb07bcb716af76ec2e96345f37624d12d0d1af0.tar.zst ferdium-app-6fb07bcb716af76ec2e96345f37624d12d0d1af0.zip |
implements basic release announcement feature
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/Menu.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/lib/Menu.js b/src/lib/Menu.js index 7a60c448f..70f3b2877 100644 --- a/src/lib/Menu.js +++ b/src/lib/Menu.js | |||
@@ -155,6 +155,10 @@ const menuItems = defineMessages({ | |||
155 | id: 'menu.app.about', | 155 | id: 'menu.app.about', |
156 | defaultMessage: '!!!About Franz', | 156 | defaultMessage: '!!!About Franz', |
157 | }, | 157 | }, |
158 | announcement: { | ||
159 | id: 'menu.app.announcement', | ||
160 | defaultMessage: '!!!What\'s new in Franz?', | ||
161 | }, | ||
158 | settings: { | 162 | settings: { |
159 | id: 'menu.app.settings', | 163 | id: 'menu.app.settings', |
160 | defaultMessage: '!!!Settings', | 164 | defaultMessage: '!!!Settings', |
@@ -590,6 +594,12 @@ export default class FranzMenu { | |||
590 | role: 'about', | 594 | role: 'about', |
591 | }, | 595 | }, |
592 | { | 596 | { |
597 | label: intl.formatMessage(menuItems.announcement), | ||
598 | click: () => { | ||
599 | this.actions.announcements.show(); | ||
600 | }, | ||
601 | }, | ||
602 | { | ||
593 | type: 'separator', | 603 | type: 'separator', |
594 | }, | 604 | }, |
595 | { | 605 | { |