mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-05-04 04:27:42 +03:00
fix face library i18n
This commit is contained in:
parent
d3d05fa397
commit
ca48ed6ffc
@ -69,6 +69,7 @@
|
|||||||
"maxSize": "Max size: {{size}}MB"
|
"maxSize": "Max size: {{size}}MB"
|
||||||
},
|
},
|
||||||
"nofaces": "No faces available",
|
"nofaces": "No faces available",
|
||||||
|
"pixels": "{{area}}px",
|
||||||
"readTheDocs": "Read the documentation",
|
"readTheDocs": "Read the documentation",
|
||||||
"trainFaceAs": "Train Face as:",
|
"trainFaceAs": "Train Face as:",
|
||||||
"trainFace": "Train Face",
|
"trainFace": "Train Face",
|
||||||
|
|||||||
@ -791,7 +791,7 @@ function FaceAttemptGroup({
|
|||||||
<div className="flex flex-row justify-between">
|
<div className="flex flex-row justify-between">
|
||||||
<div className="flex flex-col gap-1">
|
<div className="flex flex-col gap-1">
|
||||||
<div className="select-none smart-capitalize">
|
<div className="select-none smart-capitalize">
|
||||||
Person
|
{t("details.person")}
|
||||||
{event?.sub_label
|
{event?.sub_label
|
||||||
? `: ${event.sub_label} (${Math.round((event.data.sub_label_score || 0) * 100)}%)`
|
? `: ${event.sub_label} (${Math.round((event.data.sub_label_score || 0) * 100)}%)`
|
||||||
: ": " + t("details.unknown")}
|
: ": " + t("details.unknown")}
|
||||||
@ -974,7 +974,7 @@ function FaceAttempt({
|
|||||||
/>
|
/>
|
||||||
{imageArea != undefined && (
|
{imageArea != undefined && (
|
||||||
<div className="absolute bottom-1 right-1 z-10 rounded-lg bg-black/50 px-2 py-1 text-xs text-white">
|
<div className="absolute bottom-1 right-1 z-10 rounded-lg bg-black/50 px-2 py-1 text-xs text-white">
|
||||||
{imageArea}px
|
{t("pixels", { area: imageArea })}
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user