diff options
| author | Oskar Nyberg <oskar@mullvad.net> | 2022-08-29 12:03:07 +0200 |
|---|---|---|
| committer | Oskar Nyberg <oskar@mullvad.net> | 2022-08-29 12:03:07 +0200 |
| commit | 6057fe4cbfd1259dc7dbfff84d946825e82c7dbc (patch) | |
| tree | 308892951b2073c356a79b0f7491766bfd666e58 /gui/src/shared | |
| parent | 141be10620640c3b54b35ce71b6184d02d72a044 (diff) | |
| parent | 4dc8473bfb14b3a810658d91f8996d7c856fc644 (diff) | |
| download | mullvadvpn-6057fe4cbfd1259dc7dbfff84d946825e82c7dbc.tar.xz mullvadvpn-6057fe4cbfd1259dc7dbfff84d946825e82c7dbc.zip | |
Merge branch 'remove-always-require-vpn-messages'
Diffstat (limited to 'gui/src/shared')
| -rw-r--r-- | gui/src/shared/notifications/block-when-disconnected.ts | 6 |
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( |
