From 2cb1dca428a4321c80643f65f036ab30a5cd98f2 Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Tue, 30 Dec 2025 15:14:42 -0600 Subject: [PATCH] i18n fixes --- web/src/components/timeline/DetailStream.tsx | 21 ++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/web/src/components/timeline/DetailStream.tsx b/web/src/components/timeline/DetailStream.tsx index a325a54f3..f96a18456 100644 --- a/web/src/components/timeline/DetailStream.tsx +++ b/web/src/components/timeline/DetailStream.tsx @@ -800,21 +800,27 @@ function LifecycleItem({
- {t("trackingDetails.lifecycleItemDesc.header.score")} + {t("trackingDetails.lifecycleItemDesc.header.score", { + ns: "views/explore", + })} {score}
- {t("trackingDetails.lifecycleItemDesc.header.ratio")} + {t("trackingDetails.lifecycleItemDesc.header.ratio", { + ns: "views/explore", + })} {ratio}
- {t("trackingDetails.lifecycleItemDesc.header.area")}{" "} + {t("trackingDetails.lifecycleItemDesc.header.area", { + ns: "views/explore", + })}{" "} {attributeAreaPx !== undefined && attributeAreaPct !== undefined && ( @@ -824,7 +830,7 @@ function LifecycleItem({ {areaPx !== undefined && areaPct !== undefined ? ( - {areaPx} {t("pixels", { ns: "common" })}{" "} + {areaPx} {t("information.pixels", { ns: "common" })}{" "} ·{" "} {areaPct}% @@ -837,7 +843,9 @@ function LifecycleItem({ attributeAreaPct !== undefined && (
- {t("trackingDetails.lifecycleItemDesc.header.area")}{" "} + {t("trackingDetails.lifecycleItemDesc.header.area", { + ns: "views/explore", + })}{" "} {attributeAreaPx !== undefined && attributeAreaPct !== undefined && ( @@ -846,7 +854,8 @@ function LifecycleItem({ )} - {attributeAreaPx} {t("pixels", { ns: "common" })}{" "} + {attributeAreaPx}{" "} + {t("information.pixels", { ns: "common" })}{" "} ·{" "} {attributeAreaPct}%