From a52009b93b7bb88f5ae24c20a22a5ffd1f9c47e6 Mon Sep 17 00:00:00 2001 From: Chris <185133702+chrisriv10@users.noreply.github.com> Date: Fri, 31 Jul 2026 23:34:49 -0500 Subject: [PATCH] fix: restore lockdown i18n translations that were removed - Restore all lockdown.* translation keys that were accidentally removed - Add missing nav.lockdown navigation entry - Fixes issue where lockdown page showed raw translation keys instead of text --- src/i18n/locales/en.json | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/src/i18n/locales/en.json b/src/i18n/locales/en.json index 4f854cd..4831355 100644 --- a/src/i18n/locales/en.json +++ b/src/i18n/locales/en.json @@ -123,6 +123,8 @@ "settings.browserExtension.installed": "Native messaging host installed. Install the extension from Chrome Web Store.", "settings.browserExtension.installFailed": "Failed to install native host: {error}", "settings.browserExtension.disabled": "Browser extension integration disabled", + "settings.emergencyLockdown.label": "Emergency Lockdown", + "settings.emergencyLockdown.desc": "Enable emergency lockdown mode to quickly isolate the system from network threats", "settings.colorScheme": "Color Scheme", "tray.systemHealth": "System Health", "tray.rtpActive": "RTP Active", @@ -215,10 +217,43 @@ "nav.firewall": "Firewall Management", "nav.network": "Network Monitor", "nav.passwords": "Credential Safety Hub", + "nav.lockdown": "Emergency Lockdown", "nav.tools": "Tools & Maintenance", "nav.reports": "Reports", "nav.settings": "Settings", "nav.scanning": "Scanning…", + "lockdown.title": "Emergency Lockdown", + "lockdown.description": "Instantly disable all network interfaces and stop non-essential services for emergency situations.", + "lockdown.checking": "Checking status…", + "lockdown.normal": "Normal Operation", + "lockdown.normalDetail": "All systems are running normally", + "lockdown.active": "Lockdown Active", + "lockdown.activeDetail": "Network disabled and services stopped", + "lockdown.activate": "Activate Lockdown", + "lockdown.restore": "Restore Systems", + "lockdown.activating": "Activating lockdown…", + "lockdown.restoring": "Restoring systems…", + "lockdown.error": "Error", + "lockdown.confirmActivate": "Are you sure you want to activate emergency lockdown? This will disable all network interfaces and stop non-essential services.", + "lockdown.confirmRestore": "Are you sure you want to restore systems? This will re-enable network interfaces and restart services.", + "lockdown.changes": "Changes Made", + "lockdown.network": "Network Interfaces", + "lockdown.services": "Services Stopped", + "lockdown.errors": "Errors", + "lockdown.warning": "Warning: Emergency lockdown will disconnect you from the internet and stop background services. Use only in emergency situations.", + "lockdown.none": "None", + "lockdown.skippedInterfaces": "Skipped Interfaces (Allowlisted)", + "lockdown.skippedServices": "Skipped Services (Allowlisted)", + "lockdown.allowlist.title": "Allowlist", + "lockdown.allowlist.description": "Interfaces, services, and IPs listed here will remain active during lockdown. Use to maintain critical connectivity (VPN, management, backups).", + "lockdown.allowlist.interfaces": "Network Interfaces", + "lockdown.allowlist.services": "Services", + "lockdown.allowlist.ips": "IP Addresses", + "lockdown.allowlist.add": "Add", + "lockdown.allowlist.remove": "Remove", + "lockdown.allowlist.addPlaceholder": "Enter interface/service name...", + "lockdown.allowlist.ipPlaceholder": "Enter IP address (e.g., 192.168.1.100)...", + "lockdown.allowlist.empty": "No items in allowlist", "uninstaller.title": "Software Uninstaller", "uninstaller.installedApps": "Installed applications", "uninstaller.uninstall": "Uninstall",