From bde6358c2cd5372aa7e5fda0c8dbe88555a69c4e Mon Sep 17 00:00:00 2001 From: AdityaJ2305 Date: Fri, 15 Nov 2024 00:40:24 +0530 Subject: [PATCH] locale added --- public/locale/en.json | 4 ++++ src/components/Patient/DailyRounds.tsx | 19 ++++++++++++------- 2 files changed, 16 insertions(+), 7 deletions(-) diff --git a/public/locale/en.json b/public/locale/en.json index 2e8469a3667..0bc3d3239df 100644 --- a/public/locale/en.json +++ b/public/locale/en.json @@ -203,6 +203,10 @@ "SORT_OPTIONS__name": "Patient name A-Z", "SORT_OPTIONS__review_time": "Oldest review date first", "SORT_OPTIONS__taken_at": "Oldest taken date first", + "SPO2_LEVEL_MILD_HYPOXEMIA": "Mild Hypoxemia", + "SPO2_LEVEL_MODERATE_HYPOXEMIA": "Moderate Hypoxemia", + "SPO2_LEVEL_NORMAL": "Normal", + "SPO2_LEVEL_SEVERE_HYPOXEMIA": "Severe Hypoxemia", "Submit": "Submit", "TELEMEDICINE": "Telemedicine", "URINATION_FREQUENCY__DECREASED": "Decreased", diff --git a/src/components/Patient/DailyRounds.tsx b/src/components/Patient/DailyRounds.tsx index f8ae48bfd4a..545c969bfa9 100644 --- a/src/components/Patient/DailyRounds.tsx +++ b/src/components/Patient/DailyRounds.tsx @@ -749,17 +749,22 @@ export const DailyRounds = (props: any) => { { value: 0, className: "text-danger-500", - label: "Bradypnea", + label: t("SPO2_LEVEL_SEVERE_HYPOXEMIA"), }, { - value: 12, - className: "text-primary-500", - label: "Normal", + value: 86, + className: "text-danger-500", + label: t("SPO2_LEVEL_MODERATE_HYPOXEMIA"), }, { - value: 16, - className: "text-danger-500", - label: "Tachypnea", + value: 91, + className: "text-warning-400", + label: t("SPO2_LEVEL_MILD_HYPOXEMIA"), + }, + { + value: 95, + className: "text-primary-500", + label: t("SPO2_LEVEL_NORMAL"), }, ]} />