mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-01-25 13:38:29 +03:00
i18n fixes
This commit is contained in:
parent
774e567317
commit
2cb1dca428
@ -800,21 +800,27 @@ function LifecycleItem({
|
|||||||
<div className="flex flex-col gap-1">
|
<div className="flex flex-col gap-1">
|
||||||
<div className="flex items-start gap-1">
|
<div className="flex items-start gap-1">
|
||||||
<span className="text-muted-foreground">
|
<span className="text-muted-foreground">
|
||||||
{t("trackingDetails.lifecycleItemDesc.header.score")}
|
{t("trackingDetails.lifecycleItemDesc.header.score", {
|
||||||
|
ns: "views/explore",
|
||||||
|
})}
|
||||||
</span>
|
</span>
|
||||||
<span className="font-medium text-foreground">{score}</span>
|
<span className="font-medium text-foreground">{score}</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="flex items-start gap-1">
|
<div className="flex items-start gap-1">
|
||||||
<span className="text-muted-foreground">
|
<span className="text-muted-foreground">
|
||||||
{t("trackingDetails.lifecycleItemDesc.header.ratio")}
|
{t("trackingDetails.lifecycleItemDesc.header.ratio", {
|
||||||
|
ns: "views/explore",
|
||||||
|
})}
|
||||||
</span>
|
</span>
|
||||||
<span className="font-medium text-foreground">{ratio}</span>
|
<span className="font-medium text-foreground">{ratio}</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="flex items-start gap-1">
|
<div className="flex items-start gap-1">
|
||||||
<span className="text-muted-foreground">
|
<span className="text-muted-foreground">
|
||||||
{t("trackingDetails.lifecycleItemDesc.header.area")}{" "}
|
{t("trackingDetails.lifecycleItemDesc.header.area", {
|
||||||
|
ns: "views/explore",
|
||||||
|
})}{" "}
|
||||||
{attributeAreaPx !== undefined &&
|
{attributeAreaPx !== undefined &&
|
||||||
attributeAreaPct !== undefined && (
|
attributeAreaPct !== undefined && (
|
||||||
<span className="text-muted-foreground">
|
<span className="text-muted-foreground">
|
||||||
@ -824,7 +830,7 @@ function LifecycleItem({
|
|||||||
</span>
|
</span>
|
||||||
{areaPx !== undefined && areaPct !== undefined ? (
|
{areaPx !== undefined && areaPct !== undefined ? (
|
||||||
<span className="font-medium text-foreground">
|
<span className="font-medium text-foreground">
|
||||||
{areaPx} {t("pixels", { ns: "common" })}{" "}
|
{areaPx} {t("information.pixels", { ns: "common" })}{" "}
|
||||||
<span className="text-secondary-foreground">·</span>{" "}
|
<span className="text-secondary-foreground">·</span>{" "}
|
||||||
{areaPct}%
|
{areaPct}%
|
||||||
</span>
|
</span>
|
||||||
@ -837,7 +843,9 @@ function LifecycleItem({
|
|||||||
attributeAreaPct !== undefined && (
|
attributeAreaPct !== undefined && (
|
||||||
<div className="flex items-start gap-1">
|
<div className="flex items-start gap-1">
|
||||||
<span className="text-muted-foreground">
|
<span className="text-muted-foreground">
|
||||||
{t("trackingDetails.lifecycleItemDesc.header.area")}{" "}
|
{t("trackingDetails.lifecycleItemDesc.header.area", {
|
||||||
|
ns: "views/explore",
|
||||||
|
})}{" "}
|
||||||
{attributeAreaPx !== undefined &&
|
{attributeAreaPx !== undefined &&
|
||||||
attributeAreaPct !== undefined && (
|
attributeAreaPct !== undefined && (
|
||||||
<span className="text-muted-foreground">
|
<span className="text-muted-foreground">
|
||||||
@ -846,7 +854,8 @@ function LifecycleItem({
|
|||||||
)}
|
)}
|
||||||
</span>
|
</span>
|
||||||
<span className="font-medium text-foreground">
|
<span className="font-medium text-foreground">
|
||||||
{attributeAreaPx} {t("pixels", { ns: "common" })}{" "}
|
{attributeAreaPx}{" "}
|
||||||
|
{t("information.pixels", { ns: "common" })}{" "}
|
||||||
<span className="text-secondary-foreground">·</span>{" "}
|
<span className="text-secondary-foreground">·</span>{" "}
|
||||||
{attributeAreaPct}%
|
{attributeAreaPct}%
|
||||||
</span>
|
</span>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user