Face Library: show name on details (#17245)

This commit is contained in:
leccelecce 2025-03-19 12:23:44 +00:00 committed by GitHub
parent e340c9aaba
commit ac9e24e2ed
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 0 deletions

View File

@ -3,6 +3,7 @@
"addFace": "Walk through adding a new face to the Face Library." "addFace": "Walk through adding a new face to the Face Library."
}, },
"details": { "details": {
"person": "Person",
"confidence": "Confidence", "confidence": "Confidence",
"face": "Face Details", "face": "Face Details",
"faceDesc": "Details for the face and associated object", "faceDesc": "Details for the face and associated object",

View File

@ -368,6 +368,10 @@ function TrainingGrid({
<DialogTitle>{t("details.face")}</DialogTitle> <DialogTitle>{t("details.face")}</DialogTitle>
<DialogDescription>{t("details.faceDesc")}</DialogDescription> <DialogDescription>{t("details.faceDesc")}</DialogDescription>
</DialogHeader> </DialogHeader>
<div className="flex flex-col gap-1.5">
<div className="text-sm text-primary/40">{t("details.person")}</div>
<div className="text-sm capitalize">{selectedEvent?.name}</div>
</div>
<div className="flex flex-col gap-1.5"> <div className="flex flex-col gap-1.5">
<div className="text-sm text-primary/40"> <div className="text-sm text-primary/40">
{t("details.confidence")} {t("details.confidence")}