Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: data set required and setup fields #474

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
215 changes: 143 additions & 72 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: 2024-12-10T14:51:58.114Z\n"
"PO-Revision-Date: 2024-12-10T14:51:58.114Z\n"
"POT-Creation-Date: 2024-12-19T13:21:57.978Z\n"
"PO-Revision-Date: 2024-12-19T13:21:57.978Z\n"

msgid "schemas"
msgstr "schemas"
Expand Down Expand Up @@ -48,8 +48,8 @@ msgstr "No menu items found for"
msgid "Overview"
msgstr "Overview"

msgid "Search for menu items"
msgstr "Search for menu items"
msgid "Search menu items"
msgstr "Search menu items"

msgid "Search icons"
msgstr "Search icons"
Expand Down Expand Up @@ -96,8 +96,8 @@ msgstr "<No value>"
msgid "Attributes"
msgstr "Attributes"

msgid "Set up information for the attributes assigned to {{modelName}}"
msgstr "Set up information for the attributes assigned to {{modelName}}"
msgid "Set up information for the attributes assigned to {{modelName}}."
msgstr "Set up information for the attributes assigned to {{modelName}}."

msgid "Code"
msgstr "Code"
Expand All @@ -120,8 +120,8 @@ msgstr "Name"
msgid "Select organisation units"
msgstr "Select organisation units"

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

msgid "Short name"
msgstr "Short name"
Expand All @@ -147,6 +147,9 @@ msgstr "Filter data elements"
msgid "Filter legend sets"
msgstr "Filter legend sets"

msgid "Loading..."
msgstr "Loading..."

msgid "Filter available items"
msgstr "Filter available items"

Expand Down Expand Up @@ -936,21 +939,21 @@ msgstr "Explain the purpose of this category option group."
msgid "Data configuration"
msgstr "Data configuration"

msgid "Choose how this category option group will be used to capture and analyze"
msgstr "Choose how this category option group will be used to capture and analyze"
msgid ""
"Choose how this category option group will be used to capture and analyze "
"data."
msgstr ""
"Choose how this category option group will be used to capture and analyze "
"data."

msgid "Use as data dimension"
msgstr "Use as data dimension"

msgid ""
"Category option group will be available to the analytics as another "
"dimension"
msgstr ""
"Category option group will be available to the analytics as another "
"dimension"
msgid "Make available to analytics apps as a selectable dimension."
msgstr "Make available to analytics apps as a selectable dimension."

msgid "Choose the category options to include in this category option group."
msgstr "Choose the category options to include in this category option group."
msgid "Choose the options to include in this category."
msgstr "Choose the options to include in this category."

msgid "Available category options"
msgstr "Available category options"
Expand Down Expand Up @@ -1001,14 +1004,21 @@ msgstr ""
" It is strongly discouraged to have more than one Category "
"combination with the same categories."

msgid "Choose how this category combo will be used to capture and analyze data."
msgstr "Choose how this category combo will be used to capture and analyze data."
msgid "Set up the basic information for this category combination."
msgstr "Set up the basic information for this category combination."

msgid ""
"Choose how this category combination will be used to capture and analyze "
"data."
msgstr ""
"Choose how this category combination will be used to capture and analyze "
"data."

msgid "Skip category total in reports"
msgstr "Skip category total in reports"

msgid "Choose the categories to include in this category combo."
msgstr "Choose the categories to include in this category combo."
msgid "Choose the categories to include in this category combination."
msgstr "Choose the categories to include in this category combination."

msgid "At least one category is required"
msgstr "At least one category is required"
Expand All @@ -1020,6 +1030,9 @@ msgstr ""
"The number of generated category option combinations exceeds the limit of "
"{{limit}}"

msgid "Set up the basic information for this category option combination."
msgstr "Set up the basic information for this category option combination."

msgid "Set up the basic information for this category option group set."
msgstr "Set up the basic information for this category option group set."

Expand All @@ -1028,20 +1041,10 @@ msgstr "Explain the purpose of this category option group set."

msgid ""
"Choose how this category option group set will be used to capture and "
"analyze"
"analyze data."
msgstr ""
"Choose how this category option group set will be used to capture and "
"analyze"

msgid ""
"Category option group set will be available to the analytics as another "
"dimension"
msgstr ""
"Category option group set will be available to the analytics as another "
"dimension"

msgid "Category option Groups"
msgstr "Category option Groups"
"analyze data."

msgid ""
"Choose the category option groups to include in this category option group "
Expand All @@ -1065,11 +1068,11 @@ msgstr "Filter selected category option groups"
msgid "Set up the basic information for this category option group."
msgstr "Set up the basic information for this category option group."

msgid "Choose how this category option will be used to capture and analyze"
msgstr "Choose how this category option will be used to capture and analyze"
msgid "Choose how this category option will be used to capture and analyze data."
msgstr "Choose how this category option will be used to capture and analyze data."

msgid "Choose the category options to include in this category."
msgstr "Choose the category options to include in this category."
msgid "Choose the options to include in this category option group."
msgstr "Choose the options to include in this category option group."

msgid "Set up the basic information for this category option."
msgstr "Set up the basic information for this category option."
Expand All @@ -1081,10 +1084,10 @@ msgid "Availability configuration"
msgstr "Availability configuration"

msgid ""
"Choose when, and for which organisation units this category option will be "
"Choose when, and for which organisation units, this category option will be "
"available."
msgstr ""
"Choose when, and for which organisation units this category option will be "
"Choose when, and for which organisation units, this category option will be "
"available."

msgid "Form name should not exceed 230 characters"
Expand All @@ -1108,27 +1111,33 @@ msgstr "Data dimension"
msgid "Selected data element groups"
msgstr "Selected data element groups"

msgid "Set up the information for this data element group"
msgstr "Set up the information for this data element group"
msgid "Set up the information for this data element group set."
msgstr "Set up the information for this data element group set."

msgid "Explain the purpose of this data element group."
msgstr "Explain the purpose of this data element group."
msgid "Explain the purpose of this data element group set."
msgstr "Explain the purpose of this data element group set."

msgid "Selected data elements"
msgstr "Selected data elements"

msgid "Set up the information for this data element group."
msgstr "Set up the information for this data element group."

msgid "Explain the purpose of this data element group."
msgstr "Explain the purpose of this data element group."

msgid "Create data element"
msgstr "Create data element"

msgid "Choose how this data element is disaggregated"
msgstr "Choose how this data element is disaggregated"

msgid "The default way to aggregate this data element in analytics."
msgstr "The default way to aggregate this data element in analytics."

msgid "Disabled for the selected value type."
msgstr "Disabled for the selected value type."

msgid "Choose how this data element is disaggregated."
msgstr "Choose how this data element is disaggregated."

msgid "Color and icon"
msgstr "Color and icon"

Expand Down Expand Up @@ -1160,17 +1169,17 @@ msgstr "Selected legends"
msgid "Option set comment"
msgstr "Option set comment"

msgid "Choose a set of predefined comment for data entry"
msgstr "Choose a set of predefined comment for data entry"
msgid "Choose a set of predefined comments for data entry."
msgstr "Choose a set of predefined comments for data entry."

msgid "Choose a set of predefined options for data entry"
msgstr "Choose a set of predefined options for data entry"
msgid "Choose a set of predefined options for data entry."
msgstr "Choose a set of predefined options for data entry."

msgid "Url"
msgstr "Url"

msgid "A web link that provides extra information"
msgstr "A web link that provides extra information"
msgid "A web link that provides extra information."
msgstr "A web link that provides extra information."

msgid "The type of data that will be recorded."
msgstr "The type of data that will be recorded."
Expand All @@ -1185,8 +1194,8 @@ msgstr ""
msgid "Store zero data values"
msgstr "Store zero data values"

msgid "Set up the information for this data element"
msgstr "Set up the information for this data element"
msgid "Set up the information for this data element."
msgstr "Set up the information for this data element."

msgid "Explain the purpose of this data element."
msgstr "Explain the purpose of this data element."
Expand All @@ -1201,29 +1210,25 @@ msgid "Legend set"
msgstr "Legend set"

msgid ""
"Visualize values for this data element in Analytics app. Multiple legendSet "
"Visualize values for this data element in Analytics app. Multiple legends "
"can be applied."
msgstr ""
"Visualize values for this data element in Analytics app. Multiple legendSet "
"Visualize values for this data element in Analytics app. Multiple legends "
"can be applied."

msgid "Aggregation levels"
msgstr "Aggregation levels"

msgid ""
"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."
"By default, aggregation starts at the lowest assigned organisation unit. "
"You can override this by choosing a different level. Choosing a higher "
"level means that data from lower levels will not be included in the "
"aggregation."
msgstr ""
"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."
"By default, aggregation starts at the lowest assigned organisation unit. "
"You can override this by choosing a different level. Choosing a higher "
"level means that data from lower levels will not be included in the "
"aggregation."

msgid "Set up the basic information for this data set."
msgstr "Set up the basic information for this data set."
Expand All @@ -1234,6 +1239,12 @@ msgstr "Configure data elements"
msgid "Choose what data is collected for this data set."
msgstr "Choose what data is collected for this data set."

msgid "Data set disaggregation"
msgstr "Data set disaggregation"

msgid "Choose an optional category combination to disaggregate the entire data set."
msgstr "Choose an optional category combination to disaggregate the entire data set."

msgid "Configure data entry periods"
msgstr "Configure data entry periods"

Expand All @@ -1258,6 +1269,69 @@ msgstr "Advanced options"
msgid "These options are used for advanced data set configurations."
msgstr "These options are used for advanced data set configurations."

msgid "BiMonthly"
msgstr "BiMonthly"

msgid "BiWeekly"
msgstr "BiWeekly"

msgid "Daily"
msgstr "Daily"

msgid "FinancialApril"
msgstr "FinancialApril"

msgid "FinancialJuly"
msgstr "FinancialJuly"

msgid "FinancialNov"
msgstr "FinancialNov"

msgid "FinancialOct"
msgstr "FinancialOct"

msgid "Monthly"
msgstr "Monthly"

msgid "Quarterly"
msgstr "Quarterly"

msgid "QuarterlyNov"
msgstr "QuarterlyNov"

msgid "SixMonthlyApril"
msgstr "SixMonthlyApril"

msgid "SixMonthlyNov"
msgstr "SixMonthlyNov"

msgid "SixMonthly"
msgstr "SixMonthly"

msgid "TwoYearly"
msgstr "TwoYearly"

msgid "Weekly"
msgstr "Weekly"

msgid "WeeklySaturday"
msgstr "WeeklySaturday"

msgid "WeeklySunday"
msgstr "WeeklySunday"

msgid "WeeklyThursday"
msgstr "WeeklyThursday"

msgid "WeeklyWednesday"
msgstr "WeeklyWednesday"

msgid "Yearly"
msgstr "Yearly"

msgid "Something went wrong"
msgstr "Something went wrong"

msgid "Setup"
msgstr "Setup"

Expand Down Expand Up @@ -1328,9 +1402,6 @@ msgstr "Contact person"
msgid "Address"
msgstr "Address"

msgid "A web link that provides extra information."
msgstr "A web link that provides extra information."

msgid "Location"
msgstr "Location"

Expand Down
4 changes: 3 additions & 1 deletion src/app/routes/Router.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,9 @@ function createSectionLazyRouteFunction(
return async () => {
try {
return await import(
`../../pages/${section.namePlural}/${componentFileName}`
`../../pages/${
section.routeName || section.namePlural
}/${componentFileName}`
)
} catch (e) {
// means the component is not implemented yet
Expand Down
Loading
Loading