Localize exercises.implement.not_graded

This commit is contained in:
Sebastian Serth
2021-06-11 22:23:09 +02:00
parent b3d9be1e3c
commit 7b4a487530

View File

@ -36,7 +36,7 @@ module SubmissionScoring
assessment = assessor.translate_linter(assessment, session[:locale])
# replace file name with hint if linter is not used for grading. Refactor!
filename = t('exercises.implement.not_graded', locale: :de) if file.weight.zero?
filename = t('exercises.implement.not_graded') if file.weight.zero?
end
output.merge!(assessment)