Refactor and clean up i18n (#17198)

* clean up i18n

* fix key

* fix key
This commit is contained in:
Josh Hawkins
2025-03-17 06:26:01 -06:00
committed by GitHub
parent 6e3ae0afc2
commit 03da70cb81
74 changed files with 1243 additions and 799 deletions
+14 -8
View File
@@ -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 <em>{{name}}</em>?"
"confirm": {
"title": "Confirm Delete",
"desc": "Are you sure you want to delete the camera group <em>{{name}}</em>?"
}
},
"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. <em>These settings are device/browser-specific.</em>",
"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."
}
}
}
},
+34 -17
View File
@@ -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?<br /><br />Hold the <em>Shift</em> 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?<br /><br />Hold the <em>Shift</em> 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?<br /><br />Hold the <em>Shift</em> key to bypass this dialog in the future."
}
},
"button": {
"export": "Export",
+34 -18
View File
@@ -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"
},
+23 -11
View File
@@ -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:"
},