From ca8aa4a6513bee8be5a71fbb91092765552ed8df Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Sun, 24 May 2026 15:14:06 -0500 Subject: [PATCH] change terminology to off/on instead of disabled/enabled --- web/public/locales/en/components/player.json | 2 +- web/public/locales/en/views/live.json | 6 +++--- web/src/components/menu/LiveContextMenu.tsx | 2 +- web/src/components/player/LivePlayer.tsx | 2 +- web/src/views/live/LiveCameraView.tsx | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/web/public/locales/en/components/player.json b/web/public/locales/en/components/player.json index 6ceef7e0cd..011baaa1bf 100644 --- a/web/public/locales/en/components/player.json +++ b/web/public/locales/en/components/player.json @@ -12,7 +12,7 @@ "title": "Stream Offline", "desc": "No frames have been received on the {{cameraName}} detect stream, check error logs" }, - "cameraDisabled": "Camera is disabled", + "cameraOff": "Camera is off", "stats": { "streamType": { "title": "Stream Type:", diff --git a/web/public/locales/en/views/live.json b/web/public/locales/en/views/live.json index 3aa892222a..f2ea2721f1 100644 --- a/web/public/locales/en/views/live.json +++ b/web/public/locales/en/views/live.json @@ -57,8 +57,8 @@ "presets": "PTZ camera presets" }, "camera": { - "enable": "Enable Camera", - "disable": "Disable Camera" + "turnOn": "Turn Camera On", + "turnOff": "Turn Camera Off" }, "muteCameras": { "enable": "Mute All Cameras", @@ -153,7 +153,7 @@ }, "cameraSettings": { "title": "{{camera}} Settings", - "cameraEnabled": "Camera Enabled", + "camera": "Camera", "objectDetection": "Object Detection", "recording": "Recording", "snapshots": "Snapshots", diff --git a/web/src/components/menu/LiveContextMenu.tsx b/web/src/components/menu/LiveContextMenu.tsx index 8ed78e348c..c5c8c56c9a 100644 --- a/web/src/components/menu/LiveContextMenu.tsx +++ b/web/src/components/menu/LiveContextMenu.tsx @@ -320,7 +320,7 @@ export default function LiveContextMenu({ onClick={() => sendEnabled(isEnabled ? "OFF" : "ON")} >
- {isEnabled ? t("camera.disable") : t("camera.enable")} + {isEnabled ? t("camera.turnOff") : t("camera.turnOn")}
diff --git a/web/src/components/player/LivePlayer.tsx b/web/src/components/player/LivePlayer.tsx index 0ab7033528..0170f9dd1e 100644 --- a/web/src/components/player/LivePlayer.tsx +++ b/web/src/components/player/LivePlayer.tsx @@ -488,7 +488,7 @@ export default function LivePlayer({

- {t("cameraDisabled")} + {t("cameraOff")}

diff --git a/web/src/views/live/LiveCameraView.tsx b/web/src/views/live/LiveCameraView.tsx index 0cf9525ff6..50e8a12d58 100644 --- a/web/src/views/live/LiveCameraView.tsx +++ b/web/src/views/live/LiveCameraView.tsx @@ -1048,7 +1048,7 @@ function FrigateCameraFeatures({ Icon={enabledState == "ON" ? LuPower : LuPowerOff} isActive={enabledState == "ON"} title={ - enabledState == "ON" ? t("camera.disable") : t("camera.enable") + enabledState == "ON" ? t("camera.turnOff") : t("camera.turnOn") } onClick={() => sendEnabled(enabledState == "ON" ? "OFF" : "ON")} disabled={debug} @@ -1489,7 +1489,7 @@ function FrigateCameraFeatures({ {isAdmin && ( <> sendEnabled(enabledState == "ON" ? "OFF" : "ON")