translate main label for lifecycle description with attribute

This commit is contained in:
Josh Hawkins 2026-05-14 14:13:18 -05:00
parent 25dcd25751
commit 8b340a09fa

View File

@ -60,7 +60,7 @@ export function getLifecycleItemDescription(
} else {
title = t("trackingDetails.lifecycleItemDesc.attribute.other", {
ns: "views/explore",
label: lifecycleItem.data.label,
label: getTranslatedLabel(lifecycleItem.data.label),
attribute: getTranslatedLabel(
lifecycleItem.data.attribute.replaceAll("_", " "),
),