From adb0996b0002f56f888e9e7bca181a84d376456f Mon Sep 17 00:00:00 2001 From: Oskar Nyberg Date: Mon, 16 Oct 2023 14:59:28 +0200 Subject: [PATCH 1/2] Add IPv6 info dialog --- gui/src/renderer/components/VpnSettings.tsx | 26 +++++++++++++-------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/gui/src/renderer/components/VpnSettings.tsx b/gui/src/renderer/components/VpnSettings.tsx index 13a4503d7167..c884db3e5ee2 100644 --- a/gui/src/renderer/components/VpnSettings.tsx +++ b/gui/src/renderer/components/VpnSettings.tsx @@ -496,20 +496,26 @@ function EnableIpv6() { {messages.pgettext('vpn-settings-view', 'Enable IPv6')} + + + + {messages.pgettext( + 'vpn-settings-view', + 'When this feature is enabled, IPv6 can be used alongside IPv4 in the VPN tunnel to communicate with internet services.', + )} + + + {messages.pgettext( + 'vpn-settings-view', + 'IPv4 is always enabled and the majority of websites and applications use this protocol. We do not recommend enabling IPv6 unless you know you need it.', + )} + + + - - - - {messages.pgettext( - 'vpn-settings-view', - 'Enable IPv6 communication through the tunnel.', - )} - - - ); } From d1be0d3e634f08588dde9fab01d2b744e0142504 Mon Sep 17 00:00:00 2001 From: Oskar Nyberg Date: Mon, 16 Oct 2023 15:17:37 +0200 Subject: [PATCH 2/2] Update translations with IPv6 info dialog strings --- gui/locales/messages.pot | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/gui/locales/messages.pot b/gui/locales/messages.pot index d28aac8520cf..2b8e1ba6990c 100644 --- a/gui/locales/messages.pot +++ b/gui/locales/messages.pot @@ -1445,10 +1445,6 @@ msgctxt "vpn-settings-view" msgid "Enable IPv6" msgstr "" -msgctxt "vpn-settings-view" -msgid "Enable IPv6 communication through the tunnel." -msgstr "" - #. The label next to the multihop settings toggle. msgctxt "vpn-settings-view" msgid "Enable multihop" @@ -1474,6 +1470,10 @@ msgctxt "vpn-settings-view" msgid "Increases anonymity by routing your traffic into one %(wireguard)s server and out another, making it harder to trace." msgstr "" +msgctxt "vpn-settings-view" +msgid "IPv4 is always enabled and the majority of websites and applications use this protocol. We do not recommend enabling IPv6 unless you know you need it." +msgstr "" + msgctxt "vpn-settings-view" msgid "It does this by allowing network communication outside the tunnel to local multicast and broadcast ranges as well as to and from these private IP ranges:" msgstr "" @@ -1565,6 +1565,10 @@ msgctxt "vpn-settings-view" msgid "When this feature is enabled it stops the device from contacting certain domains or websites known for distributing ads, malware, trackers and more." msgstr "" +msgctxt "vpn-settings-view" +msgid "When this feature is enabled, IPv6 can be used alongside IPv4 in the VPN tunnel to communicate with internet services." +msgstr "" + msgctxt "vpn-settings-view" msgid "With Lockdown Mode enabled, you must be connected to a Mullvad VPN server to be able to reach the internet. Manually disconnecting or quitting the app will block your connection." msgstr ""