Skip to content

Commit

Permalink
Merge branch 'add-information-dialog-to-enable-ipv6-feature-des-212'
Browse files Browse the repository at this point in the history
  • Loading branch information
raksooo committed Oct 17, 2023
2 parents c1aaea2 + d1be0d3 commit eb5791d
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 14 deletions.
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

0 comments on commit eb5791d

Please sign in to comment.