Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add IPv6 info dialog #5303

Merged
merged 2 commits into from
Oct 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions gui/locales/messages.pot
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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 ""
Expand Down Expand Up @@ -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 ""
Expand Down
26 changes: 16 additions & 10 deletions gui/src/renderer/components/VpnSettings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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>
);
}
Expand Down
Loading