diff --git a/i18n/en.pot b/i18n/en.pot index 83af8483..7d9b30c1 100644 --- a/i18n/en.pot +++ b/i18n/en.pot @@ -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-11-25T11:05:35.282Z\n" -"PO-Revision-Date: 2024-11-25T11:05:35.283Z\n" +"POT-Creation-Date: 2024-11-27T14:08:51.118Z\n" +"PO-Revision-Date: 2024-11-27T14:08:51.118Z\n" msgid "schemas" msgstr "schemas" @@ -1196,15 +1196,15 @@ msgstr "Configure how data can and must be entered for this data" msgid "Configure which organisation units can collect data for this data set." msgstr "Configure which organisation units can collect data for this data set." +msgid "Data entry form" +msgstr "Data entry form" + msgid "Advanced options" msgstr "Advanced options" msgid "These options are used for advanced data set configurations." msgstr "These options are used for advanced data set configurations." -msgid "Data entry form" -msgstr "Data entry form" - msgid "Setup" msgstr "Setup" diff --git a/src/lib/constants/sections.ts b/src/lib/constants/sections.ts index afb16f11..b66863c4 100644 --- a/src/lib/constants/sections.ts +++ b/src/lib/constants/sections.ts @@ -85,6 +85,14 @@ export const SCHEMA_SECTIONS = { titlePlural: i18n.t('Data sets'), parentSectionKey: 'dataSet', }, + // @ts-expect-error temporary route for testing + dataSetWIP: { + name: SchemaName.dataSet, + namePlural: 'dataSetsWIP', + title: i18n.t('Data set'), + titlePlural: i18n.t('Data sets'), + parentSectionKey: 'dataSet', + }, dataSetNotificationTemplate: { name: SchemaName.dataSetNotificationTemplate, namePlural: 'dataSetNotifications', diff --git a/src/pages/dataSets/New.tsx b/src/pages/dataSetsWIP/New.tsx similarity index 100% rename from src/pages/dataSets/New.tsx rename to src/pages/dataSetsWIP/New.tsx diff --git a/src/pages/dataSets/form/DataSetFormContents.tsx b/src/pages/dataSetsWIP/form/DataSetFormContents.tsx similarity index 99% rename from src/pages/dataSets/form/DataSetFormContents.tsx rename to src/pages/dataSetsWIP/form/DataSetFormContents.tsx index c205bc87..d4fe1660 100644 --- a/src/pages/dataSets/form/DataSetFormContents.tsx +++ b/src/pages/dataSetsWIP/form/DataSetFormContents.tsx @@ -123,7 +123,7 @@ export const DataSetFormContents = () => { 'These options are used for advanced data set configurations.' )} -
+
diff --git a/src/pages/dataSets/form/dataSetFormSchema.ts b/src/pages/dataSetsWIP/form/dataSetFormSchema.ts similarity index 100% rename from src/pages/dataSets/form/dataSetFormSchema.ts rename to src/pages/dataSetsWIP/form/dataSetFormSchema.ts diff --git a/src/pages/dataSets/form/fieldFilters.ts b/src/pages/dataSetsWIP/form/fieldFilters.ts similarity index 100% rename from src/pages/dataSets/form/fieldFilters.ts rename to src/pages/dataSetsWIP/form/fieldFilters.ts diff --git a/src/pages/dataSets/form/formDescriptor.tsx b/src/pages/dataSetsWIP/form/formDescriptor.tsx similarity index 100% rename from src/pages/dataSets/form/formDescriptor.tsx rename to src/pages/dataSetsWIP/form/formDescriptor.tsx