From 63c90b90512a2cab4d3dc7e2e3aefe72916a4977 Mon Sep 17 00:00:00 2001 From: Ayush Chauhan <77507609+ayushchauhan12@users.noreply.github.com> Date: Tue, 30 Apr 2024 11:22:53 +0530 Subject: [PATCH] changes made in i18n files (#7688) --- src/Components/Facility/ConsultationForm.tsx | 3 ++- src/Components/Patient/PatientInfoCard.tsx | 2 +- src/Locale/en/Common.json | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/Components/Facility/ConsultationForm.tsx b/src/Components/Facility/ConsultationForm.tsx index 6a33d1d1bdf..e0c79823434 100644 --- a/src/Components/Facility/ConsultationForm.tsx +++ b/src/Components/Facility/ConsultationForm.tsx @@ -64,6 +64,7 @@ import ConfirmDialog from "../Common/ConfirmDialog.js"; import request from "../../Utils/request/request.js"; import routes from "../../Redux/api.js"; import useQuery from "../../Utils/request/useQuery.js"; +import { t } from "i18next"; const Loading = lazy(() => import("../Common/Loading")); const PageTitle = lazy(() => import("../Common/PageTitle")); @@ -1477,7 +1478,7 @@ export const ConsultationForm = ({ facilityId, patientId, id }: Props) => { > - Treating Physician:{" "} + {t("treating_doctor")}:{" "} {consultation?.treating_physician_object ? `${consultation?.treating_physician_object.first_name} ${consultation?.treating_physician_object.last_name}` diff --git a/src/Locale/en/Common.json b/src/Locale/en/Common.json index 84466c99a72..e2556587e96 100644 --- a/src/Locale/en/Common.json +++ b/src/Locale/en/Common.json @@ -162,5 +162,6 @@ "DD/MM/YYYY": "DD/MM/YYYY", "clear_all_filters": "Clear All Filters", "summary": "Summary", - "report": "Report" + "report": "Report", + "treating_doctor":"Treating Doctor" } \ No newline at end of file