Skip to content

Commit

Permalink
fix: custom form not being rendered
Browse files Browse the repository at this point in the history
  • Loading branch information
simonadomnisoru committed Sep 29, 2023
1 parent 3c7fe40 commit ce887fd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 17 deletions.
19 changes: 2 additions & 17 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-09-28T11:41:14.981Z\n"
"PO-Revision-Date: 2023-09-28T11:41:14.981Z\n"
"POT-Creation-Date: 2023-09-29T14:14:34.330Z\n"
"PO-Revision-Date: 2023-09-29T14:14:34.330Z\n"

msgid "Choose one or more dates..."
msgstr "Choose one or more dates..."
Expand Down Expand Up @@ -1004,11 +1004,6 @@ msgstr "You can also choose a program from the top bar and search in that progra
msgid "Choose a type to start searching"
msgstr "Choose a type to start searching"

msgid "Fill in at least {{count}} attribute to search"
msgid_plural "Fill in at least {{count}} attribute to search"
msgstr[0] "Fill in at least {{count}} attribute to search"
msgstr[1] "Fill in at least {{count}} attributes to search"

msgid "Search {{name}}"
msgstr "Search {{name}}"

Expand Down Expand Up @@ -1265,22 +1260,12 @@ msgstr "Scheduled automatically for {{suggestedScheduleDate}}"
msgid "The scheduled date matches the suggested date, but can be changed if needed."
msgstr "The scheduled date matches the suggested date, but can be changed if needed."

msgid "The scheduled date is {{count}} days {{position}} the suggested date."
msgid_plural "The scheduled date is {{count}} days {{position}} the suggested date."
msgstr[0] "The scheduled date is {{count}} day {{position}} the suggested date."
msgstr[1] "The scheduled date is {{count}} days {{position}} the suggested date."

msgid "after"
msgstr "after"

msgid "before"
msgstr "before"

msgid "There are {{count}} scheduled event in {{orgUnitName}} on this day."
msgid_plural "There are {{count}} scheduled event in {{orgUnitName}} on this day."
msgstr[0] "There are {{count}} scheduled event in {{orgUnitName}} on this day."
msgstr[1] "There are {{count}} scheduled events in {{orgUnitName}} on this day."

msgid "Scheduling an event in {{stageName}} for {{programName}} in {{orgUnitName}}"
msgstr "Scheduling an event in {{stageName}} for {{programName}} in {{orgUnitName}}"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,11 @@ export const useMergeFormFoundationsIfApplicable = (
sectionName: section.name,
});
o.group = Section.groups.EVENT;
o.customForm = section.customForm;
o.showContainer = section.showContainer;
o.open = section.open;
o.visible = section.visible;
o.displayDescription = section.displayDescription;
});
addElements(section, newSection);
renderFoundation.addSection(newSection);
Expand Down

0 comments on commit ce887fd

Please sign in to comment.