Skip to content

Commit

Permalink
Merge pull request #947 from rdmorganiser/fix_page_management
Browse files Browse the repository at this point in the history
Fix edit component for page and question set (#944)
  • Loading branch information
jochenklar committed May 14, 2024
2 parents 0b8c41e + d89ba8a commit f654664
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 f654664

Please sign in to comment.