diff --git a/i18n/en.pot b/i18n/en.pot
index 324bb80..dc03498 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-07-23T14:31:09.295Z\n"
-"PO-Revision-Date: 2024-07-23T14:31:09.295Z\n"
+"POT-Creation-Date: 2024-08-06T11:43:03.886Z\n"
+"PO-Revision-Date: 2024-08-06T11:43:03.886Z\n"
msgid "Editing the target setup will require you to reenter authentication details."
msgstr "Editing the target setup will require you to reenter authentication details."
@@ -90,29 +90,40 @@ msgstr "Requests"
msgid "Input ID scheme options"
msgstr "Input ID scheme options"
+msgid ""
+"Defines the scheme (ID, code, attribute value) on the target system that "
+"will be used, upon input, to match data sent from the source system."
+msgstr ""
+"Defines the scheme (ID, code, attribute value) on the target system that "
+"will be used, upon input, to match data sent from the source system."
+
msgid "Input general ID scheme"
msgstr "Input general ID scheme"
-msgid "This is some description for this item"
-msgstr "This is some description for this item"
+msgid ""
+"Applies to all elements as the default ID scheme. If the chosen scheme is "
+"not present for a given element, ID will be used as the fallback."
+msgstr ""
+"Applies to all elements as the default ID scheme. If the chosen scheme is "
+"not present for a given element, ID will be used as the fallback."
msgid "Input data element ID scheme"
msgstr "Input data element ID scheme"
-msgid "This is a different description for this item"
-msgstr "This is a different description for this item"
+msgid "Applies to data elements."
+msgstr "Applies to data elements."
msgid "Input organisation unit ID scheme"
msgstr "Input organisation unit ID scheme"
-msgid "Another description for this item"
-msgstr "Another description for this item"
+msgid "Applies to organisation units."
+msgstr "Applies to organisation units."
msgid "Input category option combo ID scheme"
msgstr "Input category option combo ID scheme"
-msgid "Last description for this item"
-msgstr "Last description for this item"
+msgid "Applies to category option combos."
+msgstr "Applies to category option combos."
msgid "Add exchange"
msgstr "Add exchange"
@@ -244,37 +255,35 @@ msgstr "Organisation units"
msgid "Output ID scheme options"
msgstr "Output ID scheme options"
+msgid ""
+"Defines how data from the source system will be output before it is sent to "
+"the target instance."
+msgstr ""
+"Defines how data from the source system will be output before it is sent to "
+"the target instance."
+
msgid "Output general ID scheme"
msgstr "Output general ID scheme"
-msgid ""
-"The default ID scheme that will be applied for the data that is exported "
-"from the source system. In the case, that the selected scheme is not "
-"present, ID will be used as a fallback."
-msgstr ""
-"The default ID scheme that will be applied for the data that is exported "
-"from the source system. In the case, that the selected scheme is not "
-"present, ID will be used as a fallback."
+msgid "Output data item ID scheme"
+msgstr "Output data item ID scheme"
+
+msgid "Applies to data elements, indicators, and program indicators."
+msgstr "Applies to data elements, indicators, and program indicators."
msgid "Output data element ID scheme"
msgstr "Output data element ID scheme"
msgid ""
-"This scheme is applied to all data elements. It will override the "
-"outputDataItemIdScheme"
+"Applies to data elements. It will override the scheme specified by "
+"outputDataItemIdScheme for data elements."
msgstr ""
-"This scheme is applied to all data elements. It will override the "
-"outputDataItemIdScheme"
-
-msgid "Output data item ID scheme"
-msgstr "Output data item ID scheme"
+"Applies to data elements. It will override the scheme specified by "
+"outputDataItemIdScheme for data elements."
msgid "Output organisation unit ID scheme"
msgstr "Output organisation unit ID scheme"
-msgid "Description for organisation unit ID scheme"
-msgstr "Description for organisation unit ID scheme"
-
msgid "Edit exchange: Add request"
msgstr "Edit exchange: Add request"
diff --git a/src/components/edit/exchange-update/exchange-form-contents.js b/src/components/edit/exchange-update/exchange-form-contents.js
index 9336133..d3dd869 100644
--- a/src/components/edit/exchange-update/exchange-form-contents.js
+++ b/src/components/edit/exchange-update/exchange-form-contents.js
@@ -270,6 +270,9 @@ export const ExchangeFormContents = React.memo(
<>
@@ -283,16 +286,14 @@ export const ExchangeFormContents = React.memo(
{
/>
-
+
<>
+ {outputDataItemIdSchemeAvailable && (
+
+ )}
- {outputDataItemIdSchemeAvailable && (
-
- )}
-
(
+export const Subsection = ({ text, description, children, className = '' }) => (
{text}
+ {description && (
+
{description}
+ )}
{children}
@@ -14,5 +17,6 @@ export const Subsection = ({ text, children, className = '' }) => (
Subsection.propTypes = {
children: PropTypes.node,
className: PropTypes.string,
+ description: PropTypes.string,
text: PropTypes.string,
}
diff --git a/src/components/edit/shared/form-subsection.module.css b/src/components/edit/shared/form-subsection.module.css
index f260b4b..348922a 100644
--- a/src/components/edit/shared/form-subsection.module.css
+++ b/src/components/edit/shared/form-subsection.module.css
@@ -16,6 +16,14 @@
display: inline-block;
}
+.description {
+ margin-inline-start: var(--spacers-dp4);
+ margin-block-start: var(--spacers-dp8);
+ font-size: 14px;
+ color: var(--colors-grey700);
+ display: block;
+}
+
.subsectionContent {
padding: var(--spacers-dp4);
}