From d0ddc92908e30274bc12854df64a0beb2f243e4a Mon Sep 17 00:00:00 2001 From: Florian Duros Date: Wed, 25 Jun 2025 17:24:25 +0200 Subject: [PATCH] fix: use correct translation for content protection in settings (#30210) --- src/i18n/strings/en_EN.json | 1 + src/settings/Settings.tsx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/i18n/strings/en_EN.json b/src/i18n/strings/en_EN.json index abcca3744e..62c8266ac8 100644 --- a/src/i18n/strings/en_EN.json +++ b/src/i18n/strings/en_EN.json @@ -2844,6 +2844,7 @@ "composer_heading": "Composer", "default_timezone": "Browser default (%(timezone)s)", "dialog_title": "Settings: Preferences", + "enable_content_protection": "Enable content protection", "enable_hardware_acceleration": "Enable hardware acceleration", "enable_tray_icon": "Show tray icon and minimise window to it on close", "keyboard_heading": "Keyboard shortcuts", diff --git a/src/settings/Settings.tsx b/src/settings/Settings.tsx index 3ca7503cd1..301c54f4de 100644 --- a/src/settings/Settings.tsx +++ b/src/settings/Settings.tsx @@ -1394,7 +1394,7 @@ export const SETTINGS: Settings = { }, "Electron.enableContentProtection": { supportedLevels: [SettingLevel.PLATFORM], - displayName: _td("settings|preferences|enable_hardware_acceleration"), + displayName: _td("settings|preferences|enable_content_protection"), default: false, }, "Developer.elementCallUrl": {