fix: fix delete zone type i18n (#21894)

This commit is contained in:
GuoQing Liu
2026-02-05 09:38:09 -06:00
committed by GitHub
parent c9ba851f0d
commit c9055ea941
2 changed files with 9 additions and 1 deletions
+4 -1
View File
@@ -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,
}}
>