From d89ba8ae3b8099fef9bf08df2fa36e612a7cffae Mon Sep 17 00:00:00 2001 From: Jochen Klar Date: Tue, 26 Mar 2024 15:47:32 +0100 Subject: [PATCH] Fix edit component for page and question set (#944) --- rdmo/management/assets/js/components/edit/EditPage.js | 4 ++-- rdmo/management/assets/js/components/edit/EditQuestionSet.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/rdmo/management/assets/js/components/edit/EditPage.js b/rdmo/management/assets/js/components/edit/EditPage.js index 707a82a2d4..6064b6f2c5 100644 --- a/rdmo/management/assets/js/components/edit/EditPage.js +++ b/rdmo/management/assets/js/components/edit/EditPage.js @@ -70,8 +70,8 @@ const EditPage = ({ config, page, elements, elementActions }) => { // for reasons unknown, the strings are not picked up by makemessages from the props const addElementText = gettext('Add existing element') - const createQuestionText = gettext('Create new question set') - const createQuestionSetText = gettext('Create new question') + const createQuestionText = gettext('Create new question') + const createQuestionSetText = gettext('Create new question set') return (
diff --git a/rdmo/management/assets/js/components/edit/EditQuestionSet.js b/rdmo/management/assets/js/components/edit/EditQuestionSet.js index e23c4fa146..e78935196f 100644 --- a/rdmo/management/assets/js/components/edit/EditQuestionSet.js +++ b/rdmo/management/assets/js/components/edit/EditQuestionSet.js @@ -70,8 +70,8 @@ const EditQuestionSet = ({ config, questionset, elements, elementActions }) => { // for reasons unknown, the strings are not picked up by makemessages from the props const addElementText = gettext('Add existing element') - const createQuestionText = gettext('Create new question set') - const createQuestionSetText = gettext('Create new question') + const createQuestionText = gettext('Create new question') + const createQuestionSetText = gettext('Create new question set') return (