mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-03-10 02:29:19 +03:00
fix: fix delete zone type i18n (#21894)
Some checks are pending
CI / AMD64 Build (push) Waiting to run
CI / ARM Build (push) Waiting to run
CI / Jetson Jetpack 6 (push) Waiting to run
CI / AMD64 Extra Build (push) Blocked by required conditions
CI / ARM Extra Build (push) Blocked by required conditions
CI / Synaptics Build (push) Blocked by required conditions
CI / Assemble and push default build (push) Blocked by required conditions
Some checks are pending
CI / AMD64 Build (push) Waiting to run
CI / ARM Build (push) Waiting to run
CI / Jetson Jetpack 6 (push) Waiting to run
CI / AMD64 Extra Build (push) Blocked by required conditions
CI / ARM Extra Build (push) Blocked by required conditions
CI / Synaptics Build (push) Blocked by required conditions
CI / Assemble and push default build (push) Blocked by required conditions
This commit is contained in:
parent
c9ba851f0d
commit
c9055ea941
@ -468,6 +468,11 @@
|
||||
}
|
||||
},
|
||||
"polygonDrawing": {
|
||||
"type": {
|
||||
"zone": "zone",
|
||||
"motion_mask": "motion mask",
|
||||
"object_mask": "object mask"
|
||||
},
|
||||
"removeLastPoint": "Remove last point",
|
||||
"reset": {
|
||||
"label": "Clear all points"
|
||||
|
||||
@ -283,7 +283,10 @@ export default function PolygonItem({
|
||||
<Trans
|
||||
ns="views/settings"
|
||||
values={{
|
||||
type: polygon.type.replace("_", " "),
|
||||
type: t(
|
||||
`masksAndZones.form.polygonDrawing.type.${polygon.type}`,
|
||||
{ ns: "views/settings" },
|
||||
),
|
||||
name: polygon.friendly_name ?? polygon.name,
|
||||
}}
|
||||
>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user