Skip to content

Commit

Permalink
fix i18n
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeshanxviii committed Sep 11, 2024
1 parent dc967da commit 5b7c455
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Components/Common/PageTitle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export default function PageTitle({
>
<CareIcon
icon="l-angle-left"
className="border-box mr-1 rounded-md text-5xl hover:bg-secondary-200 print:hidden"
className="border-box mr-1 rounded-md text-5xl hover:bg-secondary-200"
/>{" "}
</button>
)}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ export const InvestigationTable = ({
})
) : (
<tr className="text-center text-secondary-500 print:text-black">
<td className="col-span-6">No tests taken</td>
<td className="col-span-6">t(no_tests_taken)</td>
</tr>
)}
</tbody>
Expand Down
4 changes: 2 additions & 2 deletions src/Components/Facility/Investigations/ShowInvestigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -147,12 +147,12 @@ export default function ShowInvestigation(props: ShowInvestigationProps) {
}
return (
<PrintPreview
title={t("Investigation Report for {{name}}", {
title={t("investigation_report_for_{{name}}", {
name: patientData?.name,
})}
>
<InvestigationTable
title={t("Investigation Report of : {{name}}", {
title={t("investigation_report_of_{{name}}", {
name: patientData?.name,
})}
data={state.initialValues}
Expand Down
3 changes: 3 additions & 0 deletions src/Locale/en/Consultation.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,12 @@
"investigations": "Investigations",
"search_investigation_placeholder": "Search Investigation & Groups",
"save_investigation": "Save Investigation",
"investigation_report_for_{{name}}": "Investigation Report for {{name}}",
"investigation_report_of_{{name}}":"Investigation Report of : {{name}}",
"investigation_reports": "Investigation Reports",
"no_investigation": "No investigation Reports found",
"investigations_suggested": "Investigations Suggested",
"no_tests_taken":"No tests taken",
"to_be_conducted": "To be conducted",
"log_report": "Log Report",
"no_investigation_suggestions": "No Investigation Suggestions",
Expand Down

0 comments on commit 5b7c455

Please sign in to comment.