mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-03-04 06:33:45 +00:00
masks and zones i18n fixes
This commit is contained in:
parent
066fff81f7
commit
9dc1faadb9
@ -191,6 +191,8 @@
|
||||
"copyCoordinatesFailed": "Could not copy coordinates to clipboard."
|
||||
}
|
||||
},
|
||||
"motionMaskLabel": "Motion Mask {{number}}",
|
||||
"objectMaskLabel": "Object Mask {{number}} ({{label}})",
|
||||
"form": {
|
||||
"zoneName": {
|
||||
"error": {
|
||||
|
||||
@ -271,7 +271,9 @@ export default function MasksAndZonesView({
|
||||
type: "motion_mask" as PolygonType,
|
||||
typeIndex: index,
|
||||
camera: cameraConfig.name,
|
||||
name: `Motion Mask ${index + 1}`,
|
||||
name: t("masksAndZones.motionMaskLabel", {
|
||||
number: index + 1,
|
||||
}),
|
||||
objects: [],
|
||||
points: interpolatePoints(
|
||||
parseCoordinates(maskData),
|
||||
@ -295,7 +297,10 @@ export default function MasksAndZonesView({
|
||||
type: "object_mask" as PolygonType,
|
||||
typeIndex: index,
|
||||
camera: cameraConfig.name,
|
||||
name: `Object Mask ${index + 1} (all objects)`,
|
||||
name: t("masksAndZones.objectMaskLabel", {
|
||||
number: index + 1,
|
||||
label: t("masksAndZones.zones.allObjects"),
|
||||
}),
|
||||
objects: [],
|
||||
points: interpolatePoints(
|
||||
parseCoordinates(maskData),
|
||||
@ -322,7 +327,10 @@ export default function MasksAndZonesView({
|
||||
type: "object_mask" as PolygonType,
|
||||
typeIndex: subIndex,
|
||||
camera: cameraConfig.name,
|
||||
name: `Object Mask ${globalObjectMasksCount + index + 1} (${objectName})`,
|
||||
name: t("masksAndZones.objectMaskLabel", {
|
||||
number: globalObjectMasksCount + index + 1,
|
||||
label: t(objectName, { ns: "objects" }),
|
||||
}),
|
||||
objects: [objectName],
|
||||
points: interpolatePoints(
|
||||
parseCoordinates(maskItem),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user