mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-12-18 19:16:42 +03:00
match face wizard with camera and classification wizards
This commit is contained in:
parent
49f5d595ea
commit
696f2062b6
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"description": {
|
"description": {
|
||||||
"addFace": "Walk through adding a new collection to the Face Library.",
|
"addFace": "Add a new collection to the Face Library by uploading your first image.",
|
||||||
"placeholder": "Enter a name for this collection",
|
"placeholder": "Enter a name for this collection",
|
||||||
"invalidName": "Invalid name. Names can only include letters, numbers, spaces, apostrophes, underscores, and hyphens."
|
"invalidName": "Invalid name. Names can only include letters, numbers, spaces, apostrophes, underscores, and hyphens."
|
||||||
},
|
},
|
||||||
|
|||||||
@ -102,17 +102,23 @@ export default function CreateFaceWizardDialog({
|
|||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Content
|
<Content
|
||||||
className={cn("flex flex-col gap-4", isDesktop ? "max-w-3xl" : "p-4")}
|
className={cn(
|
||||||
|
"flex flex-col gap-4",
|
||||||
|
isDesktop ? (step == 0 ? "max-w-xl" : "max-w-3xl") : "p-4",
|
||||||
|
)}
|
||||||
>
|
>
|
||||||
<Header>
|
|
||||||
<Title>{t("button.addFace")}</Title>
|
|
||||||
{isDesktop && <Description>{t("description.addFace")}</Description>}
|
|
||||||
</Header>
|
|
||||||
<StepIndicator
|
<StepIndicator
|
||||||
steps={STEPS}
|
steps={STEPS}
|
||||||
currentStep={step}
|
currentStep={step}
|
||||||
translationNameSpace="views/faceLibrary"
|
translationNameSpace="views/faceLibrary"
|
||||||
|
className="mb-4 justify-start"
|
||||||
|
variant="dots"
|
||||||
/>
|
/>
|
||||||
|
<Header>
|
||||||
|
<Title>{t("button.addFace")}</Title>
|
||||||
|
{isDesktop && <Description>{t("description.addFace")}</Description>}
|
||||||
|
</Header>
|
||||||
|
|
||||||
{step == 0 && (
|
{step == 0 && (
|
||||||
<TextEntry
|
<TextEntry
|
||||||
placeholder={t("description.placeholder")}
|
placeholder={t("description.placeholder")}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user