summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorTobias Järvelöv <tobias.jarvelov@mullvad.net>2025-03-03 09:59:12 +0100
committerMarkus Pettersson <markus.pettersson@mullvad.net>2025-03-05 13:20:55 +0100
commitf665c004c8e4b0f166dd3256a8e08e72a52c83e1 (patch)
tree115dd0a9a70e4e1bcc0d65490b344043dc84c974
parentdd607dd8f3b07a70d327fc48a8f14cb0e707e8b4 (diff)
downloadmullvadvpn-f665c004c8e4b0f166dd3256a8e08e72a52c83e1.tar.xz
mullvadvpn-f665c004c8e4b0f166dd3256a8e08e72a52c83e1.zip
Move DAITA warning to top of first carousel page
Also move the last text block of the first page to the second page to keep the pages similar in height.
-rw-r--r--desktop/packages/mullvad-vpn/src/renderer/components/DaitaSettings.tsx26
1 files changed, 13 insertions, 13 deletions
diff --git a/desktop/packages/mullvad-vpn/src/renderer/components/DaitaSettings.tsx b/desktop/packages/mullvad-vpn/src/renderer/components/DaitaSettings.tsx
index 2cee5bae1e..9a1878a745 100644
--- a/desktop/packages/mullvad-vpn/src/renderer/components/DaitaSettings.tsx
+++ b/desktop/packages/mullvad-vpn/src/renderer/components/DaitaSettings.tsx
@@ -62,6 +62,15 @@ export default function DaitaSettings() {
{sprintf(
messages.pgettext(
'wireguard-settings-view',
+ 'Attention: Be cautious if you have a limited data plan as this feature will increase your network traffic. This feature can only be used with %(wireguard)s.',
+ ),
+ { wireguard: strings.wireguard },
+ )}
+ </StyledHeaderSubTitle>
+ <StyledHeaderSubTitle>
+ {sprintf(
+ messages.pgettext(
+ 'wireguard-settings-view',
'%(daita)s (%(daitaFull)s) hides patterns in your encrypted VPN traffic.',
),
{ daita: strings.daita, daitaFull: strings.daitaFull },
@@ -73,15 +82,6 @@ export default function DaitaSettings() {
'By using sophisticated AI it’s possible to analyze the traffic of data packets going in and out of your device (even if the traffic is encrypted).',
)}
</StyledHeaderSubTitle>
- <StyledHeaderSubTitle>
- {sprintf(
- messages.pgettext(
- 'wireguard-settings-view',
- 'If an observer monitors these data packets, %(daita)s makes it significantly harder for them to identify which websites you are visiting or with whom you are communicating.',
- ),
- { daita: strings.daita },
- )}
- </StyledHeaderSubTitle>
</Flex>
</React.Fragment>,
<React.Fragment key="with-daita">
@@ -93,7 +93,7 @@ export default function DaitaSettings() {
{sprintf(
messages.pgettext(
'wireguard-settings-view',
- '%(daita)s does this by carefully adding network noise and making all network packets the same size.',
+ 'If an observer monitors these data packets, %(daita)s makes it significantly harder for them to identify which websites you are visiting or with whom you are communicating.',
),
{ daita: strings.daita },
)}
@@ -102,7 +102,7 @@ export default function DaitaSettings() {
{sprintf(
messages.pgettext(
'wireguard-settings-view',
- 'Not all our servers are %(daita)s-enabled. Therefore, we use multihop automatically to enable %(daita)s with any server.',
+ '%(daita)s does this by carefully adding network noise and making all network packets the same size.',
),
{ daita: strings.daita },
)}
@@ -111,9 +111,9 @@ export default function DaitaSettings() {
{sprintf(
messages.pgettext(
'wireguard-settings-view',
- 'Attention: Be cautious if you have a limited data plan as this feature will increase your network traffic. This feature can only be used with %(wireguard)s.',
+ 'Not all our servers are %(daita)s-enabled. Therefore, we use multihop automatically to enable %(daita)s with any server.',
),
- { wireguard: strings.wireguard },
+ { daita: strings.daita },
)}
</StyledHeaderSubTitle>
</Flex>