diff --git a/web/public/locales/en/audio.json b/web/public/locales/en/audio.json index dfe02cd92..de5f5638c 100644 --- a/web/public/locales/en/audio.json +++ b/web/public/locales/en/audio.json @@ -152,7 +152,6 @@ "hi_hat": "Hi-Hat", "wood_block": "Wood Block", "tambourine": "Tambourine", - "rattle": "Rattle", "maraca": "Maraca", "gong": "Gong", "tubular_bells": "Tubular Bells", @@ -282,7 +281,6 @@ "ship": "Ship", "motor_vehicle": "Motor Vehicle", "car": "Car", - "honk": "Honk", "toot": "Toot", "car_alarm": "Car Alarm", "power_windows": "Power Windows", @@ -426,5 +424,6 @@ "pink_noise": "Pink Noise", "television": "Television", "radio": "Radio", - "field_recording": "Field Recording" + "field_recording": "Field Recording", + "scream": "Scream" } diff --git a/web/public/locales/en/common.json b/web/public/locales/en/common.json index fb8222dfe..4ddd9244e 100644 --- a/web/public/locales/en/common.json +++ b/web/public/locales/en/common.json @@ -34,14 +34,22 @@ "minute": "{{time}} minutes", "s": "s", "second": "{{time}} seconds", - "formattedTimestamp": "%b %-d, %I:%M:%S %p", - "formattedTimestamp.24hour": "%b %-d, %H:%M:%S", - "formattedTimestamp2": "%m/%d %I:%M:%S%P", - "formattedTimestamp2.24hour": "%d %b %H:%M:%S", - "formattedTimestampExcludeSeconds": "%b %-d, %I:%M %p", - "formattedTimestampExcludeSeconds.24hour": "%b %-d, %H:%M", - "formattedTimestampWithYear": "%b %-d %Y, %I:%M %p", - "formattedTimestampWithYear.24hour": "%b %-d %Y, %H:%M", + "formattedTimestamp": { + "12hour": "%b %-d, %I:%M:%S %p", + "24hour": "%b %-d, %H:%M:%S" + }, + "formattedTimestamp2": { + "12hour": "%m/%d %I:%M:%S%P", + "24hour": "%d %b %H:%M:%S" + }, + "formattedTimestampExcludeSeconds": { + "12hour": "%b %-d, %I:%M %p", + "24hour": "%b %-d, %H:%M" + }, + "formattedTimestampWithYear": { + "12hour": "%b %-d %Y, %I:%M %p", + "24hour": "%b %-d %Y, %H:%M" + }, "formattedTimestampOnlyMonthAndDay": "%b %-d" }, "unit": { @@ -70,6 +78,8 @@ "fullscreen": "Fullscreen", "exitFullscreen": "Exit Fullscreen", "pictureInPicture": "Picture in Picture", + "twoWayTalk": "Two Way Talk", + "cameraAudio": "Camera Audio", "on": "ON", "off": "OFF", "edit": "Edit", @@ -97,14 +107,18 @@ "language": { "en": "English", "zhCN": "简体中文 (Simplified Chinese)", - "withSystem.label": "Use the system settings for language" + "withSystem": { + "label": "Use the system settings for language" + } }, "appearance": "Appearance", "darkMode": { "label": "Dark Mode", "light": "Light", "dark": "Dark", - "withSystem.label": "Use the system settings for light or dark mode" + "withSystem": { + "label": "Use the system settings for light or dark mode" + } }, "withSystem": "System", "theme": { @@ -117,20 +131,27 @@ "default": "Default" }, "help": "Help", - "documentation.label": "Frigate documentation", - "documentation": "Documentation", + "documentation": { + "title": "Documentation", + "label": "Frigate documentation" + }, "restart": "Restart Frigate", - "live": "Live", - "live.allCameras": "All Cameras", - "live.cameras": "Cameras", - "live.cameras.count_one": "{{count}} Camera", - "live.cameras.count_other": "{{count}} Cameras", + "live": { + "title": "Live", + "allCameras": "All Cameras", + "cameras": { + "title": "Cameras", + "count_one": "{{count}} Camera", + "count_other": "{{count}} Cameras" + } + }, "review": "Review", "explore": "Explore", "export": "Export", "uiPlayground": "UI Playground", "faceLibrary": "Face Library", "user": { + "title": "User", "account": "Account", "current": "Current User: {{user}}", "anonymous": "anonymous", @@ -141,8 +162,11 @@ "toast": { "copyUrlToClipboard": "Copied URL to clipboard.", "save": { - "error": "Failed to save config changes: {{errorMessage}}", - "error.noMessage": "Failed to save config changes" + "title": "Save", + "error": { + "title": "Failed to save config changes: {{errorMessage}}", + "noMessage": "Failed to save config changes" + } } }, "role": { @@ -153,10 +177,14 @@ }, "pagination": { "label": "pagination", - "previous": "Previous", - "previous.label": "Go to previous page", - "next": "Next", - "next.label": "Go to next page", + "previous": { + "title": "Previous", + "label": "Go to previous page" + }, + "next": { + "title": "Next", + "label": "Go to next page" + }, "more": "More pages" }, "accessDenied": { diff --git a/web/public/locales/en/components/camera.json b/web/public/locales/en/components/camera.json index c46d4fb77..ddcdf5061 100644 --- a/web/public/locales/en/components/camera.json +++ b/web/public/locales/en/components/camera.json @@ -5,13 +5,15 @@ "edit": "Edit Camera Group", "delete": { "label": "Delete Camera Group", - "confirm": "Confirm Delete", - "confirm.desc": "Are you sure you want to delete the camera group {{name}}?" + "confirm": { + "title": "Confirm Delete", + "desc": "Are you sure you want to delete the camera group {{name}}?" + } }, "name": { "label": "Name", "placeholder": "Enter a name...", - "error": { + "errorMessage": { "mustLeastCharacters": "Camera group name must be at least 2 characters.", "exists": "Camera group name already exists.", "nameMustNotPeriod": "Camera group name must not contain a period.", @@ -30,10 +32,12 @@ "title": "{{cameraName}} Streaming Settings", "desc": "Change the live streaming options for this camera group's dashboard. These settings are device/browser-specific.", "audioIsAvailable": "Audio is available for this stream", - "audioIsUnavailable": "Audio is available for this stream", + "audioIsUnavailable": "Audio is unavailable for this stream", "audio": { - "tips": "Audio must be output from your camera and configured in go2rtc for this stream.", - "tips.document": "Read the documentation " + "tips": { + "title": "Audio must be output from your camera and configured in go2rtc for this stream.", + "document": "Read the documentation " + } }, "streamMethod": { "label": "Streaming Method", @@ -48,8 +52,10 @@ }, "continuousStreaming": { "label": "Continuous Streaming", - "desc": "Camera image will always be a live stream when visible on the dashboard, even if no activity is being detected.", - "desc.warning": "Continuous streaming may cause high bandwidth usage and performance issues. Use with caution." + "desc": { + "title": "Camera image will always be a live stream when visible on the dashboard, even if no activity is being detected.", + "warning": "Continuous streaming may cause high bandwidth usage and performance issues. Use with caution." + } } } }, diff --git a/web/public/locales/en/components/dialog.json b/web/public/locales/en/components/dialog.json index c58faca21..5d185d289 100644 --- a/web/public/locales/en/components/dialog.json +++ b/web/public/locales/en/components/dialog.json @@ -15,13 +15,19 @@ "desc": "Objects in locations you want to avoid are not false positives. Submitting them as false positives will confuse the model." }, "review": { - "true.label": "Confirm this label for Frigate Plus", - "true_one": "This is a {{label}}", - "true_other": "This is an {{label}}", - "false_one": "This is not a {{label}}", - "false_other": "This is not an {{label}}", - "false.label": "Do not confirm this label for Frigate Plus", - "state.submitted": "Submitted" + "true": { + "label": "Confirm this label for Frigate Plus", + "true_one": "This is a {{label}}", + "true_other": "This is an {{label}}" + }, + "false": { + "label": "Do not confirm this label for Frigate Plus", + "false_one": "This is not a {{label}}", + "false_other": "This is not an {{label}}" + }, + "state": { + "submitted": "Submitted" + } } }, "video": { @@ -34,10 +40,14 @@ "lastHour_one": "Last Hour", "lastHour_other": "Last {{count}} Hours", "custom": "Custom", - "start": "Start Time", - "start.label": "Select Start Time", - "end": "End Time", - "end.label": "Select End Time" + "start": { + "title": "Start Time", + "label": "Select Start Time" + }, + "end": { + "title": "End Time", + "label": "Select End Time" + } }, "name": { "placeholder": "Name the Export" @@ -61,9 +71,11 @@ "streaming": { "label": "Stream", "restreaming": { - "NotEnabled": "Restreaming is not enabled for this camera.", - "desc": "Set up go2rtc for additional live view options and audio for this camera.", - "desc.readTheDocumentation": "Read the documentation " + "disabled": "Restreaming is not enabled for this camera.", + "desc": { + "title": "Set up go2rtc for additional live view options and audio for this camera.", + "readTheDocumentation": "Read the documentation " + } }, "showStats": { "label": "Show stream stats", @@ -78,14 +90,19 @@ "placeholder": "Enter a name for your search", "overwrite": "{{searchName}} already exists. Saving will overwrite the existing value.", "success": "Search ({{searchName}}) has been saved.", - "button.save.label": "Save this search" + "button": { + "save": { + "label": "Save this search" + } + } } }, "recording": { "confirmDelete": { "title": "Confirm Delete", - "desc": "Are you sure you want to delete all recorded video associated with this review item?

Hold the Shift key to bypass this dialog in the future.", - "desc.selected": "Are you sure you want to delete all recorded video associated with this review item?

Hold the Shift key to bypass this dialog in the future." + "desc": { + "selected": "Are you sure you want to delete all recorded video associated with this review item?

Hold the Shift key to bypass this dialog in the future." + } }, "button": { "export": "Export", diff --git a/web/public/locales/en/components/filter.json b/web/public/locales/en/components/filter.json index 78188452b..a5ed532bb 100644 --- a/web/public/locales/en/components/filter.json +++ b/web/public/locales/en/components/filter.json @@ -2,22 +2,30 @@ "filter": "Filter", "labels": { "label": "Labels", - "all": "All Labels", - "all.short": "Labels", + "all": { + "title": "All Labels", + "short": "Labels" + }, "count": "{{count}} Labels" }, "zones": { - "all": "All Zones", - "all.short": "Zones" + "label": "Zones", + "all": { + "title": "All Zones", + "short": "Zones" + } }, "dates": { - "all": "All Dates", - "all.short": "Dates" + "all": { + "title": "All Dates", + "short": "Dates" + } }, "more": "More Filters", - "reset.label": "Reset filters to default values", + "reset": { + "label": "Reset filters to default values" + }, "timeRange": "Time Range", - "zones.label": "Zones", "subLabels": { "label": "Sub Labels", "all": "All Sub Labels" @@ -45,8 +53,10 @@ }, "cameras": { "label": "Cameras Filter", - "all": "All Cameras", - "all.short": "Cameras" + "all": { + "title": "All Cameras", + "short": "Cameras" + } }, "review": { "showReviewed": "Show Reviewed" @@ -57,12 +67,16 @@ "explore": { "settings": { "title": "Settings", - "defaultView": "Default View", - "defaultView.desc": "When no filters are selected, display a summary of the most recent tracked objects per label, or display an unfiltered grid.", - "defaultView.summary": "Summary", - "defaultView.unfilteredGrid": "Unfiltered Grid", - "gridColumns": "Grid Columns", - "gridColumns.desc": "Select the number of columns in the grid view.", + "defaultView": { + "title": "Default View", + "desc": "When no filters are selected, display a summary of the most recent tracked objects per label, or display an unfiltered grid.", + "summary": "Summary", + "unfilteredGrid": "Unfiltered Grid" + }, + "gridColumns": { + "title": "Grid Columns", + "desc": "Select the number of columns in the grid view." + }, "searchSource": { "label": "Search Source", "desc": "Choose whether to search the thumbnails or descriptions of your tracked objects.", @@ -81,8 +95,10 @@ "logSettings": { "label": "Filter log level", "filterBySeverity": "Filter logs by severity", - "loading": "Loading", - "loading.desc": "When the log pane is scrolled to the bottom, new logs automatically stream as they are added.", + "loading": { + "title": "Loading", + "desc": "When the log pane is scrolled to the bottom, new logs automatically stream as they are added." + }, "disableLogStreaming": "Disable log streaming", "allLogs": "All logs" }, diff --git a/web/public/locales/en/components/player.json b/web/public/locales/en/components/player.json index 05b8dc134..3b50ff5ed 100644 --- a/web/public/locales/en/components/player.json +++ b/web/public/locales/en/components/player.json @@ -13,18 +13,30 @@ }, "cameraDisabled": "Camera is disabled", "stats": { - "streamType": "Stream Type:", - "streamType.short": "Type", - "bandwidth": "Bandwidth:", - "bandwidth.short": "Bandwidth", - "latency": "Latency:", - "latency.short": "Latency", - "latency.value": "{{seconds}} seconds", - "latency.short.value": "{{seconds}} sec", + "streamType": { + "title": "Stream Type:", + "short": "Type" + }, + "bandwidth": { + "title": "Bandwidth:", + "short": "Bandwidth" + }, + "latency": { + "title": "Latency:", + "value": "{{seconds}} seconds", + "short": { + "title": "Latency", + "value": "{{seconds}} sec" + } + }, "totalFrames": "Total Frames:", - "droppedFrames": "Dropped Frames:", - "droppedFrames.short": "Dropped", - "droppedFrames.short.value": "{{droppedFrames}} frames", + "droppedFrames": { + "title": "Dropped Frames:", + "short": { + "title": "Dropped", + "value": "{{droppedFrames}} frames" + } + }, "decodedFrames": "Decoded Frames:", "droppedFrameRate": "Dropped Frame Rate:" }, diff --git a/web/public/locales/en/views/explore.json b/web/public/locales/en/views/explore.json index a156afbbb..2f5b5bcb1 100644 --- a/web/public/locales/en/views/explore.json +++ b/web/public/locales/en/views/explore.json @@ -58,8 +58,10 @@ }, "annotationSettings": { "title": "Annotation Settings", - "showAllZones": "Show All Zones", - "showAllZones.desc": "Always show zones on frames where objects have entered a zone.", + "showAllZones": { + "title": "Show All Zones", + "desc": "Always show zones on frames where objects have entered a zone." + }, "offset": { "label": "Annotation Offset", "desc": "This data comes from your camera's detect feed but is overlayed on images from the the record feed. It is unlikely that the two streams are perfectly in sync. As a result, the bounding box and the footage will not line up perfectly. However, the annotation_offset field can be used to adjust this.", @@ -96,29 +98,34 @@ "updatedSublabelFailed": "Failed to update sub label: {{errorMessage}}" } } - }, "label": "Label", - "editSubLable": "Edit sub label", - "editSubLable.desc": "Enter a new sub label for this {{label}}", - "editSubLable.desc.noLabel": "Enter a new sub label for this tracked object", - "topScore": "Top Score", - "topScore.info": "The top score is the highest median score for the tracked object, so this may differ from the score shown on the search result thumbnail.", + "editSubLabel": { + "title": "Edit sub label", + "desc": "Enter a new sub label for this {{label}}", + "descNoLabel": "Enter a new sub label for this tracked object" + }, + "topScore": { + "label": "Top Score", + "info": "The top score is the highest median score for the tracked object, so this may differ from the score shown on the search result thumbnail." + }, "estimatedSpeed": "Estimated Speed", "objects": "Objects", "camera": "Camera", "zones": "Zones", "timestamp": "Timestamp", "button": { - "findSimilar": "Find Similar" + "findSimilar": "Find Similar", + "regenerate": { + "title": "Regenerate", + "label": "Regenerate tracked object description" + } }, "description": { "label": "Description", "placeholder": "Description of the tracked object", "aiTips": "Frigate will not request a description from your Generative AI provider until the tracked object's lifecycle has ended." }, - "button.regenerate": "Regenerate", - "button.regenerate.label": "Regenerate tracked object description", "expandRegenerationMenu": "Expand regeneration menu", "regenerateFromSnapshot": "Regenerate from Snapshot", "regenerateFromThumbnails": "Regenerate from Thumbnails", diff --git a/web/public/locales/en/views/faceLibrary.json b/web/public/locales/en/views/faceLibrary.json index 566c741e2..b95f744d7 100644 --- a/web/public/locales/en/views/faceLibrary.json +++ b/web/public/locales/en/views/faceLibrary.json @@ -1,41 +1,40 @@ { - "documentTitle": "Face Library - Frigate", - "uploadFaceImage": { - "title": "Upload Face Image", - "desc": "Upload an image to scan for faces and include for {{pageToggle}}" + "documentTitle": "Face Library - Frigate", + "uploadFaceImage": { + "title": "Upload Face Image", + "desc": "Upload an image to scan for faces and include for {{pageToggle}}" + }, + "createFaceLibrary": { + "title": "Create Face Library", + "desc": "Create a new face library" + }, + "train": { + "title": "Train", + "aria": "Select train" + }, + "selectItem": "Select {{item}}", + "button": { + "deleteFaceAttempts": "Delete Face Attempts", + "addFace": "Add Face", + "uploadImage": "Upload Image", + "reprocessFace": "Reprocess Face" + }, + "trainFaceAs": "Train Face as:", + "trainFaceAsPerson": "Train Face as Person", + "toast": { + "success": { + "uploadedImage": "Successfully uploaded image.", + "addFaceLibrary": "Successfully add face library.", + "deletedFace": "Successfully deleted face.", + "trainedFace": "Successfully trained face.", + "updatedFaceScore": "Successfully updated face score." }, - "createFaceLibrary": { - "title": "Create Face Library", - "desc": "Create a new face library" - }, - "train": { - "title": "Train", - "aria": "Select train" - }, - "selectItem": "Select {{item}}", - "button": { - "deleteFaceAttempts": "Delete Face Attempts", - "addFace": "Add Face", - "uploadImage": "Upload Image", - "reprocessFace:": "Reprocess Face" - }, - "trainFaceAs:": "Train Face as:", - "trainFaceAsPerson:": "Train Face as Person", - - "toast": { - "success": { - "uploadedImage": "Successfully uploaded image.", - "addFaceLibrary": "Successfully add face library.", - "deletedFace": "Successfully deleted face.", - "trainedFace": "Successfully trained face.", - "updatedFaceScore": "Successfully updated face score." - }, - "error": { - "uploadingImageFailed": "Failed to upload image: {{errorMessage}}", - "addFaceLibraryFailed": "Failed to set face name: {{errorMessage}}", - "deleteFaceFailed": "Failed to delete: {{errorMessage}}", - "trainFailed": "Failed to train: {{errorMessage}}", - "updateFaceScoreFailed": "Failed to update face score: {{errorMessage}}" - } + "error": { + "uploadingImageFailed": "Failed to upload image: {{errorMessage}}", + "addFaceLibraryFailed": "Failed to set face name: {{errorMessage}}", + "deleteFaceFailed": "Failed to delete: {{errorMessage}}", + "trainFailed": "Failed to train: {{errorMessage}}", + "updateFaceScoreFailed": "Failed to update face score: {{errorMessage}}" } -} \ No newline at end of file + } +} diff --git a/web/public/locales/en/views/live.json b/web/public/locales/en/views/live.json index 0c31d4833..1790467d2 100644 --- a/web/public/locales/en/views/live.json +++ b/web/public/locales/en/views/live.json @@ -100,19 +100,21 @@ "streamingSettings": "Streaming Settings", "notifications": "Notifications", "audio": "Audio", - "suspend:": { + "suspend": { "forTime": "Suspend for: " }, "stream": { "title": "Stream", "audio": { - "tips": "Audio must be output from your camera and configured in go2rtc for this stream.", - "tips.documentation": "Read the documentation ", + "tips": { + "title": "Audio must be output from your camera and configured in go2rtc for this stream.", + "documentation": "Read the documentation " + }, "available": "Audio is available for this stream", "unavailable": "Audio is not available for this stream" }, "twoWayTalk": { - "tips": "Your device must suppport the feature and WebRTC must be configured for two-way talk.", + "tips": "Your device must support the feature and WebRTC must be configured for two-way talk.", "tips.documentation": "Read the documentation ", "available": "Two-way talk is available for this stream", "unavailable": "Two-way talk is unavailable for this stream" @@ -148,7 +150,9 @@ }, "editLayout": { "label": "Edit Layout", - "group.label": "Edit Camera Group", + "group": { + "label": "Edit Camera Group" + }, "exitEdit": "Exit Editing" } } diff --git a/web/public/locales/en/views/search.json b/web/public/locales/en/views/search.json index b63508fe9..8d8e878a8 100644 --- a/web/public/locales/en/views/search.json +++ b/web/public/locales/en/views/search.json @@ -1,65 +1,67 @@ { - "search": "Search", - "savedSearches": "Saved Searches", - "searchFor": "Search for {{inputValue}}", - "button": { - "clear": "Clear search", - "save": "Save search", - "delete": "Delete saved search", - "filterInformation": "Filter information", - "filterActive": "Filters active" + "search": "Search", + "savedSearches": "Saved Searches", + "searchFor": "Search for {{inputValue}}", + "button": { + "clear": "Clear search", + "save": "Save search", + "delete": "Delete saved search", + "filterInformation": "Filter information", + "filterActive": "Filters active" + }, + "trackedObjectId": "Tracked Object ID", + "filter": { + "label": { + "cameras": "Cameras", + "labels": "Labels", + "zones": "Zones", + "sub_labels": "Sub Labels", + "search_type": "Search Type", + "time_range": "Time Range", + "before": "Before", + "after": "After", + "min_score": "Min Score", + "max_score": "Max Score", + "min_speed": "Min Speed", + "max_speed": "Max Speed", + "recognized_license_plate": "Recognized License Plate", + "has_clip": "Has Clip", + "has_snapshot": "Has Snapshot" }, - "trackedObjectId": "Tracked Object ID", - "filter": { - "label": { - "cameras": "Cameras", - "labels": "Labels", - "zones": "Zones", - "sub_labels": "Sub Labels", - "search_type": "Search Type", - "time_range": "Time Range", - "before": "Before", - "after": "After", - "min_score": "Min Score", - "max_score": "Max Score", - "min_speed": "Min Speed", - "max_speed": "Max Speed", - "recognized_license_plate": "Recognized License Plate", - "has_clip": "Has Clip", - "has_snapshot": "Has Snapshot" - }, - "searchType": { - "thumbnail": "Thumbnail", - "description": "Description" - }, - "toast": { - "error": { - "beforeDateBeLaterAfter": "The 'before' date must be later than the 'after' date.", - "afterDatebeEarlierBefore": "The 'after' date must be earlier than the 'before' date.", - "minScoreMustBeLessOrEqualMaxScore": "The 'min_score' must be less than or equal to the 'max_score'.", - "maxScoreMustBeGreaterOrEqualMinScore": "The 'max_score' must be greater than or equal to the 'min_score'.", - "minSpeedMustBeLessOrEqualMaxSpeed": "The 'min_speed' must be less than or equal to the 'max_speed'.", - "maxSpeedMustBeGreaterOrEqualMinSpeed": "The 'max_speed' must be greater than or equal to the 'min_speed'." - } - }, - "tips": { - "title": "How to use text filters", - "desc": "Filters help you narrow down your search results. Here's how to use them in the input field:", - "desc.step": "", - "desc.example": "Example: cameras:front_door label:person before:01012024 time_range:3:00PM-4:00PM " - }, - "header": { - "currentFilterType": "Filter Values", - "noFilters": "Filters", - "activeFilters": "Active Filters" - } + "searchType": { + "thumbnail": "Thumbnail", + "description": "Description" }, - "similaritySearch": { - "title": "Similarity Search", - "active": "Similarity search active", - "clear": "Clear similarity search" + "toast": { + "error": { + "beforeDateBeLaterAfter": "The 'before' date must be later than the 'after' date.", + "afterDatebeEarlierBefore": "The 'after' date must be earlier than the 'before' date.", + "minScoreMustBeLessOrEqualMaxScore": "The 'min_score' must be less than or equal to the 'max_score'.", + "maxScoreMustBeGreaterOrEqualMinScore": "The 'max_score' must be greater than or equal to the 'min_score'.", + "minSpeedMustBeLessOrEqualMaxSpeed": "The 'min_speed' must be less than or equal to the 'max_speed'.", + "maxSpeedMustBeGreaterOrEqualMinSpeed": "The 'max_speed' must be greater than or equal to the 'min_speed'." + } }, - "placeholder": { - "search": "Search..." + "tips": { + "title": "How to use text filters", + "desc": { + "text": "Filters help you narrow down your search results. Here's how to use them in the input field:", + "step": "", + "example": "Example: cameras:front_door label:person before:01012024 time_range:3:00PM-4:00PM " + } + }, + "header": { + "currentFilterType": "Filter Values", + "noFilters": "Filters", + "activeFilters": "Active Filters" } -} \ No newline at end of file + }, + "similaritySearch": { + "title": "Similarity Search", + "active": "Similarity search active", + "clear": "Clear similarity search" + }, + "placeholder": { + "search": "Search..." + } +} diff --git a/web/public/locales/en/views/settings.json b/web/public/locales/en/views/settings.json index 3d4b6900c..f19ac5ee6 100644 --- a/web/public/locales/en/views/settings.json +++ b/web/public/locales/en/views/settings.json @@ -92,10 +92,14 @@ "modelSize": { "label": "Model Size", "desc": "The size of the model used for semantic search embeddings.", - "small": "small", - "large": "large", - "small.desc": "Using small employs a quantized version of the model that uses less RAM and runs faster on CPU with a very negligible difference in embedding quality.", - "large.desc": "Using large employs the full Jina model and will automatically run on the GPU if applicable." + "small": { + "title": "small", + "desc": "Using small employs a quantized version of the model that uses less RAM and runs faster on CPU with a very negligible difference in embedding quality." + }, + "large": { + "title": "large", + "desc": "Using large employs the full Jina model and will automatically run on the GPU if applicable." + } } }, "faceRecognition": { @@ -133,9 +137,11 @@ "objectAlertsTips": "All {{alertsLabels}} objects on {{cameraName}} will be shown as Alerts.", "zoneObjectAlertsTips": "All {{alertsLabels}} objects detected in {{zone}} on {{cameraName}} will be shown as Alerts.", "objectDetectionsTips": "All {{detectionsLabels}} objects not categorized on {{cameraName}} will be shown as Detections regardless of which zone they are in.", - "zoneObjectDetectionsTips": "All {{detectionsLabels}} objects not categorized in {{zone}} on {{cameraName}} will be shown as Detections.", - "zoneObjectDetectionsTips.notSelectDetections": "All {{detectionsLabels}} objects detected in {{zone}} on {{cameraName}} not categorized as Alerts will be shown as Detections regardless of which zone they are in.", - "zoneObjectDetectionsTips.regardlessOfZoneObjectDetectionsTips": "All {{detectionsLabels}} objects not categorized on {{cameraName}} will be shown as Detections regardless of which zone they are in.", + "zoneObjectDetectionsTips": { + "text": "All {{detectionsLabels}} objects not categorized in {{zone}} on {{cameraName}} will be shown as Detections.", + "notSelectDetections": "All {{detectionsLabels}} objects detected in {{zone}} on {{cameraName}} not categorized as Alerts will be shown as Detections regardless of which zone they are in.", + "regardlessOfZoneObjectDetectionsTips": "All {{detectionsLabels}} objects not categorized on {{cameraName}} will be shown as Detections regardless of which zone they are in." + }, "selectAlertsZones": "Select zones for Alerts", "selectDetectionsZones": "Select zones for Detections", "limitDetections": "Limit detections to specific zones", @@ -166,13 +172,27 @@ "hasIllegalCharacter": "Zone name contains illegal characters." } }, - "distance.error": "Distance must be greater than or equal to 0.1.", - "distance.error.mustBeFilled": "All distance fields must be filled to use speed estimation.", - "inertia.error.mustBeAboveZero": "Inertia must be above 0.", - "loiteringTime.error.mustBeGreaterOrEqualZero": "Loitering time must be greater than or equal to 0.", + "distance": { + "error": { + "text": "Distance must be greater than or equal to 0.1.", + "mustBeFilled": "All distance fields must be filled to use speed estimation." + } + }, + "inertia": { + "error": { + "mustBeAboveZero": "Inertia must be above 0." + } + }, + "loiteringTime": { + "error": { + "mustBeGreaterOrEqualZero": "Loitering time must be greater than or equal to 0." + } + }, "polygonDrawing": { "removeLastPoint": "Remove last point", - "reset.label": "Clear all points", + "reset": { + "label": "Clear all points" + }, "snapPoints": { "true": "Snap points", "false": "Don't Snap points" @@ -190,77 +210,123 @@ "zones": { "label": "Zones", "documentTitle": "Edit Zone - Frigate", - "desc": "Zones allow you to define a specific area of the frame so you can determine whether or not an object is within a particular area.", - "desc.documentation": "Documentation", + "desc": { + "title": "Zones allow you to define a specific area of the frame so you can determine whether or not an object is within a particular area.", + "documentation": "Documentation" + }, "add": "Add Zone", "edit": "Edit Zone", "point_one": "{{count}} point", "point_other": "{{count}} points", "clickDrawPolygon": "Click to draw a polygon on the image.", - "name": "Name", - "name.inputPlaceHolder": "Enter a name...", - "name.tips": "Name must be at least 2 characters and must not be the name of a camera or another zone.", - "inertia": "Inertia", - "inertia.desc": "Specifies how many frames that an object must be in a zone before they are considered in the zone. Default: 3", - "loiteringTime": "Loitering Time", - "loiteringTime.desc": "Sets a minimum amount of time in seconds that the object must be in the zone for it to activate. Default: 0", - "objects": "Objects", - "objects.desc": "List of objects that apply to this zone.", + "name": { + "title": "Name", + "inputPlaceHolder": "Enter a name...", + "tips": "Name must be at least 2 characters and must not be the name of a camera or another zone." + }, + "inertia": { + "title": "Inertia", + "desc": "Specifies how many frames that an object must be in a zone before they are considered in the zone. Default: 3" + }, + "loiteringTime": { + "title": "Loitering Time", + "desc": "Sets a minimum amount of time in seconds that the object must be in the zone for it to activate. Default: 0" + }, + "objects": { + "title": "Objects", + "desc": "List of objects that apply to this zone." + }, "allObjects": "All Objects", - "speedEstimation": "Speed Estimation", - "speedEstimation.desc": "Enable speed estimation for objects in this zone. The zone must have exactly 4 points.", - "speedThreshold": "Speed Threshold ({{unit}})", - "speedThreshold.desc": "Specifies a minimum speed for objects to be considered in this zone.", - "speedThreshold.toast.error.pointLengthError": "Speed estimation has been disabled for this zone. Zones with speed estimation must have exactly 4 points.", - "speedThreshold.toast.error.loiteringTimeError": "Zones with loitering times greater than 0 should not be used with speed estimation.", - "toast.success": "Zone ({{zoneName}}) has been saved. Restart Frigate to apply changes." + "speedEstimation": { + "title": "Speed Estimation", + "desc": "Enable speed estimation for objects in this zone. The zone must have exactly 4 points." + }, + "speedThreshold": { + "title": "Speed Threshold ({{unit}})", + "desc": "Specifies a minimum speed for objects to be considered in this zone.", + "toast": { + "error": { + "pointLengthError": "Speed estimation has been disabled for this zone. Zones with speed estimation must have exactly 4 points.", + "loiteringTimeError": "Zones with loitering times greater than 0 should not be used with speed estimation." + } + } + }, + "toast": { + "success": "Zone ({{zoneName}}) has been saved. Restart Frigate to apply changes." + } }, "motionMasks": { "label": "Motion Mask", "documentTitle": "Edit Motion Mask - Frigate", - "desc": "Motion masks are used to prevent unwanted types of motion from triggering detection. Over masking will make it more difficult for objects to be tracked.", - "desc.documentation": "Documentation", + "desc": { + "title": "Motion masks are used to prevent unwanted types of motion from triggering detection. Over masking will make it more difficult for objects to be tracked.", + "documentation": "Documentation" + }, "add": "New Motion Mask", "edit": "Edit Motion Mask", - "context": "Motion masks are used to prevent unwanted types of motion from triggering detection (example: tree branches, camera timestamps). Motion masks should be used very sparingly, over-masking will make it more difficult for objects to be tracked.", - "context.documentation": "Read the documentation", + "context": { + "title": "Motion masks are used to prevent unwanted types of motion from triggering detection (example: tree branches, camera timestamps). Motion masks should be used very sparingly, over-masking will make it more difficult for objects to be tracked.", + "documentation": "Read the documentation" + }, "point_one": "{{count}} point", "point_other": "{{count}} points", "clickDrawPolygon": "Click to draw a polygon on the image.", - "polygonAreaTooLarge": "The motion mask is covering {{polygonArea}}% of the camera frame. Large motion masks are not recommended.", - "polygonAreaTooLarge.tips": "Motion masks do not prevent objects from being detected. You should use a required zone instead.", - "polygonAreaTooLarge.documentation": "Read the documentation", - "toast.success": "{{polygonName}} has been saved. Restart Frigate to apply changes.", - "toast.success.noName": "Motion Mask has been saved. Restart Frigate to apply changes." + "polygonAreaTooLarge": { + "title": "The motion mask is covering {{polygonArea}}% of the camera frame. Large motion masks are not recommended.", + "tips": "Motion masks do not prevent objects from being detected. You should use a required zone instead.", + "documentation": "Read the documentation" + }, + "toast": { + "success": { + "title": "{{polygonName}} has been saved. Restart Frigate to apply changes.", + "noName": "Motion Mask has been saved. Restart Frigate to apply changes." + } + } }, "objectMasks": { "label": "Object Masks", "documentTitle": "Edit Object Mask - Frigate", - "desc": "Object filter masks are used to filter out false positives for a given object type based on location.", - "documentation": "Documentation", + "desc": { + "title": "Object filter masks are used to filter out false positives for a given object type based on location.", + "documentation": "Documentation" + }, "add": "Add Object Mask", "edit": "Edit Object Mask", "context": "Object filter masks are used to filter out false positives for a given object type based on location.", "point_one": "{{count}} point", "point_other": "{{count}} points", "clickDrawPolygon": "Click to draw a polygon on the image.", - "objects": "Objects", - "objects.desc": "The object type that that applies to this object mask.", - "objects.allObjectTypes": "All object types", - "toast.success": "{{polygonName}} has been saved. Restart Frigate to apply changes.", - "toast.success.noName": "Object Mask has been saved. Restart Frigate to apply changes." + "objects": { + "title": "Objects", + "desc": "The object type that that applies to this object mask.", + "allObjectTypes": "All object types" + }, + "toast": { + "success": { + "title": "{{polygonName}} has been saved. Restart Frigate to apply changes.", + "noName": "Object Mask has been saved. Restart Frigate to apply changes." + } + } } }, "motionDetectionTuner": { "title": "Motion Detection Tuner", - "desc": "Frigate uses motion detection as a first line check to see if there is anything happening in the frame worth checking with object detection.", - "desc.documentation": "Read the Motion Tuning Guide", - "Threshold": "Threshold", - "Threshold.desc": "The threshold value dictates how much of a change in a pixel's luminance is required to be considered motion. Default: 30", - "contourArea": "Contour Area", - "contourArea.desc": "The contour area value is used to decide which groups of changed pixels qualify as motion. Default: 10", - "improveContrast": "Improve Contrast", - "improveContrast.desc": "Improve contrast for darker scenes. Default: ON", + "desc": { + "title": "Frigate uses motion detection as a first line check to see if there is anything happening in the frame worth checking with object detection.", + "documentation": "Read the Motion Tuning Guide" + }, + "Threshold": { + "title": "Threshold", + "desc": "The threshold value dictates how much of a change in a pixel's luminance is required to be considered motion. Default: 30" + }, + "contourArea": { + "title": "Contour Area", + "desc": "The contour area value is used to decide which groups of changed pixels qualify as motion. Default: 10" + }, + "improveContrast": { + "title": "Improve Contrast", + "desc": "Improve contrast for darker scenes. Default: ON" + }, "toast": { "success": "Motion settings have been saved." } @@ -314,8 +380,10 @@ }, "users": { "title": "Users", - "management": "Users Management", - "management.desc": "Manage this Frigate instance's user accounts.", + "management": { + "title": "User Management", + "desc": "Manage this Frigate instance's user accounts." + }, "addUser": "Add User", "updatePassword": "Update Password", "toast": { @@ -343,23 +411,35 @@ }, "dialog": { "form": { - "user": "Username", - "user.desc": "Only letters, numbers, periods and underscores allowed.", - "user.placeholder": "Enter username", - "password": "Password", - "password.placeholder": "Enter password", - "password.confirm": "Confirm Password", - "password.confirm.placeholder": "Confirm Password", - "password.strength": "password strength: ", - "password.strength.weak": "Weak", - "password.strength.medium": "Medium", - "password.strength.strong": "Strong", - "password.strength.veryStrong": "Very strong", - "password.match": "Passwords match", - "password.notMatch": "Passwords don't match", - "newPassword": "New Password", - "newPassword.placeholder": "Enter new password", - "newPassword.confirm.placeholder": "Re-enter new password", + "user": { + "title": "Username", + "desc": "Only letters, numbers, periods and underscores allowed.", + "placeholder": "Enter username" + }, + "password": { + "title": "Password", + "placeholder": "Enter password", + "confirm": { + "title": "Confirm Password", + "placeholder": "Confirm Password" + }, + "strength": { + "title": "Password strength: ", + "weak": "Weak", + "medium": "Medium", + "strong": "Strong", + "veryStrong": "Very Strong" + }, + "match": "Passwords match", + "notMatch": "Passwords don't match" + }, + "newPassword": { + "title": "New Password", + "placeholder": "Enter new password", + "confirm": { + "placeholder": "Re-enter new password" + } + }, "usernameIsRequired": "Username is required" }, "createUser": { @@ -400,12 +480,16 @@ "title": "Global Settings", "desc": "Temporarily suspend notifications for specific cameras on all registered devices." }, - "email": "Email", - "email.placeholder": "e.g. example@email.com", - "email.desc": "A valid email is required and will be used to notify you if there are any issues with the push service.", - "cameras": "Cameras", - "cameras.noCameras": "No cameras available", - "cameras.desc": "Select which cameras to enable notifications for.", + "email": { + "title": "Email", + "placeholder": "e.g. example@email.com", + "desc": "A valid email is required and will be used to notify you if there are any issues with the push service." + }, + "cameras": { + "title": "Cameras", + "noCameras": "No cameras available", + "desc": "Select which cameras to enable notifications for." + }, "deviceSpecific": "Device Specific Settings", "registerDevice": "Register This Device", "unregisterDevice": "Unregister This Device", diff --git a/web/public/locales/en/views/system.json b/web/public/locales/en/views/system.json index 028411b19..65b2db663 100644 --- a/web/public/locales/en/views/system.json +++ b/web/public/locales/en/views/system.json @@ -3,7 +3,7 @@ "cameras": "Cameras Stats - Frigate", "storage": "Storage Stats - Frigate", "general": "General Stats - Frigate", - "features": "Features Stats- Frigate", + "features": "Features Stats - Frigate", "logs": { "frigate": "Frigate Logs - Frigate", "go2rtc": "Go2RTC Logs - Frigate", @@ -63,8 +63,12 @@ "cudaComputerCapability": "CUDA Compute Capability: {{cuda_compute}}", "vbios": "VBios Info: {{vbios}}" }, - "closeInfo.label": "Close GPU info", - "copyInfo.label": "Copy GPU info", + "closeInfo": { + "label": "Close GPU info" + }, + "copyInfo": { + "label": "Copy GPU info" + }, "toast": { "success": "Copied GPU info to clipboard" } @@ -87,12 +91,14 @@ "cameraStorage": { "title": "Camera Storage", "camera": "Camera", - "unused": "Unused", "unusedStorageInformation": "Unused Storage Information", "storageUsed": "Storage", "percentageOfTotalUsed": "Percentage of Total", "bandwidth": "Bandwidth", - "unused.tips": "This value may not accurately represent the free space available to Frigate if you have other files stored on your drive beyond Frigate's recordings. Frigate does not track storage usage outside of its recordings." + "unused": { + "title": "Unused", + "tips": "This value may not accurately represent the free space available to Frigate if you have other files stored on your drive beyond Frigate's recordings. Frigate does not track storage usage outside of its recordings." + } } }, "cameras": { diff --git a/web/public/locales/zh-CN/common.json b/web/public/locales/zh-CN/common.json index 28fc48d88..ef56a0c52 100644 --- a/web/public/locales/zh-CN/common.json +++ b/web/public/locales/zh-CN/common.json @@ -34,14 +34,22 @@ "minute": "{{time}}分钟", "s": "{{time}}秒", "second": "{{time}}秒", - "formattedTimestamp": "%m月%-d日 %I:%M:%S %p", - "formattedTimestamp.24hour": "%m月%-d日 %H:%M:%S", - "formattedTimestamp2": "%m/%d %I:%M:%S%P", - "formattedTimestamp2.24hour": "%d日%m月 %H:%M:%S", - "formattedTimestampExcludeSeconds": "%m月%-d日 %I:%M %p", - "formattedTimestampExcludeSeconds.24hour": "%m月%-d日 %H:%M", - "formattedTimestampWithYear": "%Y年%m月%-d日 %I:%M:%S %p", - "formattedTimestampWithYear.24hour": "%Y年%m月%-d日 %H:%M", + "formattedTimestamp": { + "12hour": "%m月%-d日 %I:%M:%S %p", + "24hour": "%m月%-d日 %H:%M:%S" + }, + "formattedTimestamp2": { + "12hour": "%m/%d %I:%M:%S%P", + "24hour": "%d日%m月 %H:%M:%S" + }, + "formattedTimestampExcludeSeconds": { + "12hour": "%m月%-d日 %I:%M %p", + "24hour": "%m月%-d日 %H:%M" + }, + "formattedTimestampWithYear": { + "12hour": "%Y年%m月%-d日 %I:%M:%S %p", + "24hour": "%Y年%m月%-d日 %H:%M" + }, "formattedTimestampOnlyMonthAndDay": "%m月%-d日" }, "unit": { @@ -55,10 +63,14 @@ }, "pagination": { "label": "分页", - "previous": "上一页", - "previous.label": "转到上一页", - "next": "下一页", - "next.label": "转到下一页", + "previous": { + "title": "上一页", + "label": "转到上一页" + }, + "next": { + "title": "下一页", + "label": "转到下一页" + }, "more": "更多页面" }, "button": { @@ -105,14 +117,18 @@ "language": { "en": "English", "zhCN": "简体中文", - "withSystem.label": "使用系统语言设置" + "withSystem": { + "label": "使用系统语言设置" + } }, "appearance": "外观", "darkMode": { "label": "深色模式", "light": "浅色", "dark": "深色", - "withSystem.label": "使用系统深色模式设置" + "withSystem": { + "label": "使用系统深色模式设置" + } }, "withSystem": "跟随系统", "theme": { @@ -125,13 +141,19 @@ "default": "默认" }, "help": "帮助", - "documentation.label": "Frigate 的官方文档", - "documentation": "文档", - "live": "实时监控", - "live.allCameras": "所有摄像头", - "live.cameras": "摄像头", - "live.cameras.count_one": "{{count}} 个摄像头", - "live.cameras.count_other": "{{count}} 个摄像头", + "documentation": { + "title": "文档", + "label": "Frigate 的官方文档" + }, + "live": { + "title": "实时监控", + "allCameras": "所有摄像头", + "cameras": { + "title": "摄像头", + "count_one": "{{count}} 个摄像头", + "count_other": "{{count}} 个摄像头" + } + }, "review": "回放", "explore": "探测", "export": "导出", @@ -142,15 +164,19 @@ "current": "当前用户:{{user}}", "anonymous": "匿名", "logout": "登出", - "setPassword": "设置密码" + "setPassword": "设置密码", + "title": "用户" }, "restart": "重启 Frigate" }, "toast": { "copyUrlToClipboard": "已复制链接到剪贴板。", "save": { - "error": "保存配置信息失败: {{errorMessage}}", - "error.noMessage": "保存配置信息失败" + "title": "保存", + "error": { + "title": "保存配置信息失败: {{errorMessage}}", + "noMessage": "保存配置信息失败" + } } }, "role": { diff --git a/web/public/locales/zh-CN/components/camera.json b/web/public/locales/zh-CN/components/camera.json index c8a95adec..347258580 100644 --- a/web/public/locales/zh-CN/components/camera.json +++ b/web/public/locales/zh-CN/components/camera.json @@ -5,13 +5,15 @@ "edit": "编辑摄像头组", "delete": { "label": "删除摄像头组", - "confirm": "确认删除", - "confirm.desc": "你确定要删除摄像头组 {{name}} 吗?" + "confirm": { + "title": "确认删除", + "desc": "你确定要删除摄像头组 {{name}} 吗?" + } }, "name": { "label": "名称", "placeholder": "请输入名称", - "error": { + "errorMessage": { "mustLeastCharacters": "摄像头组的名称必须至少有 2 个字符。", "exists": "摄像头组名称已存在。", "nameMustNotPeriod": "摄像头组名称不能包含英文句号(.)。", @@ -32,8 +34,10 @@ "audioIsAvailable": "此视频流支持音频", "audioIsUnavailable": "此视频流不支持音频", "audio": { - "tips": "音频必须从您的摄像头输出并在 go2rtc 中配置此流。", - "tips.document": "阅读文档(英文) " + "tips": { + "title": "音频必须从您的摄像头输出并在 go2rtc 中配置此流。", + "document": "阅读文档(英文) " + } }, "streamMethod": { "label": "视频流方法", @@ -48,8 +52,10 @@ }, "continuousStreaming": { "label": "持续视频流", - "desc": "当摄像头画面在仪表板上可见时,始终为实时视频流,即使未检测到活动。", - "desc.warning": "持续视频流可能会导致高带宽使用和性能问题,请谨慎使用。" + "desc": { + "title": "当摄像头画面在仪表板上可见时,始终为实时视频流,即使未检测到活动。", + "warning": "持续视频流可能会导致高带宽使用和性能问题,请谨慎使用。" + } } } }, diff --git a/web/public/locales/zh-CN/components/dialog.json b/web/public/locales/zh-CN/components/dialog.json index 61729878e..da7786483 100644 --- a/web/public/locales/zh-CN/components/dialog.json +++ b/web/public/locales/zh-CN/components/dialog.json @@ -15,13 +15,19 @@ "desc": "您希望避开的地点中的物体不应被视为误报。若将其作为误报提交,可能会导致AI模型容易混淆相关物体的识别。" }, "review": { - "true.label": "为 Frigate Plus 确认此标签", - "true_one": "这是 {{label}}", - "true_other": "这是 {{label}}", - "false.label": "不为 Frigate Plus 确认此标签", - "false_one": "这不是 {{label}}", - "false_other": "这不是 {{label}}", - "state.submitted": "已提交" + "true": { + "label": "为 Frigate Plus 确认此标签", + "true_one": "这是 {{label}}", + "true_other": "这是 {{label}}" + }, + "false": { + "label": "不为 Frigate Plus 确认此标签", + "false_one": "这不是 {{label}}", + "false_other": "这不是 {{label}}" + }, + "state": { + "submitted": "已提交" + } } }, "video": { @@ -34,10 +40,14 @@ "lastHour_one": "最后1小时", "lastHour_other": "最后 {{count}} 小时", "custom": "自定义", - "start": "开始时间", - "start.label": "选择开始时间", - "end": "结束时间", - "end.label": "选择结束时间" + "start": { + "title": "开始时间", + "label": "选择开始时间" + }, + "end": { + "title": "结束时间", + "label": "选择结束时间" + } }, "name": { "placeholder": "导出项目的名字" @@ -61,9 +71,11 @@ "streaming": { "label": "视频流", "restreaming": { - "NotEnabled": "重新流式传输未启用。", - "desc": "为此摄像头设置 go2rtc,以获取额外的实时预览选项和音频支持。", - "desc.readTheDocumentation": "阅读文档(英文) " + "disabled": "重新流式传输未启用。", + "desc": { + "title": "为此摄像头设置 go2rtc,以获取额外的实时预览选项和音频支持。", + "readTheDocumentation": "阅读文档(英文) " + } }, "showStats": { "label": "显示视频流统计信息", @@ -78,14 +90,19 @@ "placeholder": "请输入搜索名称", "overwrite": "{{searchName}} 已存在。保存将覆盖现有值。", "success": "搜索 ({{searchName}}) 已保存。", - "button.save.label": "保存此搜索" + "button": { + "save": { + "label": "保存此搜索" + } + } } }, "recording": { "confirmDelete": { "title": "确认删除", - "desc": "您确定要删除与此审核项相关的所有录制视频吗?

提示:按住 Shift 键点击删除可跳过此对话框。", - "desc.selected": "您确定要删除与此审核项相关的所有录制视频吗?

提示:按住 Shift 键点击删除可跳过此对话框。" + "desc": { + "selected": "您确定要删除与此审核项相关的所有录制视频吗?

提示:按住 Shift 键点击删除可跳过此对话框。" + } }, "button": { "export": "导出", diff --git a/web/public/locales/zh-CN/components/filter.json b/web/public/locales/zh-CN/components/filter.json index 62ebf5093..030642bba 100644 --- a/web/public/locales/zh-CN/components/filter.json +++ b/web/public/locales/zh-CN/components/filter.json @@ -2,22 +2,30 @@ "filter": "过滤器", "labels": { "label": "标签", - "all": "所有标签", - "all.short": "标签", + "all": { + "title": "所有标签", + "short": "标签" + }, "count": "{{count}} 个标签" }, "zones": { - "all": "所有区域", - "all.short": "区域" + "all": { + "title": "所有区域", + "short": "区域" + }, + "label": "区域" }, "dates": { - "all": "所有日期", - "all.short": "日期" + "all": { + "title": "所有日期", + "short": "日期" + } }, "more": "更多筛选项", - "reset.label": "重置筛选器为默认值", + "reset": { + "label": "重置筛选器为默认值" + }, "timeRange": "时间范围", - "zones.label": "区域", "subLabels": { "label": "子标签", "all": "所有子标签" @@ -45,8 +53,10 @@ }, "cameras": { "label": "摄像头筛选", - "all": "所有摄像头", - "all.short": "摄像头" + "all": { + "title": "所有摄像头", + "short": "摄像头" + } }, "review": { "showReviewed": "显示已查看的项目" @@ -57,12 +67,16 @@ "explore": { "settings": { "title": "设置", - "defaultView": "默认视图", - "defaultView.desc": "当未选择任何过滤器时,显示每个标签最近跟踪对象的摘要,或显示未过滤的网格。", - "defaultView.summary": "摘要", - "defaultView.unfilteredGrid": "未过滤网格", - "gridColumns": "网格列数", - "gridColumns.desc": "选择网格视图中的列数。", + "defaultView": { + "title": "默认视图", + "desc": "当未选择任何过滤器时,显示每个标签最近跟踪对象的摘要,或显示未过滤的网格。", + "summary": "摘要", + "unfilteredGrid": "未过滤网格" + }, + "gridColumns": { + "title": "网格列数", + "desc": "选择网格视图中的列数。" + }, "searchSource": { "label": "搜索源", "desc": "选择是搜索缩略图还是跟踪对象的描述。", @@ -70,19 +84,21 @@ "thumbnailImage": "缩略图", "description": "描述" } - }, - "date": { - "selectDateBy": { - "label": "选择日期进行筛选" - } + } + }, + "date": { + "selectDateBy": { + "label": "选择日期进行筛选" } } }, "logSettings": { "label": "日志级别筛选", "filterBySeverity": "按严重程度筛选日志", - "loading": "加载中", - "loading.desc": "当日志面板滚动到底部时,新的日志会自动流式加载。", + "loading": { + "title": "加载中", + "desc": "当日志面板滚动到底部时,新的日志会自动流式加载。" + }, "disableLogStreaming": "禁用日志流式加载", "allLogs": "所有日志" }, diff --git a/web/public/locales/zh-CN/components/player.json b/web/public/locales/zh-CN/components/player.json index cf1088f42..df6648048 100644 --- a/web/public/locales/zh-CN/components/player.json +++ b/web/public/locales/zh-CN/components/player.json @@ -13,18 +13,30 @@ }, "cameraDisabled": "摄像机已禁用", "stats": { - "streamType": "流类型:", - "streamType.short": "类型", - "bandwidth": "带宽:", - "bandwidth.short": "带宽", - "latency": "延迟:", - "latency.short": "延迟", - "latency.value": "{{seconds}} 秒", - "latency.short.value": "{{seconds}} 秒", + "streamType": { + "title": "流类型:", + "short": "类型" + }, + "bandwidth": { + "title": "带宽:", + "short": "带宽" + }, + "latency": { + "title": "延迟:", + "value": "{{seconds}} 秒", + "short": { + "title": "延迟", + "value": "{{seconds}} 秒" + } + }, "totalFrames": "总帧数:", - "droppedFrames": "丢帧数:", - "droppedFrames.short": "丢帧", - "droppedFrames.short.value": "{{droppedFrames}} 帧", + "droppedFrames": { + "title": "丢帧数:", + "short": { + "title": "丢帧", + "value": "{{droppedFrames}} 帧" + } + }, "decodedFrames": "解码帧数:", "droppedFrameRate": "丢帧率:" }, diff --git a/web/public/locales/zh-CN/views/explore.json b/web/public/locales/zh-CN/views/explore.json index 557fe2cea..9e345d3a2 100644 --- a/web/public/locales/zh-CN/views/explore.json +++ b/web/public/locales/zh-CN/views/explore.json @@ -58,8 +58,10 @@ }, "annotationSettings": { "title": "标注设置", - "showAllZones": "显示所有区域", - "showAllZones.desc": "在对象进入区域的帧上始终显示区域。", + "showAllZones": { + "title": "显示所有区域", + "desc": "在对象进入区域的帧上始终显示区域。" + }, "offset": { "label": "标注偏移", "desc": "这些数据来自摄像头的检测源,但是叠加在录制源的图像上。这两个流不太可能完全同步。因此,边界框和录像不会完全对齐。但是,可以使用 annotation_offset 字段来调整这个问题。", @@ -98,26 +100,32 @@ } }, "label": "标签", - "editSubLable": "编辑子标签", - "editSubLable.desc": "为 {{label}} 输入新的子标签", - "editSubLable.desc.noLabel": "为此跟踪对象输入新的子标签", - "topScore": "最高得分", - "topScore.info": "最高分是跟踪对象的最高中位数得分,因此可能与搜索结果缩略图上显示的得分不同。", + "editSubLabel": { + "title": "编辑子标签", + "desc": "为 {{label}} 输入新的子标签", + "descNoLabel": "为此跟踪对象输入新的子标签" + }, + "topScore": { + "label": "最高得分", + "info": "最高分是跟踪对象的最高中位数得分,因此可能与搜索结果缩略图上显示的得分不同。" + }, "estimatedSpeed": "预计速度", "objects": "对象", "camera": "摄像头", "zones": "区域", "timestamp": "时间", "button": { - "findSimilar": "查找相似项" + "findSimilar": "查找相似项", + "regenerate": { + "title": "重新生成", + "label": "重新生成跟踪对象描述" + } }, "description": { "label": "描述", "placeholder": "跟踪对象的描述", "aiTips": "在跟踪对象的生命周期结束之前,Frigate 不会向您的生成式 AI 提供商请求描述。" }, - "button.regenerate": "重新生成", - "button.regenerate.label": "重新生成跟踪对象描述", "expandRegenerationMenu": "展开重新生成菜单", "regenerateFromSnapshot": "从快照重新生成", "regenerateFromThumbnails": "从缩略图重新生成", diff --git a/web/public/locales/zh-CN/views/faceLibrary.json b/web/public/locales/zh-CN/views/faceLibrary.json index 49273155e..72b3cba3d 100644 --- a/web/public/locales/zh-CN/views/faceLibrary.json +++ b/web/public/locales/zh-CN/views/faceLibrary.json @@ -1,41 +1,41 @@ { - "documentTitle": "人脸库 - Frigate", - "uploadFaceImage": { - "title": "上传人脸图片", - "desc": "上传图片以扫描人脸并包含在{{pageToggle}}中" + "documentTitle": "人脸库 - Frigate", + "uploadFaceImage": { + "title": "上传人脸图片", + "desc": "上传图片以扫描人脸并包含在{{pageToggle}}中" + }, + "createFaceLibrary": { + "title": "创建人脸库", + "desc": "创建一个新的人脸库" + }, + "train": { + "title": "训练", + "aria": "选择训练" + }, + "selectItem": "选择{{item}}", + "button": { + "deleteFaceAttempts": "尝试删除人脸", + "addFace": "添加人脸", + "uploadImage": "上传图片", + "reprocessFace": "重新处理人脸" + }, + "trainFaceAs": "将人脸训练为:", + "trainFaceAsPerson": "将人脸训练为人物", + + "toast": { + "success": { + "uploadedImage": "图片上传成功。", + "addFaceLibrary": "人脸库添加成功。", + "deletedFace": "人脸删除成功。", + "trainedFace": "人脸训练成功。", + "updatedFaceScore": "人脸分数更新成功。" }, - "createFaceLibrary": { - "title": "创建人脸库", - "desc": "创建一个新的人脸库" - }, - "train": { - "title": "训练", - "aria": "选择训练" - }, - "selectItem": "选择{{item}}", - "button": { - "deleteFaceAttempts": "尝试删除人脸", - "addFace": "添加人脸", - "uploadImage": "上传图片", - "reprocessFace:": "重新处理人脸" - }, - "trainFaceAs:": "将人脸训练为:", - "trainFaceAsPerson:": "将人脸训练为人物", - - "toast": { - "success": { - "uploadedImage": "图片上传成功。", - "addFaceLibrary": "人脸库添加成功。", - "deletedFace": "人脸删除成功。", - "trainedFace": "人脸训练成功。", - "updatedFaceScore": "人脸分数更新成功。" - }, - "error": { - "uploadingImageFailed": "图片上传失败:{{errorMessage}}", - "addFaceLibraryFailed": "设置人脸名称失败:{{errorMessage}}", - "deleteFaceFailed": "删除失败:{{errorMessage}}", - "trainFailed": "训练失败:{{errorMessage}}", - "updateFaceScoreFailed": "更新人脸分数失败:{{errorMessage}}" - } + "error": { + "uploadingImageFailed": "图片上传失败:{{errorMessage}}", + "addFaceLibraryFailed": "设置人脸名称失败:{{errorMessage}}", + "deleteFaceFailed": "删除失败:{{errorMessage}}", + "trainFailed": "训练失败:{{errorMessage}}", + "updateFaceScoreFailed": "更新人脸分数失败:{{errorMessage}}" } + } } diff --git a/web/public/locales/zh-CN/views/live.json b/web/public/locales/zh-CN/views/live.json index 95b0797b9..bfaf0ea42 100644 --- a/web/public/locales/zh-CN/views/live.json +++ b/web/public/locales/zh-CN/views/live.json @@ -106,8 +106,10 @@ "stream": { "title": "视频流", "audio": { - "tips": "音频必须从摄像机输出并在 go2rtc 中配置为此视频流使用。", - "tips.documentation": "阅读文档 ", + "tips": { + "title": "音频必须从摄像机输出并在 go2rtc 中配置为此视频流使用。", + "documentation": "阅读文档 " + }, "available": "此视频流支持音频", "unavailable": "此视频流不支持音频" }, @@ -148,7 +150,9 @@ }, "editLayout": { "label": "编辑布局", - "group.label": "编辑摄像机分组", + "group": { + "label": "编辑摄像机分组" + }, "exitEdit": "退出编辑" -} + } } diff --git a/web/public/locales/zh-CN/views/search.json b/web/public/locales/zh-CN/views/search.json index b33055931..bd98bbabb 100644 --- a/web/public/locales/zh-CN/views/search.json +++ b/web/public/locales/zh-CN/views/search.json @@ -1,65 +1,67 @@ { - "search": "搜索", - "savedSearches": "已保存的搜索", - "searchFor": "搜索 {{inputValue}}", - "button": { - "clear": "清除搜索", - "save": "保存搜索", - "delete": "删除已保存的搜索", - "filterInformation": "筛选信息", - "filterActive": "筛选器已激活" + "search": "搜索", + "savedSearches": "已保存的搜索", + "searchFor": "搜索 {{inputValue}}", + "button": { + "clear": "清除搜索", + "save": "保存搜索", + "delete": "删除已保存的搜索", + "filterInformation": "筛选信息", + "filterActive": "筛选器已激活" + }, + "trackedObjectId": "跟踪对象 ID", + "filter": { + "label": { + "cameras": "摄像机", + "labels": "标签", + "zones": "区域", + "sub_labels": "子标签", + "search_type": "搜索类型", + "time_range": "时间范围", + "before": "之前", + "after": "之后", + "min_score": "最低分数", + "max_score": "最高分数", + "min_speed": "最低速度", + "max_speed": "最高速度", + "recognized_license_plate": "识别的车牌", + "has_clip": "包含片段", + "has_snapshot": "包含快照" }, - "trackedObjectId": "跟踪对象 ID", - "filter": { - "label": { - "cameras": "摄像机", - "labels": "标签", - "zones": "区域", - "sub_labels": "子标签", - "search_type": "搜索类型", - "time_range": "时间范围", - "before": "之前", - "after": "之后", - "min_score": "最低分数", - "max_score": "最高分数", - "min_speed": "最低速度", - "max_speed": "最高速度", - "recognized_license_plate": "识别的车牌", - "has_clip": "包含片段", - "has_snapshot": "包含快照" - }, - "searchType": { - "thumbnail": "缩略图", - "description": "描述" - }, - "toast": { - "error": { - "beforeDateBeLaterAfter": "“之前”日期必须晚于“之后”日期。", - "afterDatebeEarlierBefore": "“之后”日期必须早于“之前”日期。", - "minScoreMustBeLessOrEqualMaxScore": "最小分值 必须小于或等于 最大分值。", - "maxScoreMustBeGreaterOrEqualMinScore": "最大分值 必须大于或等于 最小分值", - "minSpeedMustBeLessOrEqualMaxSpeed": "最低速度 必须小于或等于 最高速度", - "maxSpeedMustBeGreaterOrEqualMinSpeed": "最高速度 必须大于或等于 最低速度" - } - }, - "tips": { - "title": "如何使用文本筛选器(英文)", - "desc": "筛选器可帮助您缩小搜索范围。注意,目前还暂不支持中文搜索。以下是在输入字段中使用筛选器的方法:", - "desc.step": "", - "desc.example": "示例:cameras:front_door label:person before:01012024 time_range:3:00PM-4:00PM" - }, - "header": { - "currentFilterType": "筛选值", - "noFilters": "筛选条件", - "activeFilters": "激活的筛选项" - } + "searchType": { + "thumbnail": "缩略图", + "description": "描述" }, - "similaritySearch": { - "title": "相似搜索", - "active": "相似搜索已激活", - "clear": "清除相似搜索" + "toast": { + "error": { + "beforeDateBeLaterAfter": "“之前”日期必须晚于“之后”日期。", + "afterDatebeEarlierBefore": "“之后”日期必须早于“之前”日期。", + "minScoreMustBeLessOrEqualMaxScore": "最小分值 必须小于或等于 最大分值。", + "maxScoreMustBeGreaterOrEqualMinScore": "最大分值 必须大于或等于 最小分值", + "minSpeedMustBeLessOrEqualMaxSpeed": "最低速度 必须小于或等于 最高速度", + "maxSpeedMustBeGreaterOrEqualMinSpeed": "最高速度 必须大于或等于 最低速度" + } }, - "placeholder": { - "search": "搜索..." + "tips": { + "title": "如何使用文本筛选器(英文)", + "desc": { + "text": "筛选器可帮助您缩小搜索范围。注意,目前还暂不支持中文搜索。以下是在输入字段中使用筛选器的方法:", + "step": "", + "example": "示例:cameras:front_door label:person before:01012024 time_range:3:00PM-4:00PM" + } + }, + "header": { + "currentFilterType": "筛选值", + "noFilters": "筛选条件", + "activeFilters": "激活的筛选项" } + }, + "similaritySearch": { + "title": "相似搜索", + "active": "相似搜索已激活", + "clear": "清除相似搜索" + }, + "placeholder": { + "search": "搜索..." + } } diff --git a/web/public/locales/zh-CN/views/settings.json b/web/public/locales/zh-CN/views/settings.json index 664796122..0fc96128f 100644 --- a/web/public/locales/zh-CN/views/settings.json +++ b/web/public/locales/zh-CN/views/settings.json @@ -88,10 +88,14 @@ "modelSize": { "label": "模型大小", "desc": "用于语义搜索的语言模型大小", - "small": "小", - "large": "大", - "small.desc": "使用 模型。该模型将使用较少的内存,在CPU上也能较快的运行。质量较好。", - "large.desc": "使用 模型。该模型采用了完整的Jina模型,并在适用的情况下使用GPU。" + "small": { + "title": "小", + "desc": "使用 模型。该模型将使用较少的内存,在CPU上也能较快的运行。质量较好。" + }, + "large": { + "title": "大", + "desc": "使用 模型。该模型采用了完整的Jina模型,并在适用的情况下使用GPU。" + } } }, "faceRecognition": { @@ -129,9 +133,11 @@ "objectAlertsTips": "所有的 {{alertsLabels}} 对象在 {{cameraName}} 都将显示为警告。", "zoneObjectAlertsTips": "所有的 {{alertsLabels}} 对象在 {{cameraName}} 的 {{zone}} 区域都将显示为警告。", "objectDetectionsTips": "所有未在 {{cameraName}} 归类的 {{detectionsLabels}} 对象,无论它位于哪个区域,都将显示为检测。", - "zoneObjectDetectionsTips": "所有未在 {{cameraName}} 上归类为 {{detectionsLabels}} 的对象在 {{zone}} 区域都将显示为检测。", - "zoneObjectDetectionsTips.notSelectDetections": "所有在 {{cameraName}} 的 {{zone}} 上检测到的未归类为警告的 {{detectionsLabels}} 对象,无论它位于哪个区域,都将显示为检测。", - "zoneObjectDetectionsTips.regardlessOfZoneObjectDetectionsTips": "所有未在 {{cameraName}} 归类的 {{detectionsLabels}} 对象,无论它位于哪个区域,都将显示为检测。", + "zoneObjectDetectionsTips": { + "text": "所有未在 {{cameraName}} 上归类为 {{detectionsLabels}} 的对象在 {{zone}} 区域都将显示为检测。", + "notSelectDetections": "所有在 {{cameraName}} 的 {{zone}} 上检测到的未归类为警告的 {{detectionsLabels}} 对象,无论它位于哪个区域,都将显示为检测。", + "regardlessOfZoneObjectDetectionsTips": "所有未在 {{cameraName}} 归类的 {{detectionsLabels}} 对象,无论它位于哪个区域,都将显示为检测。" + }, "selectAlertsZones": "选择要显示为警告的区域", "selectDetectionsZones": "选择检测区域", "limitDetections": "限制仅在特定区域内进行检测", @@ -162,13 +168,27 @@ "hasIllegalCharacter": "区域名称包含非法字符。" } }, - "distance.error": "距离必须大于或等于 0.1。", - "distance.error.mustBeFilled": "所有距离字段必须填写才能使用速度估算。", - "inertia.error.mustBeAboveZero": "惯性必须大于 0。", - "loiteringTime.error.mustBeGreaterOrEqualZero": "徘徊时间必须大于或等于 0。", + "distance": { + "error": { + "text": "距离必须大于或等于 0.1。", + "mustBeFilled": "所有距离字段必须填写才能使用速度估算。" + } + }, + "inertia": { + "error": { + "mustBeAboveZero": "惯性必须大于 0。" + } + }, + "loiteringTime": { + "error": { + "mustBeGreaterOrEqualZero": "徘徊时间必须大于或等于 0。" + } + }, "polygonDrawing": { "removeLastPoint": "删除最后一个点", - "reset.label": "清除所有点", + "reset": { + "label": "清除所有点" + }, "snapPoints": { "true": "启用点对齐", "false": "禁用点对齐" @@ -186,77 +206,123 @@ "zones": { "label": "区域", "documentTitle": "编辑区域 - Frigate", - "desc": "该功能允许你定义特定区域,以便你可以确定特定对象是否在该区域内。", - "desc.documentation": "文档(英文)", + "desc": { + "title": "该功能允许你定义特定区域,以便你可以确定特定对象是否在该区域内。", + "documentation": "文档(英文)" + }, "add": "添加区域", "edit": "编辑区域", "point_one": "{{count}} 点", "point_other": "{{count}} 点", "clickDrawPolygon": "在图像上点击添加点绘制多边形区域。", - "name": "区域名称", - "name.inputPlaceHolder": "请输入名称", - "name.tips": "名称至少包含两个字符,且不能和摄像头或其他区域同名。
当前仅支持英文与数字组合", - "inertia": "惯性", - "inertia.desc": "识别指定对象前该对象必须在这个区域内出现了多少帧。默认值:3", - "loiteringTime": "停留时间", - "loiteringTime.desc": "设置对象必须在区域中活动的最小时间(单位为秒)。默认值:0", - "objects": "对象", - "objects.desc": "将在此区域应用的对象列表。", + "name": { + "title": "区域名称", + "inputPlaceHolder": "请输入名称", + "tips": "名称至少包含两个字符,且不能和摄像头或其他区域同名。
当前仅支持英文与数字组合" + }, + "inertia": { + "title": "惯性", + "desc": "识别指定对象前该对象必须在这个区域内出现了多少帧。默认值:3" + }, + "loiteringTime": { + "title": "停留时间", + "desc": "设置对象必须在区域中活动的最小时间(单位为秒)。默认值:0" + }, + "objects": { + "title": "对象", + "desc": "将在此区域应用的对象列表。" + }, "allObjects": "所有对象", - "speedEstimation": "速度估算", - "speedEstimation.desc": "启用此区域内物体的速度估算。该区域必须恰好包含 4 个点。", - "speedThreshold": "速度阈值 ({{unit}})", - "speedThreshold.desc": "指定物体在此区域内被视为有效的最低速度。", - "speedThreshold.toast.error.pointLengthError": "此区域的速度估算已禁用。启用速度估算的区域必须恰好包含 4 个点。", - "speedThreshold.toast.error.loiteringTimeError": "徘徊时间大于 0 的区域不应与速度估算一起使用。", - "toast.success": "区域 ({{zoneName}}) 已保存。请重启 Frigate 以应用更改。" + "speedEstimation": { + "title": "速度估算", + "desc": "启用此区域内物体的速度估算。该区域必须恰好包含 4 个点。" + }, + "speedThreshold": { + "title": "速度阈值 ({{unit}})", + "desc": "指定物体在此区域内被视为有效的最低速度。", + "toast": { + "error": { + "pointLengthError": "此区域的速度估算已禁用。启用速度估算的区域必须恰好包含 4 个点。", + "loiteringTimeError": "徘徊时间大于 0 的区域不应与速度估算一起使用。" + } + } + }, + "toast": { + "success": "区域 ({{zoneName}}) 已保存。请重启 Frigate 以应用更改。" + } }, "motionMasks": { "label": "运动遮罩", "documentTitle": "编辑运动遮罩 - Frigate", - "desc": "运动遮罩用于防止触发不必要的运动类型。过度的设置遮罩将使对象更加难以被追踪", - "desc.documentation": "文档(英文)", + "desc": { + "title": "运动遮罩用于防止触发不必要的运动类型。过度的设置遮罩将使对象更加难以被追踪", + "documentation": "文档(英文)" + }, "add": "添加运动遮罩", "edit": "编辑运动遮罩", - "context": "运动遮罩用于防止不需要的运动类型触发检测(例如:树枝、摄像头显示的时间等)。运动遮罩需要谨慎使用,过度的遮罩会导致追踪对象变得更加困难。", - "context.documentation": "阅读文档(英文)", + "context": { + "title": "运动遮罩用于防止不需要的运动类型触发检测(例如:树枝、摄像头显示的时间等)。运动遮罩需要谨慎使用,过度的遮罩会导致追踪对象变得更加困难。", + "documentation": "阅读文档(英文)" + }, "point_one": "{{count}} 点", "point_other": "{{count}} 点", "clickDrawPolygon": "在图像上点击添加点绘制多边形区域。", - "polygonAreaTooLarge": "运动遮罩的大小达到了摄像头画面的{{polygonArea}}%。不建议设置太大的运动遮罩。", - "polygonAreaTooLarge.tips": "运动遮罩不会阻止检测到对象,你应该使用区域来限制检测对象。", - "polygonAreaTooLarge.documentation": "阅读文档(英文)", - "toast.success": "{{polygonName}} 已保存。请重启 Frigate 以应用更改。", - "toast.success.noName": "运动遮罩已保存。请重启 Frigate 以应用更改。" + "polygonAreaTooLarge": { + "title": "运动遮罩的大小达到了摄像头画面的{{polygonArea}}%。不建议设置太大的运动遮罩。", + "tips": "运动遮罩不会阻止检测到对象,你应该使用区域来限制检测对象。", + "documentation": "阅读文档(英文)" + }, + "toast": { + "success": { + "title": "{{polygonName}} 已保存。请重启 Frigate 以应用更改。", + "noName": "运动遮罩已保存。请重启 Frigate 以应用更改。" + } + } }, "objectMasks": { "label": "对象遮罩", "documentTitle": "编辑对象遮罩 - Frigate", - "desc": "对象过滤器用于防止特定位置的指定对象被误报。", - "documentation": "文档(英文)", + "desc": { + "title": "对象过滤器用于防止特定位置的指定对象被误报。", + "documentation": "文档(英文)" + }, "add": "添加对象遮罩", "edit": "编辑对象遮罩", "context": "对象过滤器用于防止特定位置的指定对象被误报。", "point_one": "{{count}} 点", "point_other": "{{count}} 点", "clickDrawPolygon": "在图像上点击添加点绘制多边形区域。", - "objects": "对象", - "objects.desc": "将应用于此对象遮罩的对象列表。", - "objects.allObjectTypes": "所有对象类型", - "toast.success": "{{polygonName}} 已保存。请重启 Frigate 以应用更改。", - "toast.success.noName": "对象遮罩已保存。请重启 Frigate 以应用更改。" + "objects": { + "title": "对象", + "desc": "将应用于此对象遮罩的对象列表。", + "allObjectTypes": "所有对象类型" + }, + "toast": { + "success": { + "title": "{{polygonName}} 已保存。请重启 Frigate 以应用更改。", + "noName": "对象遮罩已保存。请重启 Frigate 以应用更改。" + } + } } }, "motionDetectionTuner": { "title": "运动检测调整器", - "desc": "Frigate 将使用运动检测作为首个步骤,以确认一帧画面中是否有对象需要使用对象检测。", - "desc.documentation": "阅读有关运动检测的文档(英文)", - "Threshold": "阈值", - "Threshold.desc": "阈值决定像素亮度高于多少时会被认为是运动。默认值:30", - "contourArea": "轮廓面积", - "contourArea.desc": "轮廓面积决定哪些变化的像素组符合运动条件。默认值:10", - "improveContrast": "提高对比度", - "improveContrast.desc": "提高较暗场景的对比度。默认值:开启", + "desc": { + "title": "Frigate 将使用运动检测作为首个步骤,以确认一帧画面中是否有对象需要使用对象检测。", + "documentation": "阅读有关运动检测的文档(英文)" + }, + "Threshold": { + "title": "阈值", + "desc": "阈值决定像素亮度高于多少时会被认为是运动。默认值:30" + }, + "contourArea": { + "title": "轮廓面积", + "desc": "轮廓面积决定哪些变化的像素组符合运动条件。默认值:10" + }, + "improveContrast": { + "title": "提高对比度", + "desc": "提高较暗场景的对比度。默认值:开启" + }, "toast": { "success": "运动设置已保存。" } @@ -310,8 +376,10 @@ }, "users": { "title": "用户", - "management": "用户管理", - "management.desc": "管理此 Frigate 实例的用户账户。", + "management": { + "title": "用户管理", + "desc": "管理此 Frigate 实例的用户账户。" + }, "addUser": "添加用户", "updatePassword": "修改密码", "toast": { @@ -339,30 +407,40 @@ }, "dialog": { "form": { - "user": "用户名", - "user.desc": "仅允许使用字母、数字、句点和下划线。", - "user.placeholder": "请输入用户名", - "password": "密码", - "password.placeholder": "请输入密码", - "password.confirm": "确认密码", - "password.confirm.placeholder": "请再次输入密码", - "password.strength": "密码强度:", - "password.strength.weak": "弱", - "password.strength.medium": "中等", - "password.strength.strong": "强", - "password.strength.veryStrong": "非常强", - "password.match": "密码匹配", - "password.notMatch": "密码不匹配", - "newPassword": "新密码", - "newPassword.placeholder": "请输入新密码", - "newPassword.confirm.placeholder": "请再次输入新密码", + "user": { + "title": "用户名", + "desc": "仅允许使用字母、数字、句点和下划线。", + "placeholder": "请输入用户名" + }, + "password": { + "title": "密码", + "placeholder": "请输入密码", + "confirm": { + "title": "确认密码", + "placeholder": "请再次输入密码" + }, + "strength": { + "title": "密码强度:", + "weak": "弱", + "medium": "中等", + "strong": "强", + "veryStrong": "非常强" + }, + "match": "密码匹配", + "notMatch": "密码不匹配" + }, + "newPassword": { + "title": "新密码", + "placeholder": "请输入新密码", + "confirm": { + "placeholder": "请再次输入新密码" + } + }, "usernameIsRequired": "用户名为必填项" }, "createUser": { "title": "创建新用户", "desc": "创建一个新用户账户,并指定一个角色以控制访问 Frigate UI 的权限。", - "user": "用户", - "password": "密码", "usernameOnlyInclude": "用户名只能包含字母、数字和 _" }, "deleteUser": { @@ -398,12 +476,16 @@ "desc": "网页推送通知需要安全连接(https://...)。这是浏览器的限制。请通过安全方式访问 Frigate 以使用通知功能。", "documentation": "阅读文档(英文)" }, - "email": "电子邮箱", - "email.placeholder": "例如:example@email.com", - "email.desc": "需要输入有效的电子邮件,在推送服务出现问题时,将使用此电子邮件进行通知。", - "cameras": "摄像头", - "cameras.noCameras": "没有可用的摄像头", - "cameras.desc": "选择要启用通知的摄像头。", + "email": { + "title": "电子邮箱", + "placeholder": "例如:example@email.com", + "desc": "需要输入有效的电子邮件,在推送服务出现问题时,将使用此电子邮件进行通知。" + }, + "cameras": { + "title": "摄像头", + "noCameras": "没有可用的摄像头", + "desc": "选择要启用通知的摄像头。" + }, "deviceSpecific": "设备专用设置", "registerDevice": "注册该设备", "unregisterDevice": "取消注册该设备", @@ -429,5 +511,9 @@ "registerFailed": "通知注册失败。" } } + }, + "cameraSetting": { + "camera": "相机", + "noCamera": "没有相机" } } diff --git a/web/public/locales/zh-CN/views/system.json b/web/public/locales/zh-CN/views/system.json index 548818ac2..20fbeee83 100644 --- a/web/public/locales/zh-CN/views/system.json +++ b/web/public/locales/zh-CN/views/system.json @@ -63,8 +63,12 @@ "cudaComputerCapability": "CUDA计算能力:{{cuda_compute}}", "vbios": "VBios信息:{{vbios}}" }, - "closeInfo.label": "关闭GPU信息", - "copyInfo.label": "复制GPU信息", + "closeInfo": { + "label": "关闭GPU信息" + }, + "copyInfo": { + "label": "复制GPU信息" + }, "toast": { "success": "已复制GPU信息到剪贴板" } @@ -87,12 +91,14 @@ "cameraStorage": { "title": "摄像头存储", "camera": "摄像头", - "unused": "未使用", "unusedStorageInformation": "未使用存储信息", "storageUsed": "存储使用", "percentageOfTotalUsed": "总使用率", "bandwidth": "带宽", - "unused.tips": "如果您的驱动器上存储了除 Frigate 录制内容之外的其他文件,该值可能无法准确反映 Frigate 可用的剩余空间。Frigate 不会追踪录制内容以外的存储使用情况。" + "unused": { + "title": "未使用", + "tips": "如果您的驱动器上存储了除 Frigate 录制内容之外的其他文件,该值可能无法准确反映 Frigate 可用的剩余空间。Frigate 不会追踪录制内容以外的存储使用情况。" + } } }, "cameras": { diff --git a/web/src/components/card/ReviewCard.tsx b/web/src/components/card/ReviewCard.tsx index 258dc75c7..c183f5e71 100644 --- a/web/src/components/card/ReviewCard.tsx +++ b/web/src/components/card/ReviewCard.tsx @@ -293,7 +293,9 @@ export default function ReviewCard({ - recording.confirmDelete.desc + + recording.confirmDelete.desc.selected + setOptionsOpen(false)}> diff --git a/web/src/components/card/SearchThumbnailFooter.tsx b/web/src/components/card/SearchThumbnailFooter.tsx index a24dfdd70..1cf607aa0 100644 --- a/web/src/components/card/SearchThumbnailFooter.tsx +++ b/web/src/components/card/SearchThumbnailFooter.tsx @@ -33,7 +33,7 @@ export default function SearchThumbnailFooter({ searchResult.start_time, config?.ui.time_format == "24hour" ? t("time.formattedTimestampExcludeSeconds.24hour", { ns: "common" }) - : t("time.formattedTimestampExcludeSeconds", { ns: "common" }), + : t("time.formattedTimestampExcludeSeconds.12hour", { ns: "common" }), config?.ui.timezone, ); diff --git a/web/src/components/dynamic/TimeAgo.tsx b/web/src/components/dynamic/TimeAgo.tsx index 594187988..15731470a 100644 --- a/web/src/components/dynamic/TimeAgo.tsx +++ b/web/src/components/dynamic/TimeAgo.tsx @@ -41,7 +41,7 @@ const timeAgo = ({ const elapsed: number = elapsedTime / 1000; if (elapsed < 10) { - return t("time.justNow"); + return t("time.justNow", { ns: "common" }); } for (let i = 0; i < timeUnits.length; i++) { @@ -66,6 +66,7 @@ const timeAgo = ({ if (monthDiff > 0) { const unitAmount = monthDiff; return t("time.ago", { + ns: "common", timeAgo: t(`time.${dense ? timeUnits[i].unit : timeUnits[i].full}`, { time: unitAmount, }), @@ -74,6 +75,7 @@ const timeAgo = ({ } else if (elapsed >= timeUnits[i].value) { const unitAmount: number = Math.floor(elapsed / timeUnits[i].value); return t("time.ago", { + ns: "common", timeAgo: t(`time.${dense ? timeUnits[i].unit : timeUnits[i].full}`, { time: unitAmount, }), diff --git a/web/src/components/filter/CalendarFilterButton.tsx b/web/src/components/filter/CalendarFilterButton.tsx index 524c2a2e6..af9d99851 100644 --- a/web/src/components/filter/CalendarFilterButton.tsx +++ b/web/src/components/filter/CalendarFilterButton.tsx @@ -28,7 +28,7 @@ export default function CalendarFilterButton({ day, updateSelectedDay, }: CalendarFilterButtonProps) { - const { t } = useTranslation(["components/filter"]); + const { t } = useTranslation(["components/filter", "views/events"]); const [open, setOpen] = useState(false); const selectedDate = useFormattedTimestamp( day == undefined ? 0 : day?.getTime() / 1000 + 1, @@ -38,7 +38,7 @@ export default function CalendarFilterButton({ const trigger = ( {search.has_snapshot && ( @@ -772,13 +776,13 @@ function ObjectDetailsTab({ {/^[aeiou]/i.test(search?.label || "") - ? t("explore.plus.review.true_other", { + ? t("explore.plus.review.true.true_other", { label: search?.label, }) - : t("explore.plus.review.true_one", { + : t("explore.plus.review.true.true_one", { label: search?.label, })} @@ -938,10 +942,10 @@ export function ObjectSnapshotTab({ }} > {/^[aeiou]/i.test(search?.label || "") - ? t("explore.plus.review.false_other", { + ? t("explore.plus.review.false.false_other", { label: search?.label, }) - : t("explore.plus.review.false_one", { + : t("explore.plus.review.false.false_one", { label: search?.label, })} diff --git a/web/src/components/overlay/dialog/SearchFilterDialog.tsx b/web/src/components/overlay/dialog/SearchFilterDialog.tsx index bf77462b1..12be73016 100644 --- a/web/src/components/overlay/dialog/SearchFilterDialog.tsx +++ b/web/src/components/overlay/dialog/SearchFilterDialog.tsx @@ -251,7 +251,7 @@ function TimeRangeFilterContent({ timeRange, updateTimeRange, }: TimeRangeFilterContentProps) { - const { t } = useTranslation(["components/filter"]); + const { t } = useTranslation(["components/filter", "components/dialog"]); const [startOpen, setStartOpen] = useState(false); const [endOpen, setEndOpen] = useState(false); @@ -406,7 +406,7 @@ export function ZoneFilterContent({ className="mx-2 cursor-pointer text-primary" htmlFor="allZones" > - {t("zones.all")} + {t("zones.all.title")}
{t("estimatedSpeed", { + ns: "components/filter", unit: config?.ui.unit_system == "metric" ? t("unit.speed.kph", { ns: "common" }) diff --git a/web/src/components/player/PlayerStats.tsx b/web/src/components/player/PlayerStats.tsx index d792acc13..baea08b35 100644 --- a/web/src/components/player/PlayerStats.tsx +++ b/web/src/components/player/PlayerStats.tsx @@ -12,16 +12,16 @@ export function PlayerStats({ stats, minimal }: PlayerStatsProps) { const fullStatsContent = ( <>

- {t("stats.streamType")}{" "} + {t("stats.streamType.title")}{" "} {stats.streamType}

- {t("stats.bandwidth")}{" "} + {t("stats.bandwidth.title")}{" "} {stats.bandwidth.toFixed(2)} kbps

{stats.latency != undefined && (

- {t("stats.latency")}{" "} + {t("stats.latency.title")}{" "} 2 ? "text-danger" : ""}`} > @@ -35,7 +35,9 @@ export function PlayerStats({ stats, minimal }: PlayerStatsProps) {

{stats.droppedFrames != undefined && (

- {t("stats.droppedFrames")}{" "} + + {t("stats.droppedFrames.title")} + {" "} {stats.droppedFrames}

)} @@ -68,7 +70,9 @@ export function PlayerStats({ stats, minimal }: PlayerStatsProps) {
{stats.latency != undefined && (
- {t("stats.latency.short")} + + {t("stats.latency.short.title")} + = 2 ? "text-danger" : ""}`} > @@ -81,7 +85,7 @@ export function PlayerStats({ stats, minimal }: PlayerStatsProps) { {stats.droppedFrames != undefined && (
- {t("stats.droppedFrames.short")} + {t("stats.droppedFrames.short.title")} {t("stats.droppedFrames.short.value", { diff --git a/web/src/components/player/PreviewThumbnailPlayer.tsx b/web/src/components/player/PreviewThumbnailPlayer.tsx index fe05a6676..d7c0709eb 100644 --- a/web/src/components/player/PreviewThumbnailPlayer.tsx +++ b/web/src/components/player/PreviewThumbnailPlayer.tsx @@ -171,7 +171,7 @@ export default function PreviewThumbnailPlayer({ review.start_time, config?.ui.time_format == "24hour" ? t("time.formattedTimestampExcludeSeconds.24hour", { ns: "common" }) - : t("time.formattedTimestampExcludeSeconds", { ns: "common" }), + : t("time.formattedTimestampExcludeSeconds.12hour", { ns: "common" }), config?.ui?.timezone, ); diff --git a/web/src/components/settings/CameraStreamingDialog.tsx b/web/src/components/settings/CameraStreamingDialog.tsx index 307ae2ee5..b1c758a38 100644 --- a/web/src/components/settings/CameraStreamingDialog.tsx +++ b/web/src/components/settings/CameraStreamingDialog.tsx @@ -50,7 +50,7 @@ export function CameraStreamingDialog({ setIsDialogOpen, onSave, }: CameraStreamingDialogProps) { - const { t } = useTranslation(["components/camera"]); + const { t } = useTranslation(["components/camera", "components/dialog"]); const { data: config } = useSWR("config"); const [isLoading, setIsLoading] = useState(false); @@ -198,7 +198,9 @@ export function CameraStreamingDialog({
- {t("streaming.restreaming.desc", { ns: "components/dialog" })} + {t("streaming.restreaming.desc.title", { + ns: "components/dialog", + })}
- {t("streaming.restreaming.readTheDocumentation", { + {t("streaming.restreaming.desc.readTheDocumentation", { ns: "components/dialog", })} @@ -257,7 +259,7 @@ export function CameraStreamingDialog({
- {t("group.camera.setting.audio.desc")} + {t("group.camera.setting.audio.tips.title")}
- {t("group.camera.setting.audio.desc.document")} + {t("group.camera.setting.audio.tips.document")}
@@ -322,7 +324,7 @@ export function CameraStreamingDialog({ <>

{t( - "group.camera.setting.streamMethod.method.continuousStreaming.desc", + "group.camera.setting.streamMethod.method.continuousStreaming.desc.title", )}

diff --git a/web/src/components/settings/MotionMaskEditPane.tsx b/web/src/components/settings/MotionMaskEditPane.tsx index 1a47d7e1d..ef80fde26 100644 --- a/web/src/components/settings/MotionMaskEditPane.tsx +++ b/web/src/components/settings/MotionMaskEditPane.tsx @@ -107,7 +107,7 @@ export default function MotionMaskEditPane({ polygon: z.object({ name: z.string(), isFinished: z.boolean() }), }) .refine(() => polygon?.isFinished === true, { - message: t("masksAndZones.polygonDrawing.error.mustBeFinished"), + message: t("masksAndZones.form.polygonDrawing.error.mustBeFinished"), path: ["polygon.isFinished"], }); @@ -166,7 +166,7 @@ export default function MotionMaskEditPane({ if (res.status === 200) { toast.success( polygon.name - ? t("masksAndZones.motionMasks.toast.success", { + ? t("masksAndZones.motionMasks.toast.success.title", { polygonName: polygon.name, }) : t("masksAndZones.motionMasks.toast.success.noName"), @@ -177,7 +177,7 @@ export default function MotionMaskEditPane({ updateConfig(); } else { toast.error( - t("toast.save.error", { + t("toast.save.error.title", { errorMessage: res.statusText, ns: "common", }), @@ -192,9 +192,12 @@ export default function MotionMaskEditPane({ error.response?.data?.message || error.response?.data?.detail || "Unknown error"; - toast.error(t("toast.save.error", { errorMessage, ns: "common" }), { - position: "top-center", - }); + toast.error( + t("toast.save.error.title", { errorMessage, ns: "common" }), + { + position: "top-center", + }, + ); }) .finally(() => { setIsLoading(false); @@ -283,7 +286,7 @@ export default function MotionMaskEditPane({ {polygonArea && polygonArea >= 0.35 && ( <>
- {t("masksAndZones.motionMasks.polygonAreaTooLarge", { + {t("masksAndZones.motionMasks.polygonAreaTooLarge.title", { polygonArea: Math.round(polygonArea * 100), })}
diff --git a/web/src/components/settings/ObjectMaskEditPane.tsx b/web/src/components/settings/ObjectMaskEditPane.tsx index f8d4f3dd0..9a3c3295f 100644 --- a/web/src/components/settings/ObjectMaskEditPane.tsx +++ b/web/src/components/settings/ObjectMaskEditPane.tsx @@ -109,7 +109,7 @@ export default function ObjectMaskEditPane({ polygon: z.object({ isFinished: z.boolean(), name: z.string() }), }) .refine(() => polygon?.isFinished === true, { - message: t("masksAndZones.polygonDrawing.error.mustBeFinished"), + message: t("masksAndZones.form.polygonDrawing.error.mustBeFinished"), path: ["polygon.isFinished"], }); @@ -198,7 +198,7 @@ export default function ObjectMaskEditPane({ if (res.status === 200) { toast.success( polygon.name - ? t("masksAndZones.objectMasks.toast.success", { + ? t("masksAndZones.objectMasks.toast.success.title", { polygonName: polygon.name, }) : t("masksAndZones.objectMasks.toast.success.noName"), @@ -209,7 +209,7 @@ export default function ObjectMaskEditPane({ updateConfig(); } else { toast.error( - t("toast.save.error", { + t("toast.save.error.title", { errorMessage: res.statusText, ns: "common", }), @@ -225,7 +225,7 @@ export default function ObjectMaskEditPane({ error.response?.data?.detail || "Unknown error"; toast.error( - t("toast.save.error", { + t("toast.save.error.title", { errorMessage, ns: "common", }), @@ -327,7 +327,7 @@ export default function ObjectMaskEditPane({ render={({ field }) => ( - {t("masksAndZones.objectMasks.objects")} + {t("masksAndZones.objectMasks.objects.title")} ( - {t("masksAndZones.zones.inertia")} + {t("masksAndZones.zones.inertia.title")} ( - {t("masksAndZones.zones.loiteringTime")} + + {t("masksAndZones.zones.loiteringTime.title")} + - {t("masksAndZones.zones.objects")} + {t("masksAndZones.zones.objects.title")} {t("masksAndZones.zones.objects.desc")} @@ -631,7 +633,7 @@ export default function ZoneEditPane({ className="cursor-pointer text-primary" htmlFor="allLabels" > - {t("masksAndZones.zones.speedEstimation")} + {t("masksAndZones.zones.speedEstimation.title")} 0) { toast.error( t( - "masksAndZones.zones.speedEstimation.loiteringTimeError", + "masksAndZones.zones.speedThreshold.toast.error.loiteringTimeError", ), ); } @@ -778,11 +780,12 @@ export default function ZoneEditPane({ render={({ field }) => ( - {t("masksAndZones.zones.speedThreshold", { + {t("masksAndZones.zones.speedThreshold.title", { + ns: "views/settings", unit: config?.ui.unit_system == "imperial" - ? t("unit.speed.mph") - : t("unit.speed.kph"), + ? t("unit.speed.mph", { ns: "common" }) + : t("unit.speed.kph", { ns: "common" }), })} diff --git a/web/src/components/ui/calendar-range.tsx b/web/src/components/ui/calendar-range.tsx index 3c2974634..96e2881fd 100644 --- a/web/src/components/ui/calendar-range.tsx +++ b/web/src/components/ui/calendar-range.tsx @@ -60,15 +60,15 @@ interface Preset { // Define presets const PRESETS: Preset[] = [ - { name: "today", label: t("time.today") }, - { name: "yesterday", label: t("time.yesterday") }, - { name: "last7", label: t("time.last7") }, - { name: "last14", label: t("time.last14") }, - { name: "last30", label: t("time.last30") }, - { name: "thisWeek", label: t("time.thisWeek") }, - { name: "lastWeek", label: t("time.lastWeek") }, - { name: "thisMonth", label: t("time.thisMonth") }, - { name: "lastMonth", label: t("time.lastMonth") }, + { name: "today", label: t("time.today", { ns: "common" }) }, + { name: "yesterday", label: t("time.yesterday", { ns: "common" }) }, + { name: "last7", label: t("time.last7", { ns: "common" }) }, + { name: "last14", label: t("time.last14", { ns: "common" }) }, + { name: "last30", label: t("time.last30", { ns: "common" }) }, + { name: "thisWeek", label: t("time.thisWeek", { ns: "common" }) }, + { name: "lastWeek", label: t("time.lastWeek", { ns: "common" }) }, + { name: "thisMonth", label: t("time.thisMonth", { ns: "common" }) }, + { name: "lastMonth", label: t("time.lastMonth", { ns: "common" }) }, ]; /** The DateRangePicker component allows a user to select a range of dates */ diff --git a/web/src/components/ui/pagination.tsx b/web/src/components/ui/pagination.tsx index 439344fc3..35e095af1 100644 --- a/web/src/components/ui/pagination.tsx +++ b/web/src/components/ui/pagination.tsx @@ -8,7 +8,7 @@ import { t } from "i18next"; const Pagination = ({ className, ...props }: React.ComponentProps<"nav">) => (
- {t("streaming.debugView", { ns: "components/dialog" })} + {t("streaming.debugView", { + ns: "components/dialog", + })} navigate(`/settings?page=debug&camera=${camera.name}`) @@ -1558,7 +1574,7 @@ function FrigateCameraFeatures({
{!isRestreamed && (
- +
@@ -1649,7 +1665,7 @@ function FrigateCameraFeatures({
- {t("stream.audio.tips")} + {t("stream.audio.tips.title")}
diff --git a/web/src/views/settings/AuthenticationView.tsx b/web/src/views/settings/AuthenticationView.tsx index f84b34bbc..aa71e763c 100644 --- a/web/src/views/settings/AuthenticationView.tsx +++ b/web/src/views/settings/AuthenticationView.tsx @@ -199,7 +199,7 @@ export default function AuthenticationView() {
- {t("users.management")} + {t("users.management.title")}

{t("users.management.desc")} diff --git a/web/src/views/settings/CameraSettingsView.tsx b/web/src/views/settings/CameraSettingsView.tsx index 19381684b..74cd212b8 100644 --- a/web/src/views/settings/CameraSettingsView.tsx +++ b/web/src/views/settings/CameraSettingsView.tsx @@ -166,7 +166,7 @@ export default function CameraSettingsView({ updateConfig(); } else { toast.error( - t("toast.save.error", { + t("toast.save.error.title", { errorMessage: res.statusText, ns: "common", }), @@ -182,7 +182,7 @@ export default function CameraSettingsView({ error.response?.data?.detail || "Unknown error"; toast.error( - t("toast.save.error", { + t("toast.save.error.title", { errorMessage, ns: "common", }), @@ -574,7 +574,7 @@ export default function CameraSettingsView({ watchedDetectionsZones.length > 0 ? ( !selectDetections ? ( { setIsLoading(false); @@ -319,7 +322,11 @@ export default function ClassificationSettingsView({ className="cursor-pointer" value={size} > - {t("classification.semanticSearch.modelSize." + size)} + {t( + "classification.semanticSearch.modelSize." + + size + + ".title", + )} ))} diff --git a/web/src/views/settings/MasksAndZonesView.tsx b/web/src/views/settings/MasksAndZonesView.tsx index d30901695..a9f019eb6 100644 --- a/web/src/views/settings/MasksAndZonesView.tsx +++ b/web/src/views/settings/MasksAndZonesView.tsx @@ -502,7 +502,7 @@ export default function MasksAndZonesView({

-

{t("masksAndZones.zones.desc")}

+

{t("masksAndZones.zones.desc.title")}

-

{t("masksAndZones.motionMasks.desc")}

+

{t("masksAndZones.motionMasks.desc.title")}

-

{t("masksAndZones.objectMasks.desc")}

+

{t("masksAndZones.objectMasks.desc.title")}

- {t("masksAndZones.objectMasks.documentation")}{" "} + {t( + "masksAndZones.objectMasks.desc.documentation", + )}{" "}
diff --git a/web/src/views/settings/MotionTunerView.tsx b/web/src/views/settings/MotionTunerView.tsx index d3f914df3..d1027a14d 100644 --- a/web/src/views/settings/MotionTunerView.tsx +++ b/web/src/views/settings/MotionTunerView.tsx @@ -126,7 +126,7 @@ export default function MotionTunerView({ updateConfig(); } else { toast.error( - t("toast.save.error", { + t("toast.save.error.title", { errorMessage: res.statusText, ns: "common", }), @@ -138,7 +138,7 @@ export default function MotionTunerView({ }) .catch((error) => { toast.error( - t("toast.save.error", { + t("toast.save.error.title", { errorMessage: error.response.data.message, ns: "common", }), @@ -194,7 +194,7 @@ export default function MotionTunerView({ {t("motionDetectionTuner.title")}
-

{t("motionDetectionTuner.desc")}

+

{t("motionDetectionTuner.desc.title")}

@@ -242,7 +242,7 @@ export default function MotionTunerView({

@@ -274,7 +274,7 @@ export default function MotionTunerView({

diff --git a/web/src/views/settings/NotificationsSettingsView.tsx b/web/src/views/settings/NotificationsSettingsView.tsx index 039e342cb..b30af4336 100644 --- a/web/src/views/settings/NotificationsSettingsView.tsx +++ b/web/src/views/settings/NotificationsSettingsView.tsx @@ -264,7 +264,7 @@ export default function NotificationView({ updateConfig(); } else { toast.error( - t("toast.save.error", { + t("toast.save.error.title", { errorMessage: res.statusText, ns: "common", }), @@ -279,9 +279,12 @@ export default function NotificationView({ error.response?.data?.message || error.response?.data?.detail || "Unknown error"; - toast.error(t("toast.save.error", { errorMessage, ns: "common" }), { - position: "top-center", - }); + toast.error( + t("toast.save.error.title", { errorMessage, ns: "common" }), + { + position: "top-center", + }, + ); }) .finally(() => { setIsLoading(false); @@ -389,7 +392,7 @@ export default function NotificationView({ name="email" render={({ field }) => ( - {t("notification.email")} + {t("notification.email.title")}
- {t("notification.cameras")} + {t("notification.cameras.title")}
@@ -423,7 +426,7 @@ export default function NotificationView({ name="allEnabled" render={({ field }) => (