diff options
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( |
