mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-05-05 13:07:44 +03:00
Adjust wording and spacing
This commit is contained in:
parent
9df276ba0d
commit
86e1185e87
@ -95,7 +95,8 @@
|
||||
"play": "Play",
|
||||
"unselect": "Unselect",
|
||||
"export": "Export",
|
||||
"deleteNow": "Delete Now"
|
||||
"deleteNow": "Delete Now",
|
||||
"next": "Next"
|
||||
},
|
||||
"menu": {
|
||||
"system": "System",
|
||||
|
||||
@ -11,10 +11,7 @@ export default function StepIndicator({
|
||||
return (
|
||||
<div className="flex flex-row justify-evenly">
|
||||
{steps.map((name, idx) => (
|
||||
<div
|
||||
key={idx}
|
||||
className="flex flex-col items-center justify-center gap-2"
|
||||
>
|
||||
<div className="flex flex-col items-center gap-2">
|
||||
<div
|
||||
className={cn(
|
||||
"flex size-16 items-center justify-center rounded-full",
|
||||
@ -23,7 +20,7 @@ export default function StepIndicator({
|
||||
>
|
||||
{idx + 1}
|
||||
</div>
|
||||
{name}
|
||||
<div className="w-24 text-center md:w-24">{name}</div>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
|
||||
@ -16,6 +16,7 @@ import {
|
||||
DialogHeader,
|
||||
DialogTitle,
|
||||
} from "@/components/ui/dialog";
|
||||
import { cn } from "@/lib/utils";
|
||||
import axios from "axios";
|
||||
import { useCallback, useState } from "react";
|
||||
import { isDesktop } from "react-device-detect";
|
||||
@ -99,10 +100,12 @@ export default function CreateFaceWizardDialog({
|
||||
}
|
||||
}}
|
||||
>
|
||||
<Content>
|
||||
<Content
|
||||
className={cn("flex flex-col gap-4 p-2", isDesktop && "max-w-[50%]")}
|
||||
>
|
||||
<Header>
|
||||
<Title>{t("button.addFace")}</Title>
|
||||
<Description>{t("description.addFace")}</Description>
|
||||
{isDesktop && <Description>{t("description.addFace")}</Description>}
|
||||
</Header>
|
||||
<StepIndicator steps={STEPS} currentStep={step} />
|
||||
{step == 0 && (
|
||||
@ -115,7 +118,7 @@ export default function CreateFaceWizardDialog({
|
||||
>
|
||||
<div className="flex justify-end py-2">
|
||||
<Button variant="select" type="submit">
|
||||
{t("button.save", { ns: "common" })}
|
||||
{t("button.next", { ns: "common" })}
|
||||
</Button>
|
||||
</div>
|
||||
</TextEntry>
|
||||
@ -124,7 +127,7 @@ export default function CreateFaceWizardDialog({
|
||||
<ImageEntry onSave={onUploadImage}>
|
||||
<div className="flex justify-end py-2">
|
||||
<Button variant="select" type="submit">
|
||||
{t("button.save", { ns: "common" })}
|
||||
{t("button.next", { ns: "common" })}
|
||||
</Button>
|
||||
</div>
|
||||
</ImageEntry>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user