From 6bffeffd1c05b8f5bbbb4a3687a98fe123995c35 Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Mon, 10 Nov 2025 08:03:22 -0600 Subject: [PATCH] add onvif form description --- web/public/locales/en/views/settings.json | 5 +++-- web/src/components/settings/wizard/Step1NameCamera.tsx | 3 +++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/web/public/locales/en/views/settings.json b/web/public/locales/en/views/settings.json index f00fe5b00..5cdc587dc 100644 --- a/web/public/locales/en/views/settings.json +++ b/web/public/locales/en/views/settings.json @@ -189,7 +189,7 @@ "brandUrlFormat": "For cameras with the RTSP URL format as: {{exampleUrl}}", "customUrlPlaceholder": "rtsp://username:password@host:port/path", "connectionSettings": "Connection Settings", - "detectionMethod": "Detection Method", + "detectionMethod": "Stream Detection Method", "onvifPort": "ONVIF Port", "probeMode": "Probe camera", "manualMode": "Manual selection", @@ -201,7 +201,8 @@ "probingMetadata": "Probing camera metadata...", "fetchingSnapshot": "Fetching camera snapshot..." }, - "detectionMethodDescription": "Probe the camera with ONVIF to find camera stream URLs, or manually select the camera brand to use pre-defined URLs. To enter a custom RTSP URL, choose the manual method and select \"Other\".", + "detectionMethodDescription": "Probe the camera with ONVIF (if supported) to find camera stream URLs, or manually select the camera brand to use pre-defined URLs. To enter a custom RTSP URL, choose the manual method and select \"Other\".", + "onvifPortDescription": "For cameras that support ONVIF, this is usually 80 or 8080.", "probingDevice": "Probing device...", "probeError": "Probe Error", "probeNoSuccess": "Probe unsuccessful", diff --git a/web/src/components/settings/wizard/Step1NameCamera.tsx b/web/src/components/settings/wizard/Step1NameCamera.tsx index e770b2ec7..9d76cf3c3 100644 --- a/web/src/components/settings/wizard/Step1NameCamera.tsx +++ b/web/src/components/settings/wizard/Step1NameCamera.tsx @@ -761,6 +761,9 @@ export default function Step1NameCamera({ placeholder="80" /> + + {t("cameraWizard.step1.onvifPortDescription")} + {fieldState.error ? fieldState.error.message : null}