Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix edit component for page and question set (#944) #947

Merged
merged 1 commit into from
May 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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