summaryrefslogtreecommitdiffhomepage
path: root/gui/src
diff options
context:
space:
mode:
authorOskar Nyberg <oskar@mullvad.net>2024-04-11 18:51:21 +0200
committerDavid Lönnhager <david.l@mullvad.net>2024-04-16 14:43:19 +0200
commitbc9bf8d7b2a544c4f9ee325799427bdbf609ae54 (patch)
tree3bbee0249c6ba00200bdda71e961b276e2801a4a /gui/src
parentb3d948bb2e5851ca0b181b1e2249506b3150e1a7 (diff)
downloadmullvadvpn-bc9bf8d7b2a544c4f9ee325799427bdbf609ae54.tar.xz
mullvadvpn-bc9bf8d7b2a544c4f9ee325799427bdbf609ae54.zip
Fix DAITA help texts
Diffstat (limited to 'gui/src')
-rw-r--r--gui/src/renderer/components/WireguardSettings.tsx33
1 files changed, 22 insertions, 11 deletions
diff --git a/gui/src/renderer/components/WireguardSettings.tsx b/gui/src/renderer/components/WireguardSettings.tsx
index 345231040e..d315485659 100644
--- a/gui/src/renderer/components/WireguardSettings.tsx
+++ b/gui/src/renderer/components/WireguardSettings.tsx
@@ -591,7 +591,7 @@ function DaitaSettings() {
{sprintf(
messages.pgettext(
'wireguard-settings-view',
- '%(daita)s (%(daitaFull)s) hides patterns in the encrypted VPN traffic. It does this by padding all packets to the same size, and by inserting extra noise traffic into the stream. This makes it significantly harder for an observer on the network to identify what services you are talking to.',
+ '%(daita)s (%(daitaFull)s) hides patterns in your encrypted VPN traffic. If anyone is monitoring your connection, this makes it significantly harder for them to identify what websites you are visiting. It does this by carefully adding network noise and making all network packets the same size.',
),
{ daita: strings.daita, daitaFull: strings.daitaFull },
)}
@@ -600,7 +600,7 @@ function DaitaSettings() {
{sprintf(
messages.pgettext(
'wireguard-settings-view',
- 'This feature cause significant performance and network overhead. We do not recommend enabling it unless you know you need it. We also do not recommend enabling %(daita)s on a metered internet connection.',
+ 'Attention: Since this increases your total network traffic, be cautious if you have a limited data plan. It can also negatively impact your network speed. Please consider this if you want to enable %(daita)s.',
),
{ daita: strings.daita },
)}
@@ -614,13 +614,6 @@ function DaitaSettings() {
<ModalAlert
isOpen={confirmationDialogVisible}
type={ModalAlertType.caution}
- message={
- // TRANSLATORS: Warning text in a dialog that is displayed after a setting is toggled.
- messages.pgettext(
- 'wireguard-settings-view',
- "This feature isn't available on all servers. You might need to change location after enabling.",
- )
- }
buttons={[
<AppButton.BlueButton key="confirm" onClick={confirmDaita}>
{messages.gettext('Enable anyway')}
@@ -629,8 +622,26 @@ function DaitaSettings() {
{messages.gettext('Back')}
</AppButton.BlueButton>,
]}
- close={hideConfirmationDialog}
- />
+ close={hideConfirmationDialog}>
+ <ModalMessage>
+ {
+ // TRANSLATORS: Warning text in a dialog that is displayed after a setting is toggled.
+ messages.pgettext(
+ 'wireguard-settings-view',
+ "This feature isn't available on all servers. You might need to change location after enabling.",
+ )
+ }
+ </ModalMessage>
+ <ModalMessage>
+ {sprintf(
+ messages.pgettext(
+ 'wireguard-settings-view',
+ 'Attention: Since this increases your total network traffic, be cautious if you have a limited data plan. It can also negatively impact your network speed. Please consider this if you want to enable %(daita)s.',
+ ),
+ { daita: strings.daita },
+ )}
+ </ModalMessage>
+ </ModalAlert>
</>
);
}