Break out controls into different menu sections.

This commit is contained in:
Dermot Duffy
2022-10-01 11:27:51 -07:00
parent 46b0239bc9
commit b9d1d019c2
7 changed files with 498 additions and 468 deletions
+70 -106
View File
@@ -16,13 +16,13 @@
"dependencies": {
"all_cameras": "Show events for all cameras with this camera",
"cameras": "Show events for specific cameras with this camera",
"options": "Dependency Options"
"editor_label": "Dependency Options"
},
"frigate": {
"camera_name": "Frigate camera name (Autodetected from entity)",
"client_id": "Frigate client id (For >1 Frigate server)",
"label": "Frigate label/object filter",
"options": "Frigate Options",
"editor_label": "Frigate Options",
"url": "Frigate server URL",
"zone": "Frigate zone"
},
@@ -40,11 +40,11 @@
"entities": "Trigger from other entities",
"motion": "Trigger by auto-detecting the motion sensor",
"occupancy": "Trigger by auto-detecting the occupancy sensor",
"options": "Trigger Options"
"editor_label": "Trigger Options"
},
"webrtc_card": {
"entity": "WebRTC Card Camera Entity (Not a Frigate camera)",
"options": "WebRTC Card Options",
"editor_label": "WebRTC Card Options",
"url": "WebRTC Card Camera URL"
}
},
@@ -68,6 +68,70 @@
"x": "Horizontal placement percentage",
"y": "Vertical placement percentage"
}
},
"timeline": {
"clustering_threshold": "The count of events at which they are clustered (0=no clustering)",
"media": "The media the timeline displays",
"medias": {
"all": "All media types",
"clips": "Clips",
"snapshots": "Snapshots"
},
"show_recordings": "Show recordings",
"window_seconds": "The default length of the timeline view in seconds"
},
"controls": {
"next_previous": {
"editor_label": "Next & Previous",
"size": "Next & previous control size in pixels",
"style": "Next & previous control style",
"styles": {
"chevrons": "Chevrons",
"icons": "Icons",
"none": "None"
}
},
"timeline": {
"editor_label": "Mini Timeline",
"mode": "Mode",
"modes": {
"none": "None",
"above": "Above",
"below": "Below"
}
},
"thumbnails": {
"editor_label": "Thumbnails",
"media": "Whether to show thumbnails of clips or snapshots",
"medias": {
"clips": "Clip thumbnails",
"snapshots": "Snapshot thumbnails"
},
"mode": "Thumbnails mode",
"modes": {
"above": "Thumbnails above",
"below": "Thumbnails below",
"left": "Thumbnails in a drawer to the left",
"none": "No thumbnails",
"right": "Thumbnails in a drawer to the right"
},
"show_details": "Show event details with thumbnails",
"show_favorite_control": "Show favorite control on thumbnails",
"show_timeline_control": "Show timeline control on thumbnails",
"size": "Thumbnails size in pixels"
},
"title": {
"editor_label": "Popup Title Controls",
"duration_seconds": "Seconds to display popup title (0=forever)",
"mode": "Popup title display mode",
"modes": {
"none": "No title display",
"popup-bottom-left": "Popup on the bottom left",
"popup-bottom-right": "Popup on the bottom right",
"popup-top-left": "Popup on the top left",
"popup-top-right": "Popup on the top right"
}
}
}
},
"dimensions": {
@@ -79,17 +143,6 @@
"unconstrained": "Unconstrained aspect ratio"
}
},
"event_gallery": {
"controls": {
"options": "Event Gallery Controls",
"thumbnails": {
"show_details": "Show event details with thumbnails",
"show_favorite_control": "Show favorite control on thumbnails",
"show_timeline_control": "Show timeline control on thumbnails",
"size": "Event Gallery thumbnails size in pixels"
}
}
},
"image": {
"layout": "Image Layout",
"mode": "Image view mode",
@@ -107,32 +160,7 @@
"auto_play": "Automatically play live cameras",
"auto_unmute": "Automatically unmute live cameras",
"controls": {
"next_previous": {
"size": "Live view next & previous control size in pixels",
"style": "Live view next & previous control style",
"styles": {
"chevrons": "Chevrons",
"icons": "Icons",
"none": "None"
}
},
"options": "Live Controls",
"thumbnails": {
"media": "Whether to show thumbnails of clips or snapshots",
"medias": {
"clips": "Clip thumbnails",
"snapshots": "Snapshot thumbnails"
},
"mode": "Live thumbnails mode",
"show_details": "Show event details with thumbnails",
"show_favorite_control": "Show favorite control on thumbnails",
"show_timeline_control": "Show timeline control on thumbnails",
"size": "Live thumbnails size in pixels"
},
"title": {
"duration_seconds": "Seconds to display popup title (0=forever)",
"mode": "Live media title display mode"
}
"editor_label": "Live Controls"
},
"draggable": "Live cameras view can be dragged/swiped",
"layout": "Live Layout",
@@ -148,41 +176,7 @@
"auto_play": "Automatically play media",
"auto_unmute": "Automatically unmute media",
"controls": {
"next_previous": {
"size": "Media Viewer next & previous control size in pixels",
"style": "Media Viewer next & previous control style",
"styles": {
"chevrons": "Chevrons",
"none": "None",
"thumbnails": "Thumbnails"
}
},
"options": "Media Viewer Controls",
"thumbnails": {
"mode": "Media Viewer thumbnails mode",
"modes": {
"above": "Thumbnails above",
"below": "Thumbnails below",
"left": "Thumbnails in a drawer to the left",
"none": "No thumbnails",
"right": "Thumbnails in a drawer to the right"
},
"show_details": "Show details with thumbnails",
"show_favorite_control": "Show favorite control on thumbnails",
"show_timeline_control": "Show timeline control on thumbnails",
"size": "Media Viewer thumbnails size in pixels"
},
"title": {
"duration_seconds": "Seconds to display popup title (0=forever)",
"mode": "Media Viewer media title display mode",
"modes": {
"none": "No title display",
"popup-bottom-left": "Popup on the bottom left",
"popup-bottom-right": "Popup on the bottom right",
"popup-top-left": "Popup on the top left",
"popup-top-right": "Popup on the top right"
}
}
"editor_label": "Media Viewer Controls"
},
"draggable": "Media Viewer can be dragged/swiped",
"lazy_load": "Media Viewer media is lazily loaded in carousel",
@@ -242,36 +236,6 @@
"overrides": {
"info": "This card configuration has manually specified overrides configured which may override values shown in the visual editor, please consult the code editor to view/modify these overrides"
},
"timeline": {
"clustering_threshold": "The count of events at which they are clustered (0=no clustering)",
"controls": {
"options": "Timeline Controls",
"thumbnails": {
"mode": "Timeline thumbnails mode",
"show_details": "Show event details with thumbnails",
"show_favorite_control": "Show favorite control on thumbnails",
"show_timeline_control": "Show timeline control on thumbnails",
"size": "Timeline thumbnails size in pixels"
}
},
"mini": {
"options": "Mini Timeline",
"mode": "Mode",
"modes": {
"none": "None",
"above": "Above",
"below": "Below"
}
},
"media": "The media the timeline displays",
"medias": {
"all": "All media types",
"clips": "Clips",
"snapshots": "Snapshots"
},
"show_recordings": "Show recordings",
"window_seconds": "The default length of the timeline view in seconds"
},
"view": {
"camera_select": "View for newly selected cameras",
"dark_mode": "Dark mode",