Fix not_graded to German
This commit is contained in:
@ -36,7 +36,7 @@ module SubmissionScoring
|
|||||||
assessment = assessor.translate_linter(assessment)
|
assessment = assessor.translate_linter(assessment)
|
||||||
|
|
||||||
# replace file name with hint if linter is not used for grading. Refactor!
|
# replace file name with hint if linter is not used for grading. Refactor!
|
||||||
filename = t('exercises.implement.not_graded') if file.weight.zero?
|
filename = t('exercises.implement.not_graded', locale: :de) if file.weight.zero?
|
||||||
end
|
end
|
||||||
|
|
||||||
output.merge!(assessment)
|
output.merge!(assessment)
|
||||||
|
Reference in New Issue
Block a user