summaryrefslogtreecommitdiffhomepage
path: root/gui/src/renderer/components
diff options
context:
space:
mode:
authorEmīls Piņķis <emils@mullvad.net>2019-06-13 11:44:09 +0100
committerEmīls Piņķis <emils@mullvad.net>2019-06-14 11:12:36 +0100
commitcb46a012ac13052e8356f8b523f91836e12746ea (patch)
tree1adc08e98ea572ad8255c988ee73f9d1345ee25f /gui/src/renderer/components
parent6e658fb0fef2912840896f35c8d6bde2842a69cf (diff)
downloadmullvadvpn-cb46a012ac13052e8356f8b523f91836e12746ea.tar.xz
mullvadvpn-cb46a012ac13052e8356f8b523f91836e12746ea.zip
Add linux specific message about firewall errors in GUI
Diffstat (limited to 'gui/src/renderer/components')
-rw-r--r--gui/src/renderer/components/NotificationArea.tsx8
1 files changed, 6 insertions, 2 deletions
diff --git a/gui/src/renderer/components/NotificationArea.tsx b/gui/src/renderer/components/NotificationArea.tsx
index 6405e9828f..062bb45da7 100644
--- a/gui/src/renderer/components/NotificationArea.tsx
+++ b/gui/src/renderer/components/NotificationArea.tsx
@@ -50,10 +50,14 @@ 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':
- return messages.pgettext(
+ 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')
+ : ''
+ }`;
case 'set_dns_error':
return messages.pgettext('in-app-notifications', 'Failed to set system DNS server');
case 'start_tunnel_error':