Skip to content
Snippets Groups Projects
Commit 510dcd14 authored by tasawernawaz's avatar tasawernawaz
Browse files

fix untranslated validation message on course grader LEARNER-2450

parent 468fd999
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment