summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--desktop/packages/mullvad-vpn/src/renderer/components/DaitaSettings.tsx11
-rw-r--r--desktop/packages/mullvad-vpn/src/renderer/components/MultihopSettings.tsx11
2 files changed, 16 insertions, 6 deletions
diff --git a/desktop/packages/mullvad-vpn/src/renderer/components/DaitaSettings.tsx b/desktop/packages/mullvad-vpn/src/renderer/components/DaitaSettings.tsx
index 38de8d3ff1..477f9f3f45 100644
--- a/desktop/packages/mullvad-vpn/src/renderer/components/DaitaSettings.tsx
+++ b/desktop/packages/mullvad-vpn/src/renderer/components/DaitaSettings.tsx
@@ -273,14 +273,19 @@ function DirectOnlyModalMessage() {
}
function featureUnavailableMessage() {
- const automatic = messages.gettext('Automatic');
const tunnelProtocol = messages.pgettext('vpn-settings-view', 'Tunnel protocol');
return sprintf(
messages.pgettext(
+ // TRANSLATORS: Informs the user that the the feature is only available when WireGuard
+ // TRANSLATORS: is selected.
+ // TRANSLATORS: Available placeholders:
+ // TRANSLATORS: %(wireguard)s - will be replaced with WireGuard
+ // TRANSLATORS: %(tunnelProtocol)s - the name of the tunnel protocol setting
+ // TRANSLATORS: %(setting)s - the name of the setting
'wireguard-settings-view',
- 'Switch to “%(wireguard)s” or “%(automatic)s” in Settings > %(tunnelProtocol)s to make %(setting)s available.',
+ 'Switch to “%(wireguard)s” in Settings > %(tunnelProtocol)s to make %(setting)s available.',
),
- { wireguard: strings.wireguard, automatic, tunnelProtocol, setting: strings.daita },
+ { wireguard: strings.wireguard, tunnelProtocol, setting: strings.daita },
);
}
diff --git a/desktop/packages/mullvad-vpn/src/renderer/components/MultihopSettings.tsx b/desktop/packages/mullvad-vpn/src/renderer/components/MultihopSettings.tsx
index f2681f9614..87ce98f6c8 100644
--- a/desktop/packages/mullvad-vpn/src/renderer/components/MultihopSettings.tsx
+++ b/desktop/packages/mullvad-vpn/src/renderer/components/MultihopSettings.tsx
@@ -106,15 +106,20 @@ function MultihopSetting() {
}
function featureUnavailableMessage() {
- const automatic = messages.gettext('Automatic');
const tunnelProtocol = messages.pgettext('vpn-settings-view', 'Tunnel protocol');
const multihop = messages.pgettext('wireguard-settings-view', 'Multihop');
return sprintf(
messages.pgettext(
+ // TRANSLATORS: Informs the user that the the feature is only available when WireGuard
+ // TRANSLATORS: is selected.
+ // TRANSLATORS: Available placeholders:
+ // TRANSLATORS: %(wireguard)s - will be replaced with WireGuard
+ // TRANSLATORS: %(tunnelProtocol)s - the name of the tunnel protocol setting
+ // TRANSLATORS: %(setting)s - the name of the setting
'wireguard-settings-view',
- 'Switch to “%(wireguard)s” or “%(automatic)s” in Settings > %(tunnelProtocol)s to make %(setting)s available.',
+ 'Switch to “%(wireguard)s” in Settings > %(tunnelProtocol)s to make %(setting)s available.',
),
- { wireguard: strings.wireguard, automatic, tunnelProtocol, setting: multihop },
+ { wireguard: strings.wireguard, tunnelProtocol, setting: multihop },
);
}