summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorOskar Nyberg <oskar@mullvad.net>2021-04-12 20:36:36 +0200
committerOskar Nyberg <oskar@mullvad.net>2021-04-14 09:56:55 +0200
commitb06dbca1ae73d16e0cc7a33e49550ff21aab6c67 (patch)
tree564244b7ddf7ebdd0ef5ea5c62983a7cbdb43a79
parent4a3e5171461eb2c4079ec3ce7d75a875442b98b0 (diff)
downloadmullvadvpn-b06dbca1ae73d16e0cc7a33e49550ff21aab6c67.tar.xz
mullvadvpn-b06dbca1ae73d16e0cc7a33e49550ff21aab6c67.zip
Change custom DNS warning message for public IPs
-rw-r--r--gui/locales/messages.pot5
-rw-r--r--gui/src/renderer/components/AdvancedSettings.tsx2
2 files changed, 5 insertions, 2 deletions
diff --git a/gui/locales/messages.pot b/gui/locales/messages.pot
index 3e6e8b0bd1..088dfe0550 100644
--- a/gui/locales/messages.pot
+++ b/gui/locales/messages.pot
@@ -254,7 +254,7 @@ msgid "The automatic setting will randomly choose from a wide range of ports."
msgstr ""
msgctxt "advanced-settings-view"
-msgid "The DNS server you are trying to add might not work because it is public. Currently we only support local DNS servers."
+msgid "The DNS server you want to add is public and will only work with WireGuard. To ensure that it always works, set the \"Tunnel protocol\" (in Advanced settings) to WireGuard."
msgstr ""
msgctxt "advanced-settings-view"
@@ -1130,6 +1130,9 @@ msgstr ""
msgid "Split tunneling makes it possible to select which applications should not be routed through the VPN tunnel."
msgstr ""
+msgid "The DNS server you are trying to add might not work because it is public. Currently we only support local DNS servers."
+msgstr ""
+
msgid "The local DNS server will not work unless you enable \"Local Network Sharing\" under Preferences."
msgstr ""
diff --git a/gui/src/renderer/components/AdvancedSettings.tsx b/gui/src/renderer/components/AdvancedSettings.tsx
index 341a6bed74..42c1f38d66 100644
--- a/gui/src/renderer/components/AdvancedSettings.tsx
+++ b/gui/src/renderer/components/AdvancedSettings.tsx
@@ -651,7 +651,7 @@ export default class AdvancedSettings extends React.Component<IProps, IState> {
close={this.hideCustomDnsConfirmationDialog}
message={messages.pgettext(
'advanced-settings-view',
- 'The DNS server you are trying to add might not work because it is public. Currently we only support local DNS servers.',
+ 'The DNS server you want to add is public and will only work with WireGuard. To ensure that it always works, set the "Tunnel protocol" (in Advanced settings) to WireGuard.',
)}></ModalAlert>
);
};