don't use properties wrapper when generating config i18n json

This commit is contained in:
Josh Hawkins 2026-01-23 09:55:56 -06:00
parent 68c74fef05
commit 425e68c51c
32 changed files with 1351 additions and 1526 deletions

View File

@ -38,8 +38,8 @@ def process_model_fields(model: type[BaseModel]) -> Dict[str, Any]:
"""
Recursively process a Pydantic model to extract translations.
Returns a nested dictionary structure matching the config schema,
with title and description for each field.
Returns a dictionary structure with nested fields directly under their
parent keys.
"""
translations = {}
@ -73,11 +73,11 @@ def process_model_fields(model: type[BaseModel]) -> Dict[str, Any]:
nested_translations = process_model_fields(value_type)
if nested_translations:
field_translations["properties"] = nested_translations
field_translations.update(nested_translations)
elif isinstance(field_type, type) and issubclass(field_type, BaseModel):
nested_translations = process_model_fields(field_type)
if nested_translations:
field_translations["properties"] = nested_translations
field_translations.update(nested_translations)
if field_translations:
translations[field_name] = field_translations
@ -90,6 +90,8 @@ def generate_section_translation(
) -> Dict[str, Any]:
"""
Generate translation structure for a top-level config section.
Returns a structure with label and description at root level,
and nested fields directly under their parent keys.
"""
section_translations = get_field_translations(field_info)
field_type = field_info.annotation
@ -109,13 +111,13 @@ def generate_section_translation(
if isinstance(value_type, type) and issubclass(value_type, BaseModel):
nested = process_model_fields(value_type)
if nested:
section_translations["properties"] = nested
section_translations.update(nested)
# If the field itself is a BaseModel, process it
# If the field itself is a BaseModel, process it and add nested translations
elif isinstance(field_type, type) and issubclass(field_type, BaseModel):
nested = process_model_fields(field_type)
if nested:
section_translations["properties"] = nested
section_translations.update(nested)
return section_translations

View File

@ -150,7 +150,10 @@
"export": "Export",
"deleteNow": "Delete Now",
"next": "Next",
"continue": "Continue"
"continue": "Continue",
"modified": "Modified",
"overridden": "Overridden",
"resetToGlobal": "Reset to Global"
},
"menu": {
"system": "System",

View File

@ -1,6 +1,5 @@
{
"label": "Global Audio events configuration.",
"properties": {
"enabled": {
"label": "Enable audio events."
},
@ -22,5 +21,4 @@
"num_threads": {
"label": "Number of detection threads"
}
}
}

View File

@ -1,6 +1,5 @@
{
"label": "Audio transcription config.",
"properties": {
"enabled": {
"label": "Enable audio transcription."
},
@ -8,16 +7,12 @@
"label": "Language abbreviation to use for audio event transcription/translation."
},
"device": {
"label": "The device used for license plate recognition."
"label": "The device used for audio transcription."
},
"model_size": {
"label": "The size of the embeddings model used."
},
"enabled_in_config": {
"label": "Keep track of original state of camera."
},
"live_enabled": {
"label": "Enable live transcriptions."
}
}
}

View File

@ -1,6 +1,5 @@
{
"label": "Auth configuration.",
"properties": {
"enabled": {
"label": "Enable authentication"
},
@ -30,6 +29,9 @@
},
"roles": {
"label": "Role to camera mappings. Empty list grants access to all cameras."
}
},
"admin_first_time_login": {
"label": "Internal field to expose first-time admin login flag to the UI",
"description": "When true the UI may show a help link on the login page informing users how to sign in after an admin password reset. "
}
}

View File

@ -1,6 +1,5 @@
{
"label": "Birdseye configuration.",
"properties": {
"enabled": {
"label": "Enable birdseye view."
},
@ -24,14 +23,14 @@
},
"layout": {
"label": "Birdseye Layout Config",
"properties": {
"scaling_factor": {
"label": "Birdseye Scaling Factor"
},
"max_cameras": {
"label": "Max cameras"
}
}
}
},
"idle_heartbeat_fps": {
"label": "Idle heartbeat FPS (0 disables, max 10)"
}
}

View File

@ -1,6 +1,5 @@
{
"label": "Camera group configuration",
"properties": {
"cameras": {
"label": "List of cameras in this group."
},
@ -10,5 +9,4 @@
"order": {
"label": "Sort order for group."
}
}
}

View File

@ -1,6 +1,5 @@
{
"label": "Camera configuration.",
"properties": {
"name": {
"label": "Camera name."
},
@ -12,7 +11,6 @@
},
"audio": {
"label": "Audio events configuration.",
"properties": {
"enabled": {
"label": "Enable audio events."
},
@ -34,34 +32,21 @@
"num_threads": {
"label": "Number of detection threads"
}
}
},
"audio_transcription": {
"label": "Audio transcription config.",
"properties": {
"enabled": {
"label": "Enable audio transcription."
},
"language": {
"label": "Language abbreviation to use for audio event transcription/translation."
},
"device": {
"label": "The device used for license plate recognition."
},
"model_size": {
"label": "The size of the embeddings model used."
},
"enabled_in_config": {
"label": "Keep track of original state of camera."
"label": "Keep track of original state of audio transcription."
},
"live_enabled": {
"label": "Enable live transcriptions."
}
}
},
"birdseye": {
"label": "Birdseye camera configuration.",
"properties": {
"enabled": {
"label": "Enable birdseye view for camera."
},
@ -71,11 +56,9 @@
"order": {
"label": "Position of the camera in the birdseye view."
}
}
},
"detect": {
"label": "Object detection configuration.",
"properties": {
"enabled": {
"label": "Detection Enabled."
},
@ -96,7 +79,6 @@
},
"stationary": {
"label": "Stationary objects config.",
"properties": {
"interval": {
"label": "Frame interval for checking stationary objects."
},
@ -105,39 +87,32 @@
},
"max_frames": {
"label": "Max frames for stationary objects.",
"properties": {
"default": {
"label": "Default max frames."
},
"objects": {
"label": "Object specific max frames."
}
}
},
"classifier": {
"label": "Enable visual classifier for determing if objects with jittery bounding boxes are stationary."
}
}
},
"annotation_offset": {
"label": "Milliseconds to offset detect annotations by."
}
}
},
"face_recognition": {
"label": "Face recognition config.",
"properties": {
"enabled": {
"label": "Enable face recognition."
},
"min_area": {
"label": "Min area of face box to consider running face recognition."
}
}
},
"ffmpeg": {
"label": "FFmpeg configuration for the camera.",
"properties": {
"path": {
"label": "FFmpeg path"
},
@ -152,14 +127,12 @@
},
"output_args": {
"label": "FFmpeg output arguments per role.",
"properties": {
"detect": {
"label": "Detect role FFmpeg output arguments."
},
"record": {
"label": "Record role FFmpeg output arguments."
}
}
},
"retry_interval": {
"label": "Time in seconds to wait before FFmpeg retries connecting to the camera."
@ -167,14 +140,15 @@
"apple_compatibility": {
"label": "Set tag on HEVC (H.265) recording stream to improve compatibility with Apple players."
},
"gpu": {
"label": "GPU index to use for hardware acceleration."
},
"inputs": {
"label": "Camera inputs."
}
}
},
"live": {
"label": "Live playback settings.",
"properties": {
"streams": {
"label": "Friendly names and restream names to use for live view."
},
@ -184,11 +158,9 @@
"quality": {
"label": "Live camera view quality"
}
}
},
"lpr": {
"label": "LPR config.",
"properties": {
"enabled": {
"label": "Enable license plate recognition."
},
@ -201,11 +173,9 @@
"enhancement": {
"label": "Amount of contrast adjustment and denoising to apply to license plate images before recognition."
}
}
},
"motion": {
"label": "Motion detection configuration.",
"properties": {
"enabled": {
"label": "Enable motion on all cameras."
},
@ -239,17 +209,14 @@
"enabled_in_config": {
"label": "Keep track of original state of motion detection."
}
}
},
"objects": {
"label": "Object configuration.",
"properties": {
"track": {
"label": "Objects to track."
},
"filters": {
"label": "Object filters.",
"properties": {
"min_area": {
"label": "Minimum area of bounding box for object to be counted. Can be pixels (int) or percentage (float between 0.000001 and 0.99)."
},
@ -271,14 +238,12 @@
"mask": {
"label": "Detection area polygon mask for this filter configuration."
}
}
},
"mask": {
"label": "Object mask."
},
"genai": {
"label": "Config for using genai to analyze objects.",
"properties": {
"enabled": {
"label": "Enable GenAI for camera."
},
@ -302,25 +267,20 @@
},
"send_triggers": {
"label": "What triggers to use to send frames to generative AI for a tracked object.",
"properties": {
"tracked_object_end": {
"label": "Send once the object is no longer tracked."
},
"after_significant_updates": {
"label": "Send an early request to generative AI when X frames accumulated."
}
}
},
"enabled_in_config": {
"label": "Keep track of original state of generative AI."
}
}
}
}
},
"record": {
"label": "Record configuration.",
"properties": {
"enabled": {
"label": "Enable record on all cameras."
},
@ -329,23 +289,18 @@
},
"continuous": {
"label": "Continuous recording retention settings.",
"properties": {
"days": {
"label": "Default retention period."
}
}
},
"motion": {
"label": "Motion recording retention settings.",
"properties": {
"days": {
"label": "Default retention period."
}
}
},
"detections": {
"label": "Detection specific retention settings.",
"properties": {
"pre_capture": {
"label": "Seconds to retain before event starts."
},
@ -354,7 +309,6 @@
},
"retain": {
"label": "Event retention settings.",
"properties": {
"days": {
"label": "Default retention period."
},
@ -362,12 +316,9 @@
"label": "Retain mode."
}
}
}
}
},
"alerts": {
"label": "Alert specific retention settings.",
"properties": {
"pre_capture": {
"label": "Seconds to retain before event starts."
},
@ -376,7 +327,6 @@
},
"retain": {
"label": "Event retention settings.",
"properties": {
"days": {
"label": "Default retention period."
},
@ -384,36 +334,27 @@
"label": "Retain mode."
}
}
}
}
},
"export": {
"label": "Recording Export Config",
"properties": {
"timelapse_args": {
"label": "Timelapse Args"
}
"hwaccel_args": {
"label": "Export-specific FFmpeg hardware acceleration arguments."
}
},
"preview": {
"label": "Recording Preview Config",
"properties": {
"quality": {
"label": "Quality of recording preview."
}
}
},
"enabled_in_config": {
"label": "Keep track of original state of recording."
}
}
},
"review": {
"label": "Review configuration.",
"properties": {
"alerts": {
"label": "Review alerts config.",
"properties": {
"enabled": {
"label": "Enable alerts."
},
@ -429,11 +370,9 @@
"cutoff_time": {
"label": "Time to cutoff alerts after no alert-causing activity has occurred."
}
}
},
"detections": {
"label": "Review detections config.",
"properties": {
"enabled": {
"label": "Enable detections."
},
@ -449,11 +388,9 @@
"enabled_in_config": {
"label": "Keep track of original state of detections."
}
}
},
"genai": {
"label": "Review description genai config.",
"properties": {
"enabled": {
"label": "Enable GenAI descriptions for review items."
},
@ -463,6 +400,9 @@
"detections": {
"label": "Enable GenAI for detections."
},
"image_source": {
"label": "Image source for review descriptions."
},
"additional_concerns": {
"label": "Additional concerns that GenAI should make note of on this camera."
},
@ -476,18 +416,17 @@
"label": "Preferred language for GenAI Response"
},
"activity_context_prompt": {
"label": "Custom activity context prompt defining normal activity patterns for this property."
}
}
"label": "Custom activity context prompt defining normal and suspicious activity patterns for this property."
}
}
},
"semantic_search": {
"label": "Semantic search configuration.",
"properties": {
"triggers": {
"label": "Trigger actions on tracked objects that match existing thumbnails or descriptions",
"properties": {
"friendly_name": {
"label": "Trigger friendly name used in the Frigate UI."
},
"enabled": {
"label": "Enable this trigger"
},
@ -504,12 +443,9 @@
"label": "Actions to perform when trigger is matched"
}
}
}
}
},
"snapshots": {
"label": "Snapshot configuration.",
"properties": {
"enabled": {
"label": "Snapshots enabled."
},
@ -533,7 +469,6 @@
},
"retain": {
"label": "Snapshot retention.",
"properties": {
"default": {
"label": "Default retention period."
},
@ -543,16 +478,13 @@
"objects": {
"label": "Object retention period."
}
}
},
"quality": {
"label": "Quality of the encoded jpeg (0-100)."
}
}
},
"timestamp_style": {
"label": "Timestamp style configuration.",
"properties": {
"position": {
"label": "Timestamp position."
},
@ -561,7 +493,6 @@
},
"color": {
"label": "Timestamp color.",
"properties": {
"red": {
"label": "Red"
},
@ -571,7 +502,6 @@
"blue": {
"label": "Blue"
}
}
},
"thickness": {
"label": "Timestamp thickness."
@ -579,14 +509,12 @@
"effect": {
"label": "Timestamp effect."
}
}
},
"best_image_timeout": {
"label": "How long to wait for the image with the highest confidence score."
},
"mqtt": {
"label": "MQTT configuration.",
"properties": {
"enabled": {
"label": "Send image over MQTT."
},
@ -608,11 +536,9 @@
"quality": {
"label": "Quality of the encoded jpeg (0-100)."
}
}
},
"notifications": {
"label": "Notifications configuration.",
"properties": {
"enabled": {
"label": "Enable notifications"
},
@ -625,11 +551,9 @@
"enabled_in_config": {
"label": "Keep track of original state of notifications."
}
}
},
"onvif": {
"label": "Camera Onvif Configuration.",
"properties": {
"host": {
"label": "Onvif Host"
},
@ -647,7 +571,6 @@
},
"autotracking": {
"label": "PTZ auto tracking config.",
"properties": {
"enabled": {
"label": "Enable PTZ object autotracking."
},
@ -678,36 +601,33 @@
"enabled_in_config": {
"label": "Keep track of original state of autotracking."
}
}
},
"ignore_time_mismatch": {
"label": "Onvif Ignore Time Synchronization Mismatch Between Camera and Server"
}
}
},
"type": {
"label": "Camera Type"
},
"ui": {
"label": "Camera UI Modifications.",
"properties": {
"order": {
"label": "Order of camera in UI."
},
"dashboard": {
"label": "Show this camera in Frigate dashboard UI."
}
}
},
"webui_url": {
"label": "URL to visit the camera directly from system page"
},
"zones": {
"label": "Zone configuration.",
"properties": {
"friendly_name": {
"label": "Zone friendly name used in the Frigate UI."
},
"filters": {
"label": "Zone filters.",
"properties": {
"min_area": {
"label": "Minimum area of bounding box for object to be counted. Can be pixels (int) or percentage (float between 0.000001 and 0.99)."
},
@ -729,7 +649,6 @@
"mask": {
"label": "Detection area polygon mask for this filter configuration."
}
}
},
"coordinates": {
"label": "Coordinates polygon for the defined zone."
@ -749,10 +668,8 @@
"objects": {
"label": "List of objects that can trigger the zone."
}
}
},
"enabled_in_config": {
"label": "Keep track of original state of camera."
}
}
}

View File

@ -1,20 +1,16 @@
{
"label": "Object classification config.",
"properties": {
"bird": {
"label": "Bird classification config.",
"properties": {
"enabled": {
"label": "Enable bird classification."
},
"threshold": {
"label": "Minimum classification score required to be considered a match."
}
}
},
"custom": {
"label": "Custom Classification Model Configs.",
"properties": {
"enabled": {
"label": "Enable running the model."
},
@ -24,25 +20,23 @@
"threshold": {
"label": "Classification score threshold to change the state."
},
"save_attempts": {
"label": "Number of classification attempts to save in the recent classifications tab. If not specified, defaults to 200 for object classification and 100 for state classification."
},
"object_config": {
"properties": {
"objects": {
"label": "Object types to classify."
},
"classification_type": {
"label": "Type of classification that is applied."
}
}
},
"state_config": {
"properties": {
"cameras": {
"label": "Cameras to run classification on.",
"properties": {
"crop": {
"label": "Crop of image frame on this camera to run classification on."
}
}
},
"motion": {
"label": "If classification should be run when motion is detected in the crop."
@ -52,7 +46,4 @@
}
}
}
}
}
}
}

View File

@ -1,8 +1,6 @@
{
"label": "Database configuration.",
"properties": {
"path": {
"label": "Database path."
}
}
}

View File

@ -1,6 +1,5 @@
{
"label": "Global object tracking configuration.",
"properties": {
"enabled": {
"label": "Detection Enabled."
},
@ -21,7 +20,6 @@
},
"stationary": {
"label": "Stationary objects config.",
"properties": {
"interval": {
"label": "Frame interval for checking stationary objects."
},
@ -30,22 +28,18 @@
},
"max_frames": {
"label": "Max frames for stationary objects.",
"properties": {
"default": {
"label": "Default max frames."
},
"objects": {
"label": "Object specific max frames."
}
}
},
"classifier": {
"label": "Enable visual classifier for determing if objects with jittery bounding boxes are stationary."
}
}
},
"annotation_offset": {
"label": "Milliseconds to offset detect annotations by."
}
}
}

View File

@ -1,6 +1,5 @@
{
"label": "Detector hardware configuration.",
"properties": {
"type": {
"label": "Detector Type"
},
@ -10,5 +9,4 @@
"model_path": {
"label": "Detector specific model path."
}
}
}

View File

@ -1,6 +1,5 @@
{
"label": "Face recognition config.",
"properties": {
"enabled": {
"label": "Enable face recognition."
},
@ -32,5 +31,4 @@
"label": "The device key to use for face recognition.",
"description": "This is an override, to target a specific device. See https://onnxruntime.ai/docs/execution-providers/ for more information"
}
}
}

View File

@ -1,6 +1,5 @@
{
"label": "Global FFmpeg configuration.",
"properties": {
"path": {
"label": "FFmpeg path"
},
@ -15,20 +14,20 @@
},
"output_args": {
"label": "FFmpeg output arguments per role.",
"properties": {
"detect": {
"label": "Detect role FFmpeg output arguments."
},
"record": {
"label": "Record role FFmpeg output arguments."
}
}
},
"retry_interval": {
"label": "Time in seconds to wait before FFmpeg retries connecting to the camera."
},
"apple_compatibility": {
"label": "Set tag on HEVC (H.265) recording stream to improve compatibility with Apple players."
}
},
"gpu": {
"label": "GPU index to use for hardware acceleration."
}
}

View File

@ -1,6 +1,5 @@
{
"label": "Live playback settings.",
"properties": {
"streams": {
"label": "Friendly names and restream names to use for live view."
},
@ -10,5 +9,4 @@
"quality": {
"label": "Live camera view quality"
}
}
}

View File

@ -1,11 +1,9 @@
{
"label": "Logging configuration.",
"properties": {
"default": {
"label": "Default logging level."
},
"logs": {
"label": "Log level for specified processes."
}
}
}

View File

@ -1,6 +1,5 @@
{
"label": "License Plate recognition config.",
"properties": {
"enabled": {
"label": "Enable license plate recognition."
},
@ -41,5 +40,4 @@
"replace_rules": {
"label": "List of regex replacement rules for normalizing detected plates. Each rule has 'pattern' and 'replacement'."
}
}
}

View File

@ -1,6 +1,5 @@
{
"label": "Detection model configuration.",
"properties": {
"path": {
"label": "Custom Object detection model path."
},
@ -31,5 +30,4 @@
"model_type": {
"label": "Object Detection Model Type"
}
}
}

View File

@ -1,6 +1,5 @@
{
"label": "MQTT configuration.",
"properties": {
"enabled": {
"label": "Enable MQTT Communication."
},
@ -40,5 +39,4 @@
"qos": {
"label": "MQTT QoS"
}
}
}

View File

@ -1,13 +1,9 @@
{
"label": "Networking configuration",
"properties": {
"ipv6": {
"label": "IPv6 configuration",
"properties": {
"enabled": {
"label": "Enable IPv6 for port 5000 and/or 8971"
}
}
},
"listen": {
"label": "Listening ports configuration",

View File

@ -1,6 +1,5 @@
{
"label": "Global notification configuration.",
"properties": {
"enabled": {
"label": "Enable notifications"
},
@ -13,5 +12,4 @@
"enabled_in_config": {
"label": "Keep track of original state of notifications."
}
}
}

View File

@ -1,12 +1,10 @@
{
"label": "Global object configuration.",
"properties": {
"track": {
"label": "Objects to track."
},
"filters": {
"label": "Object filters.",
"properties": {
"min_area": {
"label": "Minimum area of bounding box for object to be counted. Can be pixels (int) or percentage (float between 0.000001 and 0.99)."
},
@ -28,14 +26,12 @@
"mask": {
"label": "Detection area polygon mask for this filter configuration."
}
}
},
"mask": {
"label": "Object mask."
},
"genai": {
"label": "Config for using genai to analyze objects.",
"properties": {
"enabled": {
"label": "Enable GenAI for camera."
},
@ -59,19 +55,15 @@
},
"send_triggers": {
"label": "What triggers to use to send frames to generative AI for a tracked object.",
"properties": {
"tracked_object_end": {
"label": "Send once the object is no longer tracked."
},
"after_significant_updates": {
"label": "Send an early request to generative AI when X frames accumulated."
}
}
},
"enabled_in_config": {
"label": "Keep track of original state of generative AI."
}
}
}
}
}

View File

@ -1,9 +1,7 @@
{
"label": "Proxy configuration.",
"properties": {
"header_map": {
"label": "Header mapping definitions for proxy user passing.",
"properties": {
"user": {
"label": "Header name from upstream proxy to identify user."
},
@ -13,7 +11,6 @@
"role_map": {
"label": "Mapping of Frigate roles to upstream group values. "
}
}
},
"logout_url": {
"label": "Redirect url for logging out with proxy."
@ -27,5 +24,4 @@
"separator": {
"label": "The character used to separate values in a mapped header."
}
}
}

View File

@ -1,6 +1,5 @@
{
"label": "Global record configuration.",
"properties": {
"enabled": {
"label": "Enable record on all cameras."
},
@ -9,23 +8,18 @@
},
"continuous": {
"label": "Continuous recording retention settings.",
"properties": {
"days": {
"label": "Default retention period."
}
}
},
"motion": {
"label": "Motion recording retention settings.",
"properties": {
"days": {
"label": "Default retention period."
}
}
},
"detections": {
"label": "Detection specific retention settings.",
"properties": {
"pre_capture": {
"label": "Seconds to retain before event starts."
},
@ -34,7 +28,6 @@
},
"retain": {
"label": "Event retention settings.",
"properties": {
"days": {
"label": "Default retention period."
},
@ -42,12 +35,9 @@
"label": "Retain mode."
}
}
}
}
},
"alerts": {
"label": "Alert specific retention settings.",
"properties": {
"pre_capture": {
"label": "Seconds to retain before event starts."
},
@ -56,7 +46,6 @@
},
"retain": {
"label": "Event retention settings.",
"properties": {
"days": {
"label": "Default retention period."
},
@ -64,27 +53,20 @@
"label": "Retain mode."
}
}
}
}
},
"export": {
"label": "Recording Export Config",
"properties": {
"timelapse_args": {
"label": "Timelapse Args"
}
"hwaccel_args": {
"label": "Export-specific FFmpeg hardware acceleration arguments."
}
},
"preview": {
"label": "Recording Preview Config",
"properties": {
"quality": {
"label": "Quality of recording preview."
}
}
},
"enabled_in_config": {
"label": "Keep track of original state of recording."
}
}
}

View File

@ -1,9 +1,7 @@
{
"label": "Review configuration.",
"properties": {
"alerts": {
"label": "Review alerts config.",
"properties": {
"enabled": {
"label": "Enable alerts."
},
@ -19,11 +17,9 @@
"cutoff_time": {
"label": "Time to cutoff alerts after no alert-causing activity has occurred."
}
}
},
"detections": {
"label": "Review detections config.",
"properties": {
"enabled": {
"label": "Enable detections."
},
@ -39,11 +35,9 @@
"enabled_in_config": {
"label": "Keep track of original state of detections."
}
}
},
"genai": {
"label": "Review description genai config.",
"properties": {
"enabled": {
"label": "Enable GenAI descriptions for review items."
},
@ -53,6 +47,9 @@
"detections": {
"label": "Enable GenAI for detections."
},
"image_source": {
"label": "Image source for review descriptions."
},
"additional_concerns": {
"label": "Additional concerns that GenAI should make note of on this camera."
},
@ -66,9 +63,7 @@
"label": "Preferred language for GenAI Response"
},
"activity_context_prompt": {
"label": "Custom activity context prompt defining normal activity patterns for this property."
}
}
"label": "Custom activity context prompt defining normal and suspicious activity patterns for this property."
}
}
}

View File

@ -1,6 +1,5 @@
{
"label": "Semantic search configuration.",
"properties": {
"enabled": {
"label": "Enable semantic search."
},
@ -17,5 +16,4 @@
"label": "The device key to use for semantic search.",
"description": "This is an override, to target a specific device. See https://onnxruntime.ai/docs/execution-providers/ for more information"
}
}
}

View File

@ -1,6 +1,5 @@
{
"label": "Global snapshots configuration.",
"properties": {
"enabled": {
"label": "Snapshots enabled."
},
@ -24,7 +23,6 @@
},
"retain": {
"label": "Snapshot retention.",
"properties": {
"default": {
"label": "Default retention period."
},
@ -34,10 +32,8 @@
"objects": {
"label": "Object retention period."
}
}
},
"quality": {
"label": "Quality of the encoded jpeg (0-100)."
}
}
}

View File

@ -1,12 +1,10 @@
{
"label": "Telemetry configuration.",
"properties": {
"network_interfaces": {
"label": "Enabled network interfaces for bandwidth calculation."
},
"stats": {
"label": "System Stats Configuration",
"properties": {
"amd_gpu_stats": {
"label": "Enable AMD GPU stats."
},
@ -19,10 +17,8 @@
"intel_gpu_device": {
"label": "Define the device to use when gathering SR-IOV stats."
}
}
},
"version_check": {
"label": "Enable latest version check."
}
}
}

View File

@ -1,6 +1,5 @@
{
"label": "Global timestamp style configuration.",
"properties": {
"position": {
"label": "Timestamp position."
},
@ -9,7 +8,6 @@
},
"color": {
"label": "Timestamp color.",
"properties": {
"red": {
"label": "Red"
},
@ -19,7 +17,6 @@
"blue": {
"label": "Blue"
}
}
},
"thickness": {
"label": "Timestamp thickness."
@ -27,5 +24,4 @@
"effect": {
"label": "Timestamp effect."
}
}
}

View File

@ -1,8 +1,6 @@
{
"label": "TLS configuration.",
"properties": {
"enabled": {
"label": "Enable TLS for port 8971"
}
}
}

View File

@ -1,6 +1,5 @@
{
"label": "UI configuration.",
"properties": {
"timezone": {
"label": "Override UI timezone."
},
@ -16,5 +15,4 @@
"unit_system": {
"label": "The unit system to use for measurements."
}
}
}

View File

@ -1266,10 +1266,12 @@
"error": "Failed to save camera settings"
}
},
"common": {
"overridden": "Overridden",
"resetToGlobal": "Reset to Global",
"save": "Save",
"cancel": "Cancel"
}
"toast": {
"success": "Settings saved successfully",
"error": "Failed to save settings",
"validationError": "Validation failed: {{message}}",
"resetSuccess": "Reset to global defaults",
"resetError": "Failed to reset settings"
},
"unsavedChanges": "You have unsaved changes"
}