summaryrefslogtreecommitdiffhomepage
path: root/gui/src/shared/notifications
diff options
context:
space:
mode:
authorOskar Nyberg <oskar@mullvad.net>2022-08-29 10:33:02 +0200
committerOskar Nyberg <oskar@mullvad.net>2022-08-29 10:33:48 +0200
commit26d19e6f0cd3e314193cd928ed8c26291b5bf579 (patch)
tree6bfe664138e68cea7d2e2766a9863c81b1d68f9a /gui/src/shared/notifications
parent141be10620640c3b54b35ce71b6184d02d72a044 (diff)
downloadmullvadvpn-26d19e6f0cd3e314193cd928ed8c26291b5bf579.tar.xz
mullvadvpn-26d19e6f0cd3e314193cd928ed8c26291b5bf579.zip
Replace the remaining mentions of Always require VPN
Diffstat (limited to 'gui/src/shared/notifications')
-rw-r--r--gui/src/shared/notifications/block-when-disconnected.ts6
1 files changed, 5 insertions, 1 deletions
diff --git a/gui/src/shared/notifications/block-when-disconnected.ts b/gui/src/shared/notifications/block-when-disconnected.ts
index 4cc30c0de0..91b464a299 100644
--- a/gui/src/shared/notifications/block-when-disconnected.ts
+++ b/gui/src/shared/notifications/block-when-disconnected.ts
@@ -23,7 +23,11 @@ export class BlockWhenDisconnectedNotificationProvider implements InAppNotificat
}
public getInAppNotification(): InAppNotification {
- let subtitle = messages.pgettext('in-app-notifications', '"Always require VPN" is enabled.');
+ const lockdownModeSettingName = messages.pgettext('vpn-settings-view', 'Lockdown mode');
+ let subtitle = sprintf(
+ messages.pgettext('in-app-notifications', '"%(lockdownModeSettingName)s" is enabled.'),
+ { lockdownModeSettingName },
+ );
if (this.context.hasExcludedApps) {
subtitle = `${subtitle} ${sprintf(
messages.pgettext(