Skip to content

Commit

Permalink
Fix edit component for page and question set (#944)
Browse files Browse the repository at this point in the history
  • Loading branch information
jochenklar committed Mar 26, 2024
1 parent 8581b6d commit d89ba8a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions rdmo/management/assets/js/components/edit/EditPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
<div className="panel panel-default panel-edit">
Expand Down
4 changes: 2 additions & 2 deletions rdmo/management/assets/js/components/edit/EditQuestionSet.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
<div className="panel panel-default panel-edit">
Expand Down

0 comments on commit d89ba8a

Please sign in to comment.