Adjust wording based on type of model

This commit is contained in:
Nicolas Mowen 2025-10-31 12:10:26 -06:00
parent 09b01b0538
commit ed8bc01cf5
2 changed files with 4 additions and 1 deletions

View File

@ -86,6 +86,7 @@
"classificationSubLabel": "Sub Label", "classificationSubLabel": "Sub Label",
"classificationAttribute": "Attribute", "classificationAttribute": "Attribute",
"classes": "Classes", "classes": "Classes",
"states": "States",
"classesTip": "Learn about classes", "classesTip": "Learn about classes",
"classesStateDesc": "Define the different states your camera area can be in. For example: 'open' and 'closed' for a garage door.", "classesStateDesc": "Define the different states your camera area can be in. For example: 'open' and 'closed' for a garage door.",
"classesObjectDesc": "Define the different categories to classify detected objects into. For example: 'delivery_person', 'resident', 'stranger' for person classification.", "classesObjectDesc": "Define the different categories to classify detected objects into. For example: 'delivery_person', 'resident', 'stranger' for person classification.",

View File

@ -394,7 +394,9 @@ export default function Step1NameAndDefine({
<div className="flex items-center justify-between"> <div className="flex items-center justify-between">
<div className="flex items-center gap-1"> <div className="flex items-center gap-1">
<FormLabel className="text-primary-variant"> <FormLabel className="text-primary-variant">
{t("wizard.step1.classes")} {watchedModelType === "state"
? t("wizard.step1.states")
: t("wizard.step1.classes")}
</FormLabel> </FormLabel>
<Popover> <Popover>
<PopoverTrigger asChild> <PopoverTrigger asChild>