diff options
Diffstat (limited to 'gui')
| -rw-r--r-- | gui/src/renderer/components/NotificationArea.tsx | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/gui/src/renderer/components/NotificationArea.tsx b/gui/src/renderer/components/NotificationArea.tsx index 842f750229..fcd0872c2e 100644 --- a/gui/src/renderer/components/NotificationArea.tsx +++ b/gui/src/renderer/components/NotificationArea.tsx @@ -50,14 +50,22 @@ function getBlockReasonMessage(blockReason: BlockReason): string { 'Could not configure IPv6, please enable it on your system or disable it in the app', ); case 'set_firewall_policy_error': + let extraMessage = null; + switch (process.platform) { + case 'linux': + extraMessage = messages.pgettext('in-app-notifications', 'Your kernel may be outdated'); + break; + case 'win32': + extraMessage = messages.pgettext( + 'in-app-notifications', + 'This might be caused by third party security software', + ); + break; + } return `${messages.pgettext( 'in-app-notifications', 'Failed to apply firewall rules. The device might currently be unsecured', - )}${ - process.platform === 'linux' - ? '. ' + messages.pgettext('in-app-notifications', 'Your kernel may be outdated') - : '' - }`; + )}${extraMessage ? '. ' + extraMessage : ''}`; case 'set_dns_error': return messages.pgettext('in-app-notifications', 'Failed to set system DNS server'); case 'start_tunnel_error': |
