From 8ab3090d1931a662c4fc30fa1f0e1ec35d415656 Mon Sep 17 00:00:00 2001 From: Jan-Gerke Salomon Date: Wed, 25 Oct 2023 13:32:33 +0200 Subject: [PATCH] fix(de form fields): make text translatable --- src/pages/dataElements/form/DataElementFormFields.tsx | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/src/pages/dataElements/form/DataElementFormFields.tsx b/src/pages/dataElements/form/DataElementFormFields.tsx index 907102c2..edf5b8c5 100644 --- a/src/pages/dataElements/form/DataElementFormFields.tsx +++ b/src/pages/dataElements/form/DataElementFormFields.tsx @@ -204,14 +204,9 @@ export function DataElementFormFields() { {i18n.t('Aggregation levels')} - By default, the aggregation will start at the lowest - assigned organisation unit. If you for example select - "Chiefdom", it means that "Chiefdom", - "District" and "National" aggregates use - "Chiefdom" (the highest aggregation level - available) as the data source, and PHU data will not be - included. PHU will still be available for the PHU level, but - not included in the aggregations to the levels above. + {i18n.t( + 'By default, the aggregation will start at the lowest assigned organisation unit. If you for example select "Chiefdom", it means that "Chiefdom", "District" and "National" aggregates use "Chiefdom" (the highest aggregation level available) as the data source, and PHU data will not be included. PHU will still be available for the PHU level, but not included in the aggregations to the levels above.' + )}