mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-08-01 08:32:18 +03:00
fix missing i18n keys (#18309)
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user