fix missing i18n keys (#18309)

This commit is contained in:
Josh Hawkins
2025-05-19 16:45:02 -05:00
committed by GitHub
parent 8a143b4284
commit afe513336c
19 changed files with 103 additions and 46 deletions
@@ -99,8 +99,11 @@ export default function ObjectMaskEditPane({
objectType = objects;
}
return `Object Mask ${count + 1} (${objectType})`;
}, [polygons, polygon]);
return t("masksAndZones.objectMaskLabel", {
number: count + 1,
label: t(objectType, { ns: "objects" }),
});
}, [polygons, polygon, t]);
const formSchema = z
.object({