Merge pull request #16034 from edx/tasawer/learner-2450/translate-validation-message
fix untranslated validation message on course grader
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user