diff --git a/web/public/locales/en/views/classificationModel.json b/web/public/locales/en/views/classificationModel.json index e5b0044e8..a13870221 100644 --- a/web/public/locales/en/views/classificationModel.json +++ b/web/public/locales/en/views/classificationModel.json @@ -71,7 +71,7 @@ "chooseExamples": "Choose Examples" }, "step1": { - "description": "Create a custom classification model. State models monitor fixed camera areas for changes (e.g., door open/closed). Object models add classifications to detected objects (e.g., known animals, delivery persons, etc.).", + "description": "State models monitor fixed camera areas for changes (e.g., door open/closed). Object models add classifications to detected objects (e.g., known animals, delivery persons, etc.).", "name": "Name", "namePlaceholder": "Enter model name...", "type": "Type", @@ -81,7 +81,7 @@ "objectLabelPlaceholder": "Select object type...", "classificationType": "Classification Type", "classificationTypeTip": "Learn about classification types", - "classificationTypeDesc": "Sub Labels add additional next to the object label (e.g., 'Person: UPS'). Attributes are searchable metadata stored separately in the object metadata.", + "classificationTypeDesc": "Sub Labels add additional text to the object label (e.g., 'Person: UPS'). Attributes are searchable metadata stored separately in the object metadata.", "classificationSubLabel": "Sub Label", "classificationAttribute": "Attribute", "classes": "Classes", diff --git a/web/src/components/classification/wizard/Step1NameAndDefine.tsx b/web/src/components/classification/wizard/Step1NameAndDefine.tsx index 5ddfe1388..d38f331aa 100644 --- a/web/src/components/classification/wizard/Step1NameAndDefine.tsx +++ b/web/src/components/classification/wizard/Step1NameAndDefine.tsx @@ -2,7 +2,6 @@ import { Button } from "@/components/ui/button"; import { Form, FormControl, - FormDescription, FormField, FormItem, FormLabel, @@ -28,7 +27,6 @@ import useSWR from "swr"; import { FrigateConfig } from "@/types/frigateConfig"; import { getTranslatedLabel } from "@/utils/i18n"; import { useDocDomain } from "@/hooks/use-doc-domain"; -import { Link } from "react-router-dom"; import { Popover, PopoverContent, @@ -313,41 +311,42 @@ export default function Step1NameAndDefine({ name="objectType" render={({ field }) => ( - - {t("wizard.step1.classificationType")} - - +
+ + {t("wizard.step1.classificationType")} + - -
+ +
+
- +
{t("wizard.step1.classificationTypeDesc")}
- {t("readTheDocumentation", { ns: "common" })} - +
- +
-
+
{t("wizard.step1.classes")} - - - -
- - - {t("wizard.step1.classesTip")} - + + + + + +
+
+ {watchedModelType === "state" + ? t("wizard.step1.classesStateDesc") + : t("wizard.step1.classesObjectDesc")}
- - -
-
- {watchedModelType === "state" - ? t("wizard.step1.classesStateDesc") - : t("wizard.step1.classesObjectDesc")} -
-
- - {t("readTheDocumentation", { ns: "common" })} - - -
+ - - - +
+
+