diff options
| author | Oskar Nyberg <oskar@mullvad.net> | 2023-10-17 14:49:22 +0200 |
|---|---|---|
| committer | Oskar Nyberg <oskar@mullvad.net> | 2023-10-17 14:49:22 +0200 |
| commit | eb5791db7435a335bec574228f5ddab3f327c7af (patch) | |
| tree | 60976b44eba54e5c3b251e915597160b42444957 | |
| parent | c1aaea2ee6e44d18d8f972eeecf3a1055fd3ad6d (diff) | |
| parent | d1be0d3e634f08588dde9fab01d2b744e0142504 (diff) | |
| download | mullvadvpn-eb5791db7435a335bec574228f5ddab3f327c7af.tar.xz mullvadvpn-eb5791db7435a335bec574228f5ddab3f327c7af.zip | |
Merge branch 'add-information-dialog-to-enable-ipv6-feature-des-212'
| -rw-r--r-- | gui/locales/messages.pot | 12 | ||||
| -rw-r--r-- | gui/src/renderer/components/VpnSettings.tsx | 26 |
2 files changed, 24 insertions, 14 deletions
diff --git a/gui/locales/messages.pot b/gui/locales/messages.pot index d28aac8520..2b8e1ba699 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" @@ -1475,6 +1471,10 @@ msgid "Increases anonymity by routing your traffic into one %(wireguard)s server 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 "" @@ -1566,6 +1566,10 @@ msgid "When this feature is enabled it stops the device from contacting certain 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 "" diff --git a/gui/src/renderer/components/VpnSettings.tsx b/gui/src/renderer/components/VpnSettings.tsx index 13a4503d71..c884db3e5e 100644 --- a/gui/src/renderer/components/VpnSettings.tsx +++ b/gui/src/renderer/components/VpnSettings.tsx @@ -496,20 +496,26 @@ function EnableIpv6() { <AriaLabel> <Cell.InputLabel>{messages.pgettext('vpn-settings-view', 'Enable IPv6')}</Cell.InputLabel> </AriaLabel> + <AriaDetails> + <InfoButton> + <ModalMessage> + {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.', + )} + </ModalMessage> + <ModalMessage> + {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.', + )} + </ModalMessage> + </InfoButton> + </AriaDetails> <AriaInput> <Cell.Switch isOn={enableIpv6} onChange={setEnableIpv6} /> </AriaInput> </Cell.Container> - <Cell.CellFooter> - <AriaDescription> - <Cell.CellFooterText> - {messages.pgettext( - 'vpn-settings-view', - 'Enable IPv6 communication through the tunnel.', - )} - </Cell.CellFooterText> - </AriaDescription> - </Cell.CellFooter> </AriaInputGroup> ); } |
