From 1933d089db2be0a14bc0b1034953f14263a4d455 Mon Sep 17 00:00:00 2001 From: Ian Bolton Date: Tue, 7 Nov 2023 15:51:23 -0500 Subject: [PATCH] :bug: Update label text for landscape donut labels (#1517) [MTA-1432](https://issues.redhat.com/browse/MTA-1432) Signed-off-by: ibolton336 --- .../app/pages/reports/components/landscape/landscape.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client/src/app/pages/reports/components/landscape/landscape.tsx b/client/src/app/pages/reports/components/landscape/landscape.tsx index 2e5e5709c0..6a9fec9b30 100644 --- a/client/src/app/pages/reports/components/landscape/landscape.tsx +++ b/client/src/app/pages/reports/components/landscape/landscape.tsx @@ -94,7 +94,7 @@ export const Landscape: React.FC = ({ value={landscapeData.red} total={landscapeData.assessmentCount} color={RISK_LIST.red.hexColor} - riskLabel={t("colors.red")} + riskLabel={t("terms.highRisk")} riskDescription={questionnaire?.riskMessages?.red ?? ""} /> @@ -104,7 +104,7 @@ export const Landscape: React.FC = ({ value={landscapeData.yellow} total={landscapeData.assessmentCount} color={RISK_LIST.yellow.hexColor} - riskLabel={t("colors.yellow")} + riskLabel={t("terms.mediumRisk")} riskDescription={questionnaire?.riskMessages?.yellow ?? ""} /> @@ -114,7 +114,7 @@ export const Landscape: React.FC = ({ value={landscapeData.green} total={landscapeData.assessmentCount} color={RISK_LIST.green.hexColor} - riskLabel={t("colors.green")} + riskLabel={t("terms.lowRisk")} riskDescription={questionnaire?.riskMessages?.green ?? ""} />