aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLibravatar Dominik Guzei <dominik.guzei@gmail.com>2019-04-16 16:26:50 +0200
committerLibravatar Dominik Guzei <dominik.guzei@gmail.com>2019-04-16 16:26:50 +0200
commit8f0a4518ea896e2c55e9a52306203ea4840e055b (patch)
tree086500954d54231eb3dc5841e55166f9d525b5af /src
parentRun tests (diff)
downloadferdium-app-8f0a4518ea896e2c55e9a52306203ea4840e055b.tar.gz
ferdium-app-8f0a4518ea896e2c55e9a52306203ea4840e055b.tar.zst
ferdium-app-8f0a4518ea896e2c55e9a52306203ea4840e055b.zip
hide news menu item when there are no news
Diffstat (limited to 'src')
-rw-r--r--src/features/announcements/store.js7
-rw-r--r--src/i18n/locales/defaultMessages.json212
-rw-r--r--src/i18n/messages/src/lib/Menu.json212
-rw-r--r--src/lib/Menu.js2
4 files changed, 221 insertions, 212 deletions
diff --git a/src/features/announcements/store.js b/src/features/announcements/store.js
index aa98d3bd1..7ecc0e346 100644
--- a/src/features/announcements/store.js
+++ b/src/features/announcements/store.js
@@ -34,6 +34,12 @@ export class AnnouncementsStore extends FeatureStore {
34 return getAnnouncementRequest.result; 34 return getAnnouncementRequest.result;
35 } 35 }
36 36
37 @computed get areNewsAvailable() {
38 const isChangelogAvailable = getChangelogRequest.wasExecuted && !!this.changelog;
39 const isAnnouncementAvailable = getAnnouncementRequest.wasExecuted && !!this.announcement;
40 return isChangelogAvailable || isAnnouncementAvailable;
41 }
42
37 @computed get settings() { 43 @computed get settings() {
38 return localStorage.getItem(LOCAL_STORAGE_KEY) || {}; 44 return localStorage.getItem(LOCAL_STORAGE_KEY) || {};
39 } 45 }
@@ -87,6 +93,7 @@ export class AnnouncementsStore extends FeatureStore {
87 // ======= ACTIONS ======= // 93 // ======= ACTIONS ======= //
88 94
89 @action _showAnnouncement = ({ targetVersion } = {}) => { 95 @action _showAnnouncement = ({ targetVersion } = {}) => {
96 if (!this.areNewsAvailable) return;
90 this.targetVersion = targetVersion || this.currentVersion; 97 this.targetVersion = targetVersion || this.currentVersion;
91 this.isAnnouncementVisible = true; 98 this.isAnnouncementVisible = true;
92 this.actions.service.blurActive(); 99 this.actions.service.blurActive();
diff --git a/src/i18n/locales/defaultMessages.json b/src/i18n/locales/defaultMessages.json
index 03435fd09..632eb38fd 100644
--- a/src/i18n/locales/defaultMessages.json
+++ b/src/i18n/locales/defaultMessages.json
@@ -3912,689 +3912,689 @@
3912 "defaultMessage": "!!!Edit", 3912 "defaultMessage": "!!!Edit",
3913 "end": { 3913 "end": {
3914 "column": 3, 3914 "column": 3,
3915 "line": 17 3915 "line": 18
3916 }, 3916 },
3917 "file": "src/lib/Menu.js", 3917 "file": "src/lib/Menu.js",
3918 "id": "menu.edit", 3918 "id": "menu.edit",
3919 "start": { 3919 "start": {
3920 "column": 8, 3920 "column": 8,
3921 "line": 14 3921 "line": 15
3922 } 3922 }
3923 }, 3923 },
3924 { 3924 {
3925 "defaultMessage": "!!!Undo", 3925 "defaultMessage": "!!!Undo",
3926 "end": { 3926 "end": {
3927 "column": 3, 3927 "column": 3,
3928 "line": 21 3928 "line": 22
3929 }, 3929 },
3930 "file": "src/lib/Menu.js", 3930 "file": "src/lib/Menu.js",
3931 "id": "menu.edit.undo", 3931 "id": "menu.edit.undo",
3932 "start": { 3932 "start": {
3933 "column": 8, 3933 "column": 8,
3934 "line": 18 3934 "line": 19
3935 } 3935 }
3936 }, 3936 },
3937 { 3937 {
3938 "defaultMessage": "!!!Redo", 3938 "defaultMessage": "!!!Redo",
3939 "end": { 3939 "end": {
3940 "column": 3, 3940 "column": 3,
3941 "line": 25 3941 "line": 26
3942 }, 3942 },
3943 "file": "src/lib/Menu.js", 3943 "file": "src/lib/Menu.js",
3944 "id": "menu.edit.redo", 3944 "id": "menu.edit.redo",
3945 "start": { 3945 "start": {
3946 "column": 8, 3946 "column": 8,
3947 "line": 22 3947 "line": 23
3948 } 3948 }
3949 }, 3949 },
3950 { 3950 {
3951 "defaultMessage": "!!!Cut", 3951 "defaultMessage": "!!!Cut",
3952 "end": { 3952 "end": {
3953 "column": 3, 3953 "column": 3,
3954 "line": 29 3954 "line": 30
3955 }, 3955 },
3956 "file": "src/lib/Menu.js", 3956 "file": "src/lib/Menu.js",
3957 "id": "menu.edit.cut", 3957 "id": "menu.edit.cut",
3958 "start": { 3958 "start": {
3959 "column": 7, 3959 "column": 7,
3960 "line": 26 3960 "line": 27
3961 } 3961 }
3962 }, 3962 },
3963 { 3963 {
3964 "defaultMessage": "!!!Copy", 3964 "defaultMessage": "!!!Copy",
3965 "end": { 3965 "end": {
3966 "column": 3, 3966 "column": 3,
3967 "line": 33 3967 "line": 34
3968 }, 3968 },
3969 "file": "src/lib/Menu.js", 3969 "file": "src/lib/Menu.js",
3970 "id": "menu.edit.copy", 3970 "id": "menu.edit.copy",
3971 "start": { 3971 "start": {
3972 "column": 8, 3972 "column": 8,
3973 "line": 30 3973 "line": 31
3974 } 3974 }
3975 }, 3975 },
3976 { 3976 {
3977 "defaultMessage": "!!!Paste", 3977 "defaultMessage": "!!!Paste",
3978 "end": { 3978 "end": {
3979 "column": 3, 3979 "column": 3,
3980 "line": 37 3980 "line": 38
3981 }, 3981 },
3982 "file": "src/lib/Menu.js", 3982 "file": "src/lib/Menu.js",
3983 "id": "menu.edit.paste", 3983 "id": "menu.edit.paste",
3984 "start": { 3984 "start": {
3985 "column": 9, 3985 "column": 9,
3986 "line": 34 3986 "line": 35
3987 } 3987 }
3988 }, 3988 },
3989 { 3989 {
3990 "defaultMessage": "!!!Paste And Match Style", 3990 "defaultMessage": "!!!Paste And Match Style",
3991 "end": { 3991 "end": {
3992 "column": 3, 3992 "column": 3,
3993 "line": 41 3993 "line": 42
3994 }, 3994 },
3995 "file": "src/lib/Menu.js", 3995 "file": "src/lib/Menu.js",
3996 "id": "menu.edit.pasteAndMatchStyle", 3996 "id": "menu.edit.pasteAndMatchStyle",
3997 "start": { 3997 "start": {
3998 "column": 22, 3998 "column": 22,
3999 "line": 38 3999 "line": 39
4000 } 4000 }
4001 }, 4001 },
4002 { 4002 {
4003 "defaultMessage": "!!!Delete", 4003 "defaultMessage": "!!!Delete",
4004 "end": { 4004 "end": {
4005 "column": 3, 4005 "column": 3,
4006 "line": 45 4006 "line": 46
4007 }, 4007 },
4008 "file": "src/lib/Menu.js", 4008 "file": "src/lib/Menu.js",
4009 "id": "menu.edit.delete", 4009 "id": "menu.edit.delete",
4010 "start": { 4010 "start": {
4011 "column": 10, 4011 "column": 10,
4012 "line": 42 4012 "line": 43
4013 } 4013 }
4014 }, 4014 },
4015 { 4015 {
4016 "defaultMessage": "!!!Select All", 4016 "defaultMessage": "!!!Select All",
4017 "end": { 4017 "end": {
4018 "column": 3, 4018 "column": 3,
4019 "line": 49 4019 "line": 50
4020 }, 4020 },
4021 "file": "src/lib/Menu.js", 4021 "file": "src/lib/Menu.js",
4022 "id": "menu.edit.selectAll", 4022 "id": "menu.edit.selectAll",
4023 "start": { 4023 "start": {
4024 "column": 13, 4024 "column": 13,
4025 "line": 46 4025 "line": 47
4026 } 4026 }
4027 }, 4027 },
4028 { 4028 {
4029 "defaultMessage": "!!!Speech", 4029 "defaultMessage": "!!!Speech",
4030 "end": { 4030 "end": {
4031 "column": 3, 4031 "column": 3,
4032 "line": 53 4032 "line": 54
4033 }, 4033 },
4034 "file": "src/lib/Menu.js", 4034 "file": "src/lib/Menu.js",
4035 "id": "menu.edit.speech", 4035 "id": "menu.edit.speech",
4036 "start": { 4036 "start": {
4037 "column": 10, 4037 "column": 10,
4038 "line": 50 4038 "line": 51
4039 } 4039 }
4040 }, 4040 },
4041 { 4041 {
4042 "defaultMessage": "!!!Start Speaking", 4042 "defaultMessage": "!!!Start Speaking",
4043 "end": { 4043 "end": {
4044 "column": 3, 4044 "column": 3,
4045 "line": 57 4045 "line": 58
4046 }, 4046 },
4047 "file": "src/lib/Menu.js", 4047 "file": "src/lib/Menu.js",
4048 "id": "menu.edit.startSpeaking", 4048 "id": "menu.edit.startSpeaking",
4049 "start": { 4049 "start": {
4050 "column": 17, 4050 "column": 17,
4051 "line": 54 4051 "line": 55
4052 } 4052 }
4053 }, 4053 },
4054 { 4054 {
4055 "defaultMessage": "!!!Stop Speaking", 4055 "defaultMessage": "!!!Stop Speaking",
4056 "end": { 4056 "end": {
4057 "column": 3, 4057 "column": 3,
4058 "line": 61 4058 "line": 62
4059 }, 4059 },
4060 "file": "src/lib/Menu.js", 4060 "file": "src/lib/Menu.js",
4061 "id": "menu.edit.stopSpeaking", 4061 "id": "menu.edit.stopSpeaking",
4062 "start": { 4062 "start": {
4063 "column": 16, 4063 "column": 16,
4064 "line": 58 4064 "line": 59
4065 } 4065 }
4066 }, 4066 },
4067 { 4067 {
4068 "defaultMessage": "!!!Start Dictation", 4068 "defaultMessage": "!!!Start Dictation",
4069 "end": { 4069 "end": {
4070 "column": 3, 4070 "column": 3,
4071 "line": 65 4071 "line": 66
4072 }, 4072 },
4073 "file": "src/lib/Menu.js", 4073 "file": "src/lib/Menu.js",
4074 "id": "menu.edit.startDictation", 4074 "id": "menu.edit.startDictation",
4075 "start": { 4075 "start": {
4076 "column": 18, 4076 "column": 18,
4077 "line": 62 4077 "line": 63
4078 } 4078 }
4079 }, 4079 },
4080 { 4080 {
4081 "defaultMessage": "!!!Emoji & Symbols", 4081 "defaultMessage": "!!!Emoji & Symbols",
4082 "end": { 4082 "end": {
4083 "column": 3, 4083 "column": 3,
4084 "line": 69 4084 "line": 70
4085 }, 4085 },
4086 "file": "src/lib/Menu.js", 4086 "file": "src/lib/Menu.js",
4087 "id": "menu.edit.emojiSymbols", 4087 "id": "menu.edit.emojiSymbols",
4088 "start": { 4088 "start": {
4089 "column": 16, 4089 "column": 16,
4090 "line": 66 4090 "line": 67
4091 } 4091 }
4092 }, 4092 },
4093 { 4093 {
4094 "defaultMessage": "!!!Actual Size", 4094 "defaultMessage": "!!!Actual Size",
4095 "end": { 4095 "end": {
4096 "column": 3, 4096 "column": 3,
4097 "line": 73 4097 "line": 74
4098 }, 4098 },
4099 "file": "src/lib/Menu.js", 4099 "file": "src/lib/Menu.js",
4100 "id": "menu.view.resetZoom", 4100 "id": "menu.view.resetZoom",
4101 "start": { 4101 "start": {
4102 "column": 13, 4102 "column": 13,
4103 "line": 70 4103 "line": 71
4104 } 4104 }
4105 }, 4105 },
4106 { 4106 {
4107 "defaultMessage": "!!!Zoom In", 4107 "defaultMessage": "!!!Zoom In",
4108 "end": { 4108 "end": {
4109 "column": 3, 4109 "column": 3,
4110 "line": 77 4110 "line": 78
4111 }, 4111 },
4112 "file": "src/lib/Menu.js", 4112 "file": "src/lib/Menu.js",
4113 "id": "menu.view.zoomIn", 4113 "id": "menu.view.zoomIn",
4114 "start": { 4114 "start": {
4115 "column": 10, 4115 "column": 10,
4116 "line": 74 4116 "line": 75
4117 } 4117 }
4118 }, 4118 },
4119 { 4119 {
4120 "defaultMessage": "!!!Zoom Out", 4120 "defaultMessage": "!!!Zoom Out",
4121 "end": { 4121 "end": {
4122 "column": 3, 4122 "column": 3,
4123 "line": 81 4123 "line": 82
4124 }, 4124 },
4125 "file": "src/lib/Menu.js", 4125 "file": "src/lib/Menu.js",
4126 "id": "menu.view.zoomOut", 4126 "id": "menu.view.zoomOut",
4127 "start": { 4127 "start": {
4128 "column": 11, 4128 "column": 11,
4129 "line": 78 4129 "line": 79
4130 } 4130 }
4131 }, 4131 },
4132 { 4132 {
4133 "defaultMessage": "!!!Enter Full Screen", 4133 "defaultMessage": "!!!Enter Full Screen",
4134 "end": { 4134 "end": {
4135 "column": 3, 4135 "column": 3,
4136 "line": 85 4136 "line": 86
4137 }, 4137 },
4138 "file": "src/lib/Menu.js", 4138 "file": "src/lib/Menu.js",
4139 "id": "menu.view.enterFullScreen", 4139 "id": "menu.view.enterFullScreen",
4140 "start": { 4140 "start": {
4141 "column": 19, 4141 "column": 19,
4142 "line": 82 4142 "line": 83
4143 } 4143 }
4144 }, 4144 },
4145 { 4145 {
4146 "defaultMessage": "!!!Exit Full Screen", 4146 "defaultMessage": "!!!Exit Full Screen",
4147 "end": { 4147 "end": {
4148 "column": 3, 4148 "column": 3,
4149 "line": 89 4149 "line": 90
4150 }, 4150 },
4151 "file": "src/lib/Menu.js", 4151 "file": "src/lib/Menu.js",
4152 "id": "menu.view.exitFullScreen", 4152 "id": "menu.view.exitFullScreen",
4153 "start": { 4153 "start": {
4154 "column": 18, 4154 "column": 18,
4155 "line": 86 4155 "line": 87
4156 } 4156 }
4157 }, 4157 },
4158 { 4158 {
4159 "defaultMessage": "!!!Toggle Full Screen", 4159 "defaultMessage": "!!!Toggle Full Screen",
4160 "end": { 4160 "end": {
4161 "column": 3, 4161 "column": 3,
4162 "line": 93 4162 "line": 94
4163 }, 4163 },
4164 "file": "src/lib/Menu.js", 4164 "file": "src/lib/Menu.js",
4165 "id": "menu.view.toggleFullScreen", 4165 "id": "menu.view.toggleFullScreen",
4166 "start": { 4166 "start": {
4167 "column": 20, 4167 "column": 20,
4168 "line": 90 4168 "line": 91
4169 } 4169 }
4170 }, 4170 },
4171 { 4171 {
4172 "defaultMessage": "!!!Toggle Developer Tools", 4172 "defaultMessage": "!!!Toggle Developer Tools",
4173 "end": { 4173 "end": {
4174 "column": 3, 4174 "column": 3,
4175 "line": 97 4175 "line": 98
4176 }, 4176 },
4177 "file": "src/lib/Menu.js", 4177 "file": "src/lib/Menu.js",
4178 "id": "menu.view.toggleDevTools", 4178 "id": "menu.view.toggleDevTools",
4179 "start": { 4179 "start": {
4180 "column": 18, 4180 "column": 18,
4181 "line": 94 4181 "line": 95
4182 } 4182 }
4183 }, 4183 },
4184 { 4184 {
4185 "defaultMessage": "!!!Toggle Service Developer Tools", 4185 "defaultMessage": "!!!Toggle Service Developer Tools",
4186 "end": { 4186 "end": {
4187 "column": 3, 4187 "column": 3,
4188 "line": 101 4188 "line": 102
4189 }, 4189 },
4190 "file": "src/lib/Menu.js", 4190 "file": "src/lib/Menu.js",
4191 "id": "menu.view.toggleServiceDevTools", 4191 "id": "menu.view.toggleServiceDevTools",
4192 "start": { 4192 "start": {
4193 "column": 25, 4193 "column": 25,
4194 "line": 98 4194 "line": 99
4195 } 4195 }
4196 }, 4196 },
4197 { 4197 {
4198 "defaultMessage": "!!!Reload Service", 4198 "defaultMessage": "!!!Reload Service",
4199 "end": { 4199 "end": {
4200 "column": 3, 4200 "column": 3,
4201 "line": 105 4201 "line": 106
4202 }, 4202 },
4203 "file": "src/lib/Menu.js", 4203 "file": "src/lib/Menu.js",
4204 "id": "menu.view.reloadService", 4204 "id": "menu.view.reloadService",
4205 "start": { 4205 "start": {
4206 "column": 17, 4206 "column": 17,
4207 "line": 102 4207 "line": 103
4208 } 4208 }
4209 }, 4209 },
4210 { 4210 {
4211 "defaultMessage": "!!!Reload Franz", 4211 "defaultMessage": "!!!Reload Franz",
4212 "end": { 4212 "end": {
4213 "column": 3, 4213 "column": 3,
4214 "line": 109 4214 "line": 110
4215 }, 4215 },
4216 "file": "src/lib/Menu.js", 4216 "file": "src/lib/Menu.js",
4217 "id": "menu.view.reloadFranz", 4217 "id": "menu.view.reloadFranz",
4218 "start": { 4218 "start": {
4219 "column": 15, 4219 "column": 15,
4220 "line": 106 4220 "line": 107
4221 } 4221 }
4222 }, 4222 },
4223 { 4223 {
4224 "defaultMessage": "!!!Minimize", 4224 "defaultMessage": "!!!Minimize",
4225 "end": { 4225 "end": {
4226 "column": 3, 4226 "column": 3,
4227 "line": 113 4227 "line": 114
4228 }, 4228 },
4229 "file": "src/lib/Menu.js", 4229 "file": "src/lib/Menu.js",
4230 "id": "menu.window.minimize", 4230 "id": "menu.window.minimize",
4231 "start": { 4231 "start": {
4232 "column": 12, 4232 "column": 12,
4233 "line": 110 4233 "line": 111
4234 } 4234 }
4235 }, 4235 },
4236 { 4236 {
4237 "defaultMessage": "!!!Close", 4237 "defaultMessage": "!!!Close",
4238 "end": { 4238 "end": {
4239 "column": 3, 4239 "column": 3,
4240 "line": 117 4240 "line": 118
4241 }, 4241 },
4242 "file": "src/lib/Menu.js", 4242 "file": "src/lib/Menu.js",
4243 "id": "menu.window.close", 4243 "id": "menu.window.close",
4244 "start": { 4244 "start": {
4245 "column": 9, 4245 "column": 9,
4246 "line": 114 4246 "line": 115
4247 } 4247 }
4248 }, 4248 },
4249 { 4249 {
4250 "defaultMessage": "!!!Learn More", 4250 "defaultMessage": "!!!Learn More",
4251 "end": { 4251 "end": {
4252 "column": 3, 4252 "column": 3,
4253 "line": 121 4253 "line": 122
4254 }, 4254 },
4255 "file": "src/lib/Menu.js", 4255 "file": "src/lib/Menu.js",
4256 "id": "menu.help.learnMore", 4256 "id": "menu.help.learnMore",
4257 "start": { 4257 "start": {
4258 "column": 13, 4258 "column": 13,
4259 "line": 118 4259 "line": 119
4260 } 4260 }
4261 }, 4261 },
4262 { 4262 {
4263 "defaultMessage": "!!!Changelog", 4263 "defaultMessage": "!!!Changelog",
4264 "end": { 4264 "end": {
4265 "column": 3, 4265 "column": 3,
4266 "line": 125 4266 "line": 126
4267 }, 4267 },
4268 "file": "src/lib/Menu.js", 4268 "file": "src/lib/Menu.js",
4269 "id": "menu.help.changelog", 4269 "id": "menu.help.changelog",
4270 "start": { 4270 "start": {
4271 "column": 13, 4271 "column": 13,
4272 "line": 122 4272 "line": 123
4273 } 4273 }
4274 }, 4274 },
4275 { 4275 {
4276 "defaultMessage": "!!!Support", 4276 "defaultMessage": "!!!Support",
4277 "end": { 4277 "end": {
4278 "column": 3, 4278 "column": 3,
4279 "line": 129 4279 "line": 130
4280 }, 4280 },
4281 "file": "src/lib/Menu.js", 4281 "file": "src/lib/Menu.js",
4282 "id": "menu.help.support", 4282 "id": "menu.help.support",
4283 "start": { 4283 "start": {
4284 "column": 11, 4284 "column": 11,
4285 "line": 126 4285 "line": 127
4286 } 4286 }
4287 }, 4287 },
4288 { 4288 {
4289 "defaultMessage": "!!!Terms of Service", 4289 "defaultMessage": "!!!Terms of Service",
4290 "end": { 4290 "end": {
4291 "column": 3, 4291 "column": 3,
4292 "line": 133 4292 "line": 134
4293 }, 4293 },
4294 "file": "src/lib/Menu.js", 4294 "file": "src/lib/Menu.js",
4295 "id": "menu.help.tos", 4295 "id": "menu.help.tos",
4296 "start": { 4296 "start": {
4297 "column": 7, 4297 "column": 7,
4298 "line": 130 4298 "line": 131
4299 } 4299 }
4300 }, 4300 },
4301 { 4301 {
4302 "defaultMessage": "!!!Privacy Statement", 4302 "defaultMessage": "!!!Privacy Statement",
4303 "end": { 4303 "end": {
4304 "column": 3, 4304 "column": 3,
4305 "line": 137 4305 "line": 138
4306 }, 4306 },
4307 "file": "src/lib/Menu.js", 4307 "file": "src/lib/Menu.js",
4308 "id": "menu.help.privacy", 4308 "id": "menu.help.privacy",
4309 "start": { 4309 "start": {
4310 "column": 11, 4310 "column": 11,
4311 "line": 134 4311 "line": 135
4312 } 4312 }
4313 }, 4313 },
4314 { 4314 {
4315 "defaultMessage": "!!!File", 4315 "defaultMessage": "!!!File",
4316 "end": { 4316 "end": {
4317 "column": 3, 4317 "column": 3,
4318 "line": 141 4318 "line": 142
4319 }, 4319 },
4320 "file": "src/lib/Menu.js", 4320 "file": "src/lib/Menu.js",
4321 "id": "menu.file", 4321 "id": "menu.file",
4322 "start": { 4322 "start": {
4323 "column": 8, 4323 "column": 8,
4324 "line": 138 4324 "line": 139
4325 } 4325 }
4326 }, 4326 },
4327 { 4327 {
4328 "defaultMessage": "!!!View", 4328 "defaultMessage": "!!!View",
4329 "end": { 4329 "end": {
4330 "column": 3, 4330 "column": 3,
4331 "line": 145 4331 "line": 146
4332 }, 4332 },
4333 "file": "src/lib/Menu.js", 4333 "file": "src/lib/Menu.js",
4334 "id": "menu.view", 4334 "id": "menu.view",
4335 "start": { 4335 "start": {
4336 "column": 8, 4336 "column": 8,
4337 "line": 142 4337 "line": 143
4338 } 4338 }
4339 }, 4339 },
4340 { 4340 {
4341 "defaultMessage": "!!!Services", 4341 "defaultMessage": "!!!Services",
4342 "end": { 4342 "end": {
4343 "column": 3, 4343 "column": 3,
4344 "line": 149 4344 "line": 150
4345 }, 4345 },
4346 "file": "src/lib/Menu.js", 4346 "file": "src/lib/Menu.js",
4347 "id": "menu.services", 4347 "id": "menu.services",
4348 "start": { 4348 "start": {
4349 "column": 12, 4349 "column": 12,
4350 "line": 146 4350 "line": 147
4351 } 4351 }
4352 }, 4352 },
4353 { 4353 {
4354 "defaultMessage": "!!!Window", 4354 "defaultMessage": "!!!Window",
4355 "end": { 4355 "end": {
4356 "column": 3, 4356 "column": 3,
4357 "line": 153 4357 "line": 154
4358 }, 4358 },
4359 "file": "src/lib/Menu.js", 4359 "file": "src/lib/Menu.js",
4360 "id": "menu.window", 4360 "id": "menu.window",
4361 "start": { 4361 "start": {
4362 "column": 10, 4362 "column": 10,
4363 "line": 150 4363 "line": 151
4364 } 4364 }
4365 }, 4365 },
4366 { 4366 {
4367 "defaultMessage": "!!!Help", 4367 "defaultMessage": "!!!Help",
4368 "end": { 4368 "end": {
4369 "column": 3, 4369 "column": 3,
4370 "line": 157 4370 "line": 158
4371 }, 4371 },
4372 "file": "src/lib/Menu.js", 4372 "file": "src/lib/Menu.js",
4373 "id": "menu.help", 4373 "id": "menu.help",
4374 "start": { 4374 "start": {
4375 "column": 8, 4375 "column": 8,
4376 "line": 154 4376 "line": 155
4377 } 4377 }
4378 }, 4378 },
4379 { 4379 {
4380 "defaultMessage": "!!!About Franz", 4380 "defaultMessage": "!!!About Franz",
4381 "end": { 4381 "end": {
4382 "column": 3, 4382 "column": 3,
4383 "line": 161 4383 "line": 162
4384 }, 4384 },
4385 "file": "src/lib/Menu.js", 4385 "file": "src/lib/Menu.js",
4386 "id": "menu.app.about", 4386 "id": "menu.app.about",
4387 "start": { 4387 "start": {
4388 "column": 9, 4388 "column": 9,
4389 "line": 158 4389 "line": 159
4390 } 4390 }
4391 }, 4391 },
4392 { 4392 {
4393 "defaultMessage": "!!!What's new?", 4393 "defaultMessage": "!!!What's new?",
4394 "end": { 4394 "end": {
4395 "column": 3, 4395 "column": 3,
4396 "line": 165 4396 "line": 166
4397 }, 4397 },
4398 "file": "src/lib/Menu.js", 4398 "file": "src/lib/Menu.js",
4399 "id": "menu.app.announcement", 4399 "id": "menu.app.announcement",
4400 "start": { 4400 "start": {
4401 "column": 16, 4401 "column": 16,
4402 "line": 162 4402 "line": 163
4403 } 4403 }
4404 }, 4404 },
4405 { 4405 {
4406 "defaultMessage": "!!!Settings", 4406 "defaultMessage": "!!!Settings",
4407 "end": { 4407 "end": {
4408 "column": 3, 4408 "column": 3,
4409 "line": 169 4409 "line": 170
4410 }, 4410 },
4411 "file": "src/lib/Menu.js", 4411 "file": "src/lib/Menu.js",
4412 "id": "menu.app.settings", 4412 "id": "menu.app.settings",
4413 "start": { 4413 "start": {
4414 "column": 12, 4414 "column": 12,
4415 "line": 166 4415 "line": 167
4416 } 4416 }
4417 }, 4417 },
4418 { 4418 {
4419 "defaultMessage": "!!!Hide", 4419 "defaultMessage": "!!!Hide",
4420 "end": { 4420 "end": {
4421 "column": 3, 4421 "column": 3,
4422 "line": 173 4422 "line": 174
4423 }, 4423 },
4424 "file": "src/lib/Menu.js", 4424 "file": "src/lib/Menu.js",
4425 "id": "menu.app.hide", 4425 "id": "menu.app.hide",
4426 "start": { 4426 "start": {
4427 "column": 8, 4427 "column": 8,
4428 "line": 170 4428 "line": 171
4429 } 4429 }
4430 }, 4430 },
4431 { 4431 {
4432 "defaultMessage": "!!!Hide Others", 4432 "defaultMessage": "!!!Hide Others",
4433 "end": { 4433 "end": {
4434 "column": 3, 4434 "column": 3,
4435 "line": 177 4435 "line": 178
4436 }, 4436 },
4437 "file": "src/lib/Menu.js", 4437 "file": "src/lib/Menu.js",
4438 "id": "menu.app.hideOthers", 4438 "id": "menu.app.hideOthers",
4439 "start": { 4439 "start": {
4440 "column": 14, 4440 "column": 14,
4441 "line": 174 4441 "line": 175
4442 } 4442 }
4443 }, 4443 },
4444 { 4444 {
4445 "defaultMessage": "!!!Unhide", 4445 "defaultMessage": "!!!Unhide",
4446 "end": { 4446 "end": {
4447 "column": 3, 4447 "column": 3,
4448 "line": 181 4448 "line": 182
4449 }, 4449 },
4450 "file": "src/lib/Menu.js", 4450 "file": "src/lib/Menu.js",
4451 "id": "menu.app.unhide", 4451 "id": "menu.app.unhide",
4452 "start": { 4452 "start": {
4453 "column": 10, 4453 "column": 10,
4454 "line": 178 4454 "line": 179
4455 } 4455 }
4456 }, 4456 },
4457 { 4457 {
4458 "defaultMessage": "!!!Quit", 4458 "defaultMessage": "!!!Quit",
4459 "end": { 4459 "end": {
4460 "column": 3, 4460 "column": 3,
4461 "line": 185 4461 "line": 186
4462 }, 4462 },
4463 "file": "src/lib/Menu.js", 4463 "file": "src/lib/Menu.js",
4464 "id": "menu.app.quit", 4464 "id": "menu.app.quit",
4465 "start": { 4465 "start": {
4466 "column": 8, 4466 "column": 8,
4467 "line": 182 4467 "line": 183
4468 } 4468 }
4469 }, 4469 },
4470 { 4470 {
4471 "defaultMessage": "!!!Add New Service...", 4471 "defaultMessage": "!!!Add New Service...",
4472 "end": { 4472 "end": {
4473 "column": 3, 4473 "column": 3,
4474 "line": 189 4474 "line": 190
4475 }, 4475 },
4476 "file": "src/lib/Menu.js", 4476 "file": "src/lib/Menu.js",
4477 "id": "menu.services.addNewService", 4477 "id": "menu.services.addNewService",
4478 "start": { 4478 "start": {
4479 "column": 17, 4479 "column": 17,
4480 "line": 186 4480 "line": 187
4481 } 4481 }
4482 }, 4482 },
4483 { 4483 {
4484 "defaultMessage": "!!!Add New Workspace...", 4484 "defaultMessage": "!!!Add New Workspace...",
4485 "end": { 4485 "end": {
4486 "column": 3, 4486 "column": 3,
4487 "line": 193 4487 "line": 194
4488 }, 4488 },
4489 "file": "src/lib/Menu.js", 4489 "file": "src/lib/Menu.js",
4490 "id": "menu.workspaces.addNewWorkspace", 4490 "id": "menu.workspaces.addNewWorkspace",
4491 "start": { 4491 "start": {
4492 "column": 19, 4492 "column": 19,
4493 "line": 190 4493 "line": 191
4494 } 4494 }
4495 }, 4495 },
4496 { 4496 {
4497 "defaultMessage": "!!!Open workspace drawer", 4497 "defaultMessage": "!!!Open workspace drawer",
4498 "end": { 4498 "end": {
4499 "column": 3, 4499 "column": 3,
4500 "line": 197 4500 "line": 198
4501 }, 4501 },
4502 "file": "src/lib/Menu.js", 4502 "file": "src/lib/Menu.js",
4503 "id": "menu.workspaces.openWorkspaceDrawer", 4503 "id": "menu.workspaces.openWorkspaceDrawer",
4504 "start": { 4504 "start": {
4505 "column": 23, 4505 "column": 23,
4506 "line": 194 4506 "line": 195
4507 } 4507 }
4508 }, 4508 },
4509 { 4509 {
4510 "defaultMessage": "!!!Close workspace drawer", 4510 "defaultMessage": "!!!Close workspace drawer",
4511 "end": { 4511 "end": {
4512 "column": 3, 4512 "column": 3,
4513 "line": 201 4513 "line": 202
4514 }, 4514 },
4515 "file": "src/lib/Menu.js", 4515 "file": "src/lib/Menu.js",
4516 "id": "menu.workspaces.closeWorkspaceDrawer", 4516 "id": "menu.workspaces.closeWorkspaceDrawer",
4517 "start": { 4517 "start": {
4518 "column": 24, 4518 "column": 24,
4519 "line": 198 4519 "line": 199
4520 } 4520 }
4521 }, 4521 },
4522 { 4522 {
4523 "defaultMessage": "!!!Activate next service...", 4523 "defaultMessage": "!!!Activate next service...",
4524 "end": { 4524 "end": {
4525 "column": 3, 4525 "column": 3,
4526 "line": 205 4526 "line": 206
4527 }, 4527 },
4528 "file": "src/lib/Menu.js", 4528 "file": "src/lib/Menu.js",
4529 "id": "menu.services.setNextServiceActive", 4529 "id": "menu.services.setNextServiceActive",
4530 "start": { 4530 "start": {
4531 "column": 23, 4531 "column": 23,
4532 "line": 202 4532 "line": 203
4533 } 4533 }
4534 }, 4534 },
4535 { 4535 {
4536 "defaultMessage": "!!!Activate previous service...", 4536 "defaultMessage": "!!!Activate previous service...",
4537 "end": { 4537 "end": {
4538 "column": 3, 4538 "column": 3,
4539 "line": 209 4539 "line": 210
4540 }, 4540 },
4541 "file": "src/lib/Menu.js", 4541 "file": "src/lib/Menu.js",
4542 "id": "menu.services.activatePreviousService", 4542 "id": "menu.services.activatePreviousService",
4543 "start": { 4543 "start": {
4544 "column": 27, 4544 "column": 27,
4545 "line": 206 4545 "line": 207
4546 } 4546 }
4547 }, 4547 },
4548 { 4548 {
4549 "defaultMessage": "!!!Disable notifications & audio", 4549 "defaultMessage": "!!!Disable notifications & audio",
4550 "end": { 4550 "end": {
4551 "column": 3, 4551 "column": 3,
4552 "line": 213 4552 "line": 214
4553 }, 4553 },
4554 "file": "src/lib/Menu.js", 4554 "file": "src/lib/Menu.js",
4555 "id": "sidebar.muteApp", 4555 "id": "sidebar.muteApp",
4556 "start": { 4556 "start": {
4557 "column": 11, 4557 "column": 11,
4558 "line": 210 4558 "line": 211
4559 } 4559 }
4560 }, 4560 },
4561 { 4561 {
4562 "defaultMessage": "!!!Enable notifications & audio", 4562 "defaultMessage": "!!!Enable notifications & audio",
4563 "end": { 4563 "end": {
4564 "column": 3, 4564 "column": 3,
4565 "line": 217 4565 "line": 218
4566 }, 4566 },
4567 "file": "src/lib/Menu.js", 4567 "file": "src/lib/Menu.js",
4568 "id": "sidebar.unmuteApp", 4568 "id": "sidebar.unmuteApp",
4569 "start": { 4569 "start": {
4570 "column": 13, 4570 "column": 13,
4571 "line": 214 4571 "line": 215
4572 } 4572 }
4573 }, 4573 },
4574 { 4574 {
4575 "defaultMessage": "!!!Workspaces", 4575 "defaultMessage": "!!!Workspaces",
4576 "end": { 4576 "end": {
4577 "column": 3, 4577 "column": 3,
4578 "line": 221 4578 "line": 222
4579 }, 4579 },
4580 "file": "src/lib/Menu.js", 4580 "file": "src/lib/Menu.js",
4581 "id": "menu.workspaces", 4581 "id": "menu.workspaces",
4582 "start": { 4582 "start": {
4583 "column": 14, 4583 "column": 14,
4584 "line": 218 4584 "line": 219
4585 } 4585 }
4586 }, 4586 },
4587 { 4587 {
4588 "defaultMessage": "!!!Default", 4588 "defaultMessage": "!!!Default",
4589 "end": { 4589 "end": {
4590 "column": 3, 4590 "column": 3,
4591 "line": 225 4591 "line": 226
4592 }, 4592 },
4593 "file": "src/lib/Menu.js", 4593 "file": "src/lib/Menu.js",
4594 "id": "menu.workspaces.defaultWorkspace", 4594 "id": "menu.workspaces.defaultWorkspace",
4595 "start": { 4595 "start": {
4596 "column": 20, 4596 "column": 20,
4597 "line": 222 4597 "line": 223
4598 } 4598 }
4599 } 4599 }
4600 ], 4600 ],
diff --git a/src/i18n/messages/src/lib/Menu.json b/src/i18n/messages/src/lib/Menu.json
index a2ce34cd4..2adf5b787 100644
--- a/src/i18n/messages/src/lib/Menu.json
+++ b/src/i18n/messages/src/lib/Menu.json
@@ -4,11 +4,11 @@
4 "defaultMessage": "!!!Edit", 4 "defaultMessage": "!!!Edit",
5 "file": "src/lib/Menu.js", 5 "file": "src/lib/Menu.js",
6 "start": { 6 "start": {
7 "line": 14, 7 "line": 15,
8 "column": 8 8 "column": 8
9 }, 9 },
10 "end": { 10 "end": {
11 "line": 17, 11 "line": 18,
12 "column": 3 12 "column": 3
13 } 13 }
14 }, 14 },
@@ -17,11 +17,11 @@
17 "defaultMessage": "!!!Undo", 17 "defaultMessage": "!!!Undo",
18 "file": "src/lib/Menu.js", 18 "file": "src/lib/Menu.js",
19 "start": { 19 "start": {
20 "line": 18, 20 "line": 19,
21 "column": 8 21 "column": 8
22 }, 22 },
23 "end": { 23 "end": {
24 "line": 21, 24 "line": 22,
25 "column": 3 25 "column": 3
26 } 26 }
27 }, 27 },
@@ -30,11 +30,11 @@
30 "defaultMessage": "!!!Redo", 30 "defaultMessage": "!!!Redo",
31 "file": "src/lib/Menu.js", 31 "file": "src/lib/Menu.js",
32 "start": { 32 "start": {
33 "line": 22, 33 "line": 23,
34 "column": 8 34 "column": 8
35 }, 35 },
36 "end": { 36 "end": {
37 "line": 25, 37 "line": 26,
38 "column": 3 38 "column": 3
39 } 39 }
40 }, 40 },
@@ -43,11 +43,11 @@
43 "defaultMessage": "!!!Cut", 43 "defaultMessage": "!!!Cut",
44 "file": "src/lib/Menu.js", 44 "file": "src/lib/Menu.js",
45 "start": { 45 "start": {
46 "line": 26, 46 "line": 27,
47 "column": 7 47 "column": 7
48 }, 48 },
49 "end": { 49 "end": {
50 "line": 29, 50 "line": 30,
51 "column": 3 51 "column": 3
52 } 52 }
53 }, 53 },
@@ -56,11 +56,11 @@
56 "defaultMessage": "!!!Copy", 56 "defaultMessage": "!!!Copy",
57 "file": "src/lib/Menu.js", 57 "file": "src/lib/Menu.js",
58 "start": { 58 "start": {
59 "line": 30, 59 "line": 31,
60 "column": 8 60 "column": 8
61 }, 61 },
62 "end": { 62 "end": {
63 "line": 33, 63 "line": 34,
64 "column": 3 64 "column": 3
65 } 65 }
66 }, 66 },
@@ -69,11 +69,11 @@
69 "defaultMessage": "!!!Paste", 69 "defaultMessage": "!!!Paste",
70 "file": "src/lib/Menu.js", 70 "file": "src/lib/Menu.js",
71 "start": { 71 "start": {
72 "line": 34, 72 "line": 35,
73 "column": 9 73 "column": 9
74 }, 74 },
75 "end": { 75 "end": {
76 "line": 37, 76 "line": 38,
77 "column": 3 77 "column": 3
78 } 78 }
79 }, 79 },
@@ -82,11 +82,11 @@
82 "defaultMessage": "!!!Paste And Match Style", 82 "defaultMessage": "!!!Paste And Match Style",
83 "file": "src/lib/Menu.js", 83 "file": "src/lib/Menu.js",
84 "start": { 84 "start": {
85 "line": 38, 85 "line": 39,
86 "column": 22 86 "column": 22
87 }, 87 },
88 "end": { 88 "end": {
89 "line": 41, 89 "line": 42,
90 "column": 3 90 "column": 3
91 } 91 }
92 }, 92 },
@@ -95,11 +95,11 @@
95 "defaultMessage": "!!!Delete", 95 "defaultMessage": "!!!Delete",
96 "file": "src/lib/Menu.js", 96 "file": "src/lib/Menu.js",
97 "start": { 97 "start": {
98 "line": 42, 98 "line": 43,
99 "column": 10 99 "column": 10
100 }, 100 },
101 "end": { 101 "end": {
102 "line": 45, 102 "line": 46,
103 "column": 3 103 "column": 3
104 } 104 }
105 }, 105 },
@@ -108,11 +108,11 @@
108 "defaultMessage": "!!!Select All", 108 "defaultMessage": "!!!Select All",
109 "file": "src/lib/Menu.js", 109 "file": "src/lib/Menu.js",
110 "start": { 110 "start": {
111 "line": 46, 111 "line": 47,
112 "column": 13 112 "column": 13
113 }, 113 },
114 "end": { 114 "end": {
115 "line": 49, 115 "line": 50,
116 "column": 3 116 "column": 3
117 } 117 }
118 }, 118 },
@@ -121,11 +121,11 @@
121 "defaultMessage": "!!!Speech", 121 "defaultMessage": "!!!Speech",
122 "file": "src/lib/Menu.js", 122 "file": "src/lib/Menu.js",
123 "start": { 123 "start": {
124 "line": 50, 124 "line": 51,
125 "column": 10 125 "column": 10
126 }, 126 },
127 "end": { 127 "end": {
128 "line": 53, 128 "line": 54,
129 "column": 3 129 "column": 3
130 } 130 }
131 }, 131 },
@@ -134,11 +134,11 @@
134 "defaultMessage": "!!!Start Speaking", 134 "defaultMessage": "!!!Start Speaking",
135 "file": "src/lib/Menu.js", 135 "file": "src/lib/Menu.js",
136 "start": { 136 "start": {
137 "line": 54, 137 "line": 55,
138 "column": 17 138 "column": 17
139 }, 139 },
140 "end": { 140 "end": {
141 "line": 57, 141 "line": 58,
142 "column": 3 142 "column": 3
143 } 143 }
144 }, 144 },
@@ -147,11 +147,11 @@
147 "defaultMessage": "!!!Stop Speaking", 147 "defaultMessage": "!!!Stop Speaking",
148 "file": "src/lib/Menu.js", 148 "file": "src/lib/Menu.js",
149 "start": { 149 "start": {
150 "line": 58, 150 "line": 59,
151 "column": 16 151 "column": 16
152 }, 152 },
153 "end": { 153 "end": {
154 "line": 61, 154 "line": 62,
155 "column": 3 155 "column": 3
156 } 156 }
157 }, 157 },
@@ -160,11 +160,11 @@
160 "defaultMessage": "!!!Start Dictation", 160 "defaultMessage": "!!!Start Dictation",
161 "file": "src/lib/Menu.js", 161 "file": "src/lib/Menu.js",
162 "start": { 162 "start": {
163 "line": 62, 163 "line": 63,
164 "column": 18 164 "column": 18
165 }, 165 },
166 "end": { 166 "end": {
167 "line": 65, 167 "line": 66,
168 "column": 3 168 "column": 3
169 } 169 }
170 }, 170 },
@@ -173,11 +173,11 @@
173 "defaultMessage": "!!!Emoji & Symbols", 173 "defaultMessage": "!!!Emoji & Symbols",
174 "file": "src/lib/Menu.js", 174 "file": "src/lib/Menu.js",
175 "start": { 175 "start": {
176 "line": 66, 176 "line": 67,
177 "column": 16 177 "column": 16
178 }, 178 },
179 "end": { 179 "end": {
180 "line": 69, 180 "line": 70,
181 "column": 3 181 "column": 3
182 } 182 }
183 }, 183 },
@@ -186,11 +186,11 @@
186 "defaultMessage": "!!!Actual Size", 186 "defaultMessage": "!!!Actual Size",
187 "file": "src/lib/Menu.js", 187 "file": "src/lib/Menu.js",
188 "start": { 188 "start": {
189 "line": 70, 189 "line": 71,
190 "column": 13 190 "column": 13
191 }, 191 },
192 "end": { 192 "end": {
193 "line": 73, 193 "line": 74,
194 "column": 3 194 "column": 3
195 } 195 }
196 }, 196 },
@@ -199,11 +199,11 @@
199 "defaultMessage": "!!!Zoom In", 199 "defaultMessage": "!!!Zoom In",
200 "file": "src/lib/Menu.js", 200 "file": "src/lib/Menu.js",
201 "start": { 201 "start": {
202 "line": 74, 202 "line": 75,
203 "column": 10 203 "column": 10
204 }, 204 },
205 "end": { 205 "end": {
206 "line": 77, 206 "line": 78,
207 "column": 3 207 "column": 3
208 } 208 }
209 }, 209 },
@@ -212,11 +212,11 @@
212 "defaultMessage": "!!!Zoom Out", 212 "defaultMessage": "!!!Zoom Out",
213 "file": "src/lib/Menu.js", 213 "file": "src/lib/Menu.js",
214 "start": { 214 "start": {
215 "line": 78, 215 "line": 79,
216 "column": 11 216 "column": 11
217 }, 217 },
218 "end": { 218 "end": {
219 "line": 81, 219 "line": 82,
220 "column": 3 220 "column": 3
221 } 221 }
222 }, 222 },
@@ -225,11 +225,11 @@
225 "defaultMessage": "!!!Enter Full Screen", 225 "defaultMessage": "!!!Enter Full Screen",
226 "file": "src/lib/Menu.js", 226 "file": "src/lib/Menu.js",
227 "start": { 227 "start": {
228 "line": 82, 228 "line": 83,
229 "column": 19 229 "column": 19
230 }, 230 },
231 "end": { 231 "end": {
232 "line": 85, 232 "line": 86,
233 "column": 3 233 "column": 3
234 } 234 }
235 }, 235 },
@@ -238,11 +238,11 @@
238 "defaultMessage": "!!!Exit Full Screen", 238 "defaultMessage": "!!!Exit Full Screen",
239 "file": "src/lib/Menu.js", 239 "file": "src/lib/Menu.js",
240 "start": { 240 "start": {
241 "line": 86, 241 "line": 87,
242 "column": 18 242 "column": 18
243 }, 243 },
244 "end": { 244 "end": {
245 "line": 89, 245 "line": 90,
246 "column": 3 246 "column": 3
247 } 247 }
248 }, 248 },
@@ -251,11 +251,11 @@
251 "defaultMessage": "!!!Toggle Full Screen", 251 "defaultMessage": "!!!Toggle Full Screen",
252 "file": "src/lib/Menu.js", 252 "file": "src/lib/Menu.js",
253 "start": { 253 "start": {
254 "line": 90, 254 "line": 91,
255 "column": 20 255 "column": 20
256 }, 256 },
257 "end": { 257 "end": {
258 "line": 93, 258 "line": 94,
259 "column": 3 259 "column": 3
260 } 260 }
261 }, 261 },
@@ -264,11 +264,11 @@
264 "defaultMessage": "!!!Toggle Developer Tools", 264 "defaultMessage": "!!!Toggle Developer Tools",
265 "file": "src/lib/Menu.js", 265 "file": "src/lib/Menu.js",
266 "start": { 266 "start": {
267 "line": 94, 267 "line": 95,
268 "column": 18 268 "column": 18
269 }, 269 },
270 "end": { 270 "end": {
271 "line": 97, 271 "line": 98,
272 "column": 3 272 "column": 3
273 } 273 }
274 }, 274 },
@@ -277,11 +277,11 @@
277 "defaultMessage": "!!!Toggle Service Developer Tools", 277 "defaultMessage": "!!!Toggle Service Developer Tools",
278 "file": "src/lib/Menu.js", 278 "file": "src/lib/Menu.js",
279 "start": { 279 "start": {
280 "line": 98, 280 "line": 99,
281 "column": 25 281 "column": 25
282 }, 282 },
283 "end": { 283 "end": {
284 "line": 101, 284 "line": 102,
285 "column": 3 285 "column": 3
286 } 286 }
287 }, 287 },
@@ -290,11 +290,11 @@
290 "defaultMessage": "!!!Reload Service", 290 "defaultMessage": "!!!Reload Service",
291 "file": "src/lib/Menu.js", 291 "file": "src/lib/Menu.js",
292 "start": { 292 "start": {
293 "line": 102, 293 "line": 103,
294 "column": 17 294 "column": 17
295 }, 295 },
296 "end": { 296 "end": {
297 "line": 105, 297 "line": 106,
298 "column": 3 298 "column": 3
299 } 299 }
300 }, 300 },
@@ -303,11 +303,11 @@
303 "defaultMessage": "!!!Reload Franz", 303 "defaultMessage": "!!!Reload Franz",
304 "file": "src/lib/Menu.js", 304 "file": "src/lib/Menu.js",
305 "start": { 305 "start": {
306 "line": 106, 306 "line": 107,
307 "column": 15 307 "column": 15
308 }, 308 },
309 "end": { 309 "end": {
310 "line": 109, 310 "line": 110,
311 "column": 3 311 "column": 3
312 } 312 }
313 }, 313 },
@@ -316,11 +316,11 @@
316 "defaultMessage": "!!!Minimize", 316 "defaultMessage": "!!!Minimize",
317 "file": "src/lib/Menu.js", 317 "file": "src/lib/Menu.js",
318 "start": { 318 "start": {
319 "line": 110, 319 "line": 111,
320 "column": 12 320 "column": 12
321 }, 321 },
322 "end": { 322 "end": {
323 "line": 113, 323 "line": 114,
324 "column": 3 324 "column": 3
325 } 325 }
326 }, 326 },
@@ -329,11 +329,11 @@
329 "defaultMessage": "!!!Close", 329 "defaultMessage": "!!!Close",
330 "file": "src/lib/Menu.js", 330 "file": "src/lib/Menu.js",
331 "start": { 331 "start": {
332 "line": 114, 332 "line": 115,
333 "column": 9 333 "column": 9
334 }, 334 },
335 "end": { 335 "end": {
336 "line": 117, 336 "line": 118,
337 "column": 3 337 "column": 3
338 } 338 }
339 }, 339 },
@@ -342,11 +342,11 @@
342 "defaultMessage": "!!!Learn More", 342 "defaultMessage": "!!!Learn More",
343 "file": "src/lib/Menu.js", 343 "file": "src/lib/Menu.js",
344 "start": { 344 "start": {
345 "line": 118, 345 "line": 119,
346 "column": 13 346 "column": 13
347 }, 347 },
348 "end": { 348 "end": {
349 "line": 121, 349 "line": 122,
350 "column": 3 350 "column": 3
351 } 351 }
352 }, 352 },
@@ -355,11 +355,11 @@
355 "defaultMessage": "!!!Changelog", 355 "defaultMessage": "!!!Changelog",
356 "file": "src/lib/Menu.js", 356 "file": "src/lib/Menu.js",
357 "start": { 357 "start": {
358 "line": 122, 358 "line": 123,
359 "column": 13 359 "column": 13
360 }, 360 },
361 "end": { 361 "end": {
362 "line": 125, 362 "line": 126,
363 "column": 3 363 "column": 3
364 } 364 }
365 }, 365 },
@@ -368,11 +368,11 @@
368 "defaultMessage": "!!!Support", 368 "defaultMessage": "!!!Support",
369 "file": "src/lib/Menu.js", 369 "file": "src/lib/Menu.js",
370 "start": { 370 "start": {
371 "line": 126, 371 "line": 127,
372 "column": 11 372 "column": 11
373 }, 373 },
374 "end": { 374 "end": {
375 "line": 129, 375 "line": 130,
376 "column": 3 376 "column": 3
377 } 377 }
378 }, 378 },
@@ -381,11 +381,11 @@
381 "defaultMessage": "!!!Terms of Service", 381 "defaultMessage": "!!!Terms of Service",
382 "file": "src/lib/Menu.js", 382 "file": "src/lib/Menu.js",
383 "start": { 383 "start": {
384 "line": 130, 384 "line": 131,
385 "column": 7 385 "column": 7
386 }, 386 },
387 "end": { 387 "end": {
388 "line": 133, 388 "line": 134,
389 "column": 3 389 "column": 3
390 } 390 }
391 }, 391 },
@@ -394,11 +394,11 @@
394 "defaultMessage": "!!!Privacy Statement", 394 "defaultMessage": "!!!Privacy Statement",
395 "file": "src/lib/Menu.js", 395 "file": "src/lib/Menu.js",
396 "start": { 396 "start": {
397 "line": 134, 397 "line": 135,
398 "column": 11 398 "column": 11
399 }, 399 },
400 "end": { 400 "end": {
401 "line": 137, 401 "line": 138,
402 "column": 3 402 "column": 3
403 } 403 }
404 }, 404 },
@@ -407,11 +407,11 @@
407 "defaultMessage": "!!!File", 407 "defaultMessage": "!!!File",
408 "file": "src/lib/Menu.js", 408 "file": "src/lib/Menu.js",
409 "start": { 409 "start": {
410 "line": 138, 410 "line": 139,
411 "column": 8 411 "column": 8
412 }, 412 },
413 "end": { 413 "end": {
414 "line": 141, 414 "line": 142,
415 "column": 3 415 "column": 3
416 } 416 }
417 }, 417 },
@@ -420,11 +420,11 @@
420 "defaultMessage": "!!!View", 420 "defaultMessage": "!!!View",
421 "file": "src/lib/Menu.js", 421 "file": "src/lib/Menu.js",
422 "start": { 422 "start": {
423 "line": 142, 423 "line": 143,
424 "column": 8 424 "column": 8
425 }, 425 },
426 "end": { 426 "end": {
427 "line": 145, 427 "line": 146,
428 "column": 3 428 "column": 3
429 } 429 }
430 }, 430 },
@@ -433,11 +433,11 @@
433 "defaultMessage": "!!!Services", 433 "defaultMessage": "!!!Services",
434 "file": "src/lib/Menu.js", 434 "file": "src/lib/Menu.js",
435 "start": { 435 "start": {
436 "line": 146, 436 "line": 147,
437 "column": 12 437 "column": 12
438 }, 438 },
439 "end": { 439 "end": {
440 "line": 149, 440 "line": 150,
441 "column": 3 441 "column": 3
442 } 442 }
443 }, 443 },
@@ -446,11 +446,11 @@
446 "defaultMessage": "!!!Window", 446 "defaultMessage": "!!!Window",
447 "file": "src/lib/Menu.js", 447 "file": "src/lib/Menu.js",
448 "start": { 448 "start": {
449 "line": 150, 449 "line": 151,
450 "column": 10 450 "column": 10
451 }, 451 },
452 "end": { 452 "end": {
453 "line": 153, 453 "line": 154,
454 "column": 3 454 "column": 3
455 } 455 }
456 }, 456 },
@@ -459,11 +459,11 @@
459 "defaultMessage": "!!!Help", 459 "defaultMessage": "!!!Help",
460 "file": "src/lib/Menu.js", 460 "file": "src/lib/Menu.js",
461 "start": { 461 "start": {
462 "line": 154, 462 "line": 155,
463 "column": 8 463 "column": 8
464 }, 464 },
465 "end": { 465 "end": {
466 "line": 157, 466 "line": 158,
467 "column": 3 467 "column": 3
468 } 468 }
469 }, 469 },
@@ -472,11 +472,11 @@
472 "defaultMessage": "!!!About Franz", 472 "defaultMessage": "!!!About Franz",
473 "file": "src/lib/Menu.js", 473 "file": "src/lib/Menu.js",
474 "start": { 474 "start": {
475 "line": 158, 475 "line": 159,
476 "column": 9 476 "column": 9
477 }, 477 },
478 "end": { 478 "end": {
479 "line": 161, 479 "line": 162,
480 "column": 3 480 "column": 3
481 } 481 }
482 }, 482 },
@@ -485,11 +485,11 @@
485 "defaultMessage": "!!!What's new?", 485 "defaultMessage": "!!!What's new?",
486 "file": "src/lib/Menu.js", 486 "file": "src/lib/Menu.js",
487 "start": { 487 "start": {
488 "line": 162, 488 "line": 163,
489 "column": 16 489 "column": 16
490 }, 490 },
491 "end": { 491 "end": {
492 "line": 165, 492 "line": 166,
493 "column": 3 493 "column": 3
494 } 494 }
495 }, 495 },
@@ -498,11 +498,11 @@
498 "defaultMessage": "!!!Settings", 498 "defaultMessage": "!!!Settings",
499 "file": "src/lib/Menu.js", 499 "file": "src/lib/Menu.js",
500 "start": { 500 "start": {
501 "line": 166, 501 "line": 167,
502 "column": 12 502 "column": 12
503 }, 503 },
504 "end": { 504 "end": {
505 "line": 169, 505 "line": 170,
506 "column": 3 506 "column": 3
507 } 507 }
508 }, 508 },
@@ -511,11 +511,11 @@
511 "defaultMessage": "!!!Hide", 511 "defaultMessage": "!!!Hide",
512 "file": "src/lib/Menu.js", 512 "file": "src/lib/Menu.js",
513 "start": { 513 "start": {
514 "line": 170, 514 "line": 171,
515 "column": 8 515 "column": 8
516 }, 516 },
517 "end": { 517 "end": {
518 "line": 173, 518 "line": 174,
519 "column": 3 519 "column": 3
520 } 520 }
521 }, 521 },
@@ -524,11 +524,11 @@
524 "defaultMessage": "!!!Hide Others", 524 "defaultMessage": "!!!Hide Others",
525 "file": "src/lib/Menu.js", 525 "file": "src/lib/Menu.js",
526 "start": { 526 "start": {
527 "line": 174, 527 "line": 175,
528 "column": 14 528 "column": 14
529 }, 529 },
530 "end": { 530 "end": {
531 "line": 177, 531 "line": 178,
532 "column": 3 532 "column": 3
533 } 533 }
534 }, 534 },
@@ -537,11 +537,11 @@
537 "defaultMessage": "!!!Unhide", 537 "defaultMessage": "!!!Unhide",
538 "file": "src/lib/Menu.js", 538 "file": "src/lib/Menu.js",
539 "start": { 539 "start": {
540 "line": 178, 540 "line": 179,
541 "column": 10 541 "column": 10
542 }, 542 },
543 "end": { 543 "end": {
544 "line": 181, 544 "line": 182,
545 "column": 3 545 "column": 3
546 } 546 }
547 }, 547 },
@@ -550,11 +550,11 @@
550 "defaultMessage": "!!!Quit", 550 "defaultMessage": "!!!Quit",
551 "file": "src/lib/Menu.js", 551 "file": "src/lib/Menu.js",
552 "start": { 552 "start": {
553 "line": 182, 553 "line": 183,
554 "column": 8 554 "column": 8
555 }, 555 },
556 "end": { 556 "end": {
557 "line": 185, 557 "line": 186,
558 "column": 3 558 "column": 3
559 } 559 }
560 }, 560 },
@@ -563,11 +563,11 @@
563 "defaultMessage": "!!!Add New Service...", 563 "defaultMessage": "!!!Add New Service...",
564 "file": "src/lib/Menu.js", 564 "file": "src/lib/Menu.js",
565 "start": { 565 "start": {
566 "line": 186, 566 "line": 187,
567 "column": 17 567 "column": 17
568 }, 568 },
569 "end": { 569 "end": {
570 "line": 189, 570 "line": 190,
571 "column": 3 571 "column": 3
572 } 572 }
573 }, 573 },
@@ -576,11 +576,11 @@
576 "defaultMessage": "!!!Add New Workspace...", 576 "defaultMessage": "!!!Add New Workspace...",
577 "file": "src/lib/Menu.js", 577 "file": "src/lib/Menu.js",
578 "start": { 578 "start": {
579 "line": 190, 579 "line": 191,
580 "column": 19 580 "column": 19
581 }, 581 },
582 "end": { 582 "end": {
583 "line": 193, 583 "line": 194,
584 "column": 3 584 "column": 3
585 } 585 }
586 }, 586 },
@@ -589,11 +589,11 @@
589 "defaultMessage": "!!!Open workspace drawer", 589 "defaultMessage": "!!!Open workspace drawer",
590 "file": "src/lib/Menu.js", 590 "file": "src/lib/Menu.js",
591 "start": { 591 "start": {
592 "line": 194, 592 "line": 195,
593 "column": 23 593 "column": 23
594 }, 594 },
595 "end": { 595 "end": {
596 "line": 197, 596 "line": 198,
597 "column": 3 597 "column": 3
598 } 598 }
599 }, 599 },
@@ -602,11 +602,11 @@
602 "defaultMessage": "!!!Close workspace drawer", 602 "defaultMessage": "!!!Close workspace drawer",
603 "file": "src/lib/Menu.js", 603 "file": "src/lib/Menu.js",
604 "start": { 604 "start": {
605 "line": 198, 605 "line": 199,
606 "column": 24 606 "column": 24
607 }, 607 },
608 "end": { 608 "end": {
609 "line": 201, 609 "line": 202,
610 "column": 3 610 "column": 3
611 } 611 }
612 }, 612 },
@@ -615,11 +615,11 @@
615 "defaultMessage": "!!!Activate next service...", 615 "defaultMessage": "!!!Activate next service...",
616 "file": "src/lib/Menu.js", 616 "file": "src/lib/Menu.js",
617 "start": { 617 "start": {
618 "line": 202, 618 "line": 203,
619 "column": 23 619 "column": 23
620 }, 620 },
621 "end": { 621 "end": {
622 "line": 205, 622 "line": 206,
623 "column": 3 623 "column": 3
624 } 624 }
625 }, 625 },
@@ -628,11 +628,11 @@
628 "defaultMessage": "!!!Activate previous service...", 628 "defaultMessage": "!!!Activate previous service...",
629 "file": "src/lib/Menu.js", 629 "file": "src/lib/Menu.js",
630 "start": { 630 "start": {
631 "line": 206, 631 "line": 207,
632 "column": 27 632 "column": 27
633 }, 633 },
634 "end": { 634 "end": {
635 "line": 209, 635 "line": 210,
636 "column": 3 636 "column": 3
637 } 637 }
638 }, 638 },
@@ -641,11 +641,11 @@
641 "defaultMessage": "!!!Disable notifications & audio", 641 "defaultMessage": "!!!Disable notifications & audio",
642 "file": "src/lib/Menu.js", 642 "file": "src/lib/Menu.js",
643 "start": { 643 "start": {
644 "line": 210, 644 "line": 211,
645 "column": 11 645 "column": 11
646 }, 646 },
647 "end": { 647 "end": {
648 "line": 213, 648 "line": 214,
649 "column": 3 649 "column": 3
650 } 650 }
651 }, 651 },
@@ -654,11 +654,11 @@
654 "defaultMessage": "!!!Enable notifications & audio", 654 "defaultMessage": "!!!Enable notifications & audio",
655 "file": "src/lib/Menu.js", 655 "file": "src/lib/Menu.js",
656 "start": { 656 "start": {
657 "line": 214, 657 "line": 215,
658 "column": 13 658 "column": 13
659 }, 659 },
660 "end": { 660 "end": {
661 "line": 217, 661 "line": 218,
662 "column": 3 662 "column": 3
663 } 663 }
664 }, 664 },
@@ -667,11 +667,11 @@
667 "defaultMessage": "!!!Workspaces", 667 "defaultMessage": "!!!Workspaces",
668 "file": "src/lib/Menu.js", 668 "file": "src/lib/Menu.js",
669 "start": { 669 "start": {
670 "line": 218, 670 "line": 219,
671 "column": 14 671 "column": 14
672 }, 672 },
673 "end": { 673 "end": {
674 "line": 221, 674 "line": 222,
675 "column": 3 675 "column": 3
676 } 676 }
677 }, 677 },
@@ -680,11 +680,11 @@
680 "defaultMessage": "!!!Default", 680 "defaultMessage": "!!!Default",
681 "file": "src/lib/Menu.js", 681 "file": "src/lib/Menu.js",
682 "start": { 682 "start": {
683 "line": 222, 683 "line": 223,
684 "column": 20 684 "column": 20
685 }, 685 },
686 "end": { 686 "end": {
687 "line": 225, 687 "line": 226,
688 "column": 3 688 "column": 3
689 } 689 }
690 } 690 }
diff --git a/src/lib/Menu.js b/src/lib/Menu.js
index 6bea67860..da2540274 100644
--- a/src/lib/Menu.js
+++ b/src/lib/Menu.js
@@ -7,6 +7,7 @@ import { GA_CATEGORY_WORKSPACES, workspaceStore } from '../features/workspaces/i
7import { workspaceActions } from '../features/workspaces/actions'; 7import { workspaceActions } from '../features/workspaces/actions';
8import { gaEvent } from './analytics'; 8import { gaEvent } from './analytics';
9import { announcementActions } from '../features/announcements/actions'; 9import { announcementActions } from '../features/announcements/actions';
10import { announcementsStore } from '../features/announcements';
10 11
11const { app, Menu, dialog } = remote; 12const { app, Menu, dialog } = remote;
12 13
@@ -357,6 +358,7 @@ const _templateFactory = intl => [
357 click: () => { 358 click: () => {
358 announcementActions.show(); 359 announcementActions.show();
359 }, 360 },
361 visible: window.franz.stores.user.isLoggedIn && announcementsStore.areNewsAvailable,
360 }, 362 },
361 { 363 {
362 type: 'separator', 364 type: 'separator',