Skip to content

Commit

Permalink
feat(de form): add aggregation level intro text
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohammer5 committed Oct 25, 2023
1 parent c18f7f0 commit 402de21
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 22 deletions.
35 changes: 19 additions & 16 deletions i18n/en.pot
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ msgstr ""
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
"POT-Creation-Date: 2023-10-11T10:29:42.492Z\n"
"PO-Revision-Date: 2023-10-11T10:29:42.492Z\n"
"POT-Creation-Date: 2023-10-25T11:41:05.785Z\n"
"PO-Revision-Date: 2023-10-25T11:41:05.785Z\n"

msgid "schemas"
msgstr "schemas"
Expand Down Expand Up @@ -48,6 +48,15 @@ msgstr "Search for menu items"
msgid "Search icons"
msgstr "Search icons"

msgid "Select"
msgstr "Select"

msgid "Remove icon"
msgstr "Remove icon"

msgid "Cancel"
msgstr "Cancel"

msgid "Retry"
msgstr "Retry"

Expand All @@ -69,12 +78,15 @@ msgstr "Aggregation level(s)"
msgid "Category combo"
msgstr "Category combo"

msgid "None"
msgstr "None"
msgid "Default (none)"
msgstr "Default (none)"

msgid "Filter legend sets"
msgstr "Filter legend sets"

msgid "None"
msgstr "None"

msgid "Option set"
msgstr "Option set"

Expand Down Expand Up @@ -108,9 +120,6 @@ msgstr "Type to filter options"
msgid "No matches"
msgstr "No matches"

msgid "Data set"
msgstr "Data set"

msgid "Clear all filters"
msgstr "Clear all filters"

Expand All @@ -135,9 +144,6 @@ msgstr "Failed to save"
msgid "Manage {{section}} table columns"
msgstr "Manage {{section}} table columns"

msgid "Cancel"
msgstr "Cancel"

msgid "Update table columns"
msgstr "Update table columns"

Expand Down Expand Up @@ -213,6 +219,9 @@ msgstr "Data element group set"
msgid "Data element group sets"
msgstr "Data element group sets"

msgid "Data set"
msgstr "Data set"

msgid "Data sets"
msgstr "Data sets"

Expand Down Expand Up @@ -621,9 +630,6 @@ msgstr "{{fieldLabel}} (required)"
msgid "A data element name should be concise and easy to recognize."
msgstr "A data element name should be concise and easy to recognize."

msgid "Short name"
msgstr "Short name"

msgid "Often used in reports where space is limited"
msgstr "Often used in reports where space is limited"

Expand Down Expand Up @@ -704,9 +710,6 @@ msgstr "Refresh list"
msgid "Add new"
msgstr "Add new"

msgid "Value type"
msgstr "Value type"

msgid "The type of data that will be recorded."
msgstr "The type of data that will be recorded."

Expand Down
14 changes: 8 additions & 6 deletions src/pages/dataElements/form/DataElementFormFields.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -217,12 +217,14 @@ export function DataElementFormFields() {
{i18n.t('Aggregation levels')}
</StandardFormSectionTitle>
<StandardFormSectionDescription>
{`
@TODO(DataElementForm): Help text to describe the aggregation levels
functionality. It appears as if this section hasn't been
finalized yet by Joe, so I guess we'll have to talk about
this particluar part.
`}
By default, the aggregation will start at the lowest
assigned organisation unit. If you for example select
&quot;Chiefdom&quot;, it means that &quot;Chiefdom&quot;,
&quot;District&quot; and &quot;National&quot; aggregates use
&quot;Chiefdom&quot; (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.
</StandardFormSectionDescription>

<StandardFormField>
Expand Down

0 comments on commit 402de21

Please sign in to comment.