Fix not_graded to German

This commit is contained in:
Sebastian Serth
2020-11-09 21:38:52 +01:00
parent ffcf4dbbce
commit fc6b0f2adc

View File

@ -36,7 +36,7 @@ module SubmissionScoring
assessment = assessor.translate_linter(assessment)
# 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
output.merge!(assessment)