Commit 510dcd14 by tasawernawaz

fix untranslated validation message on course grader LEARNER-2450

parent 468fd999
......@@ -24,7 +24,7 @@ define(['backbone', 'underscore', 'gettext'], function(Backbone, _, gettext) {
var errors = {};
if (_.has(attrs, 'type')) {
if (_.isEmpty(attrs['type'])) {
errors.type = 'The assignment type must have a name.';
errors.type = gettext('The assignment type must have a name.');
}
else {
// FIXME somehow this.collection is unbound sometimes. I can't track down when
......
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