Commit 495c8f3d by Will Daly

Merge pull request #133 from edx/will/reword-studio-warning

Reword Studio warning message
parents b42fd746 929c8fa8
......@@ -30,7 +30,7 @@ class SubmissionMixin(object):
'EBADFORM': _(u'API Submission Request Error.'),
'EUNKNOWN': _(u'API returned unclassified exception.'),
'ENOMULTI': _(u'Multiple submissions are not allowed.'),
'ENOPREVIEW': _(u'You cannot make a submission while in Preview mode.'),
'ENOPREVIEW': _(u'To submit a response, view this component in Preview or Live mode.'),
}
@XBlock.json_handler
......
......@@ -53,4 +53,4 @@ class SubmissionTest(XBlockHandlerTestCase):
resp = self.request(xblock, 'submit', self.SUBMISSION, response_format='json')
self.assertFalse(resp[0])
self.assertEqual(resp[1], "ENOPREVIEW")
self.assertEqual(resp[2], "You cannot make a submission while in Preview mode.")
\ No newline at end of file
self.assertEqual(resp[2], "To submit a response, view this component in Preview or Live mode.")
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment