add config groups as a separate i18n namespace

This commit is contained in:
Josh Hawkins
2026-02-27 09:37:57 -06:00
parent 3fc07e507a
commit aad24497bf
10 changed files with 49 additions and 30 deletions
-4
View File
@@ -1,10 +1,6 @@
{
"label": "Audio events",
"description": "settings for audio-based event detection; camera-level settings can override these.",
"groups": {
"detection": "Detection",
"sensitivity": "Sensitivity"
},
"enabled": {
"label": "Enable audio events",
"description": "Enable or disable audio event detection globally. Can be overridden per camera."
-4
View File
@@ -1,10 +1,6 @@
{
"label": "Object Detection",
"description": "Settings for the detection/detect role used to run object detection and initialize trackers.",
"groups": {
"resolution": "Resolution",
"tracking": "Tracking"
},
"enabled": {
"label": "Detection Enabled",
"description": "Enable or disable object detection for this camera. Detection must be enabled for object tracking to run."
+28
View File
@@ -0,0 +1,28 @@
{
"audio": {
"detection": "Detection",
"sensitivity": "Sensitivity"
},
"timestamp_style": {
"appearance": "Appearance"
},
"motion": {
"sensitivity": "Sensitivity",
"algorithm": "Algorithm"
},
"snapshots": {
"display": "Display"
},
"detect": {
"resolution": "Resolution",
"tracking": "Tracking"
},
"objects": {
"tracking": "Tracking",
"filtering": "Filtering"
},
"record": {
"retention": "Retention",
"events": "Events"
}
}
-4
View File
@@ -1,10 +1,6 @@
{
"label": "Motion detection",
"description": "Default motion detection settings applied to cameras unless overridden per-camera.",
"groups": {
"sensitivity": "Sensitivity",
"algorithm": "Algorithm"
},
"enabled": {
"label": "Enable motion detection",
"description": "Enable or disable motion detection globally; per-camera settings can override this."
@@ -1,10 +1,6 @@
{
"label": "Objects",
"description": "Object tracking defaults including which labels to track and per-object filters.",
"groups": {
"tracking": "Tracking",
"filtering": "Filtering"
},
"track": {
"label": "Objects to track",
"description": "List of object labels to track globally; camera configs can override this."
-4
View File
@@ -1,10 +1,6 @@
{
"label": "Recording",
"description": "Recording and retention settings applied to cameras unless overridden per-camera.",
"groups": {
"retention": "Retention",
"events": "Events"
},
"enabled": {
"label": "Enable record on all cameras",
"description": "Enable or disable recording globally; individual cameras can override this."
@@ -1,9 +1,6 @@
{
"label": "Snapshots",
"description": "Settings for saved JPEG snapshots of tracked objects; can be overridden per-camera.",
"groups": {
"display": "Display"
},
"enabled": {
"label": "Snapshots enabled",
"description": "Enable or disable saving snapshots globally."
@@ -1,9 +1,6 @@
{
"label": "Timestamp style",
"description": "Styling options for in-feed timestamps applied to recordings and snapshots.",
"groups": {
"appearance": "Appearance"
},
"position": {
"label": "Timestamp position",
"description": "Position of the timestamp on the image (tl/tr/bl/br)."