Skip to content

Commit

Permalink
Add IPv6 info dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
raksooo committed Oct 17, 2023
1 parent c1aaea2 commit adb0996
Showing 1 changed file with 16 additions and 10 deletions.
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 adb0996

Please sign in to comment.