Skip to content

Commit

Permalink
changes made in i18n files (#7688)
Browse files Browse the repository at this point in the history
  • Loading branch information
ayushchauhan12 authored Apr 30, 2024
1 parent e28f92d commit 63c90b9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/Components/Facility/ConsultationForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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"));
Expand Down Expand Up @@ -1477,7 +1478,7 @@ export const ConsultationForm = ({ facilityId, patientId, id }: Props) => {
>
<UserAutocompleteFormField
name={"treating_physician"}
label="Treating Physician"
label={t("treating_doctor")}
placeholder="Attending Doctors Name and Designation"
required
value={
Expand Down
2 changes: 1 addition & 1 deletion src/Components/Patient/PatientInfoCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ export default function PatientInfoCard(props: {
consultation?.deprecated_verified_by) && (
<div className="text-sm" id="treating-physician">
<span className="font-semibold leading-relaxed">
Treating Physician:{" "}
{t("treating_doctor")}:{" "}
</span>
{consultation?.treating_physician_object
? `${consultation?.treating_physician_object.first_name} ${consultation?.treating_physician_object.last_name}`
Expand Down
3 changes: 2 additions & 1 deletion src/Locale/en/Common.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}

0 comments on commit 63c90b9

Please sign in to comment.