Skip to content
Snippets Groups Projects
Commit c48affbb authored by srosse's avatar srosse
Browse files

OO-3548: add test translator to the grading tool

parent 52bd911a
No related branches found
No related tags found
No related merge requests found
......@@ -48,6 +48,7 @@ import org.olat.core.gui.control.generic.closablewrapper.CloseableCalloutWindowC
import org.olat.core.gui.control.winmgr.JSCommand;
import org.olat.core.util.CodeHelper;
import org.olat.core.util.StringHelper;
import org.olat.core.util.Util;
import org.olat.course.assessment.AssessmentHelper;
import org.olat.fileresource.FileResourceManager;
import org.olat.fileresource.types.ImsQTI21Resource;
......@@ -57,6 +58,7 @@ import org.olat.ims.qti21.AssessmentTestSession;
import org.olat.ims.qti21.QTI21Constants;
import org.olat.ims.qti21.QTI21Service;
import org.olat.ims.qti21.model.xml.QtiNodesExtractor;
import org.olat.ims.qti21.ui.AssessmentTestDisplayController;
import org.olat.ims.qti21.ui.assessment.model.AssessmentItemCorrection;
import org.olat.ims.qti21.ui.components.FeedbackResultFormItem;
import org.olat.ims.qti21.ui.components.InteractionResultFormItem;
......@@ -135,6 +137,7 @@ public class CorrectionIdentityInteractionsController extends FormBasicControlle
AssessmentItemCorrection correction, Map<Long, File> submissionDirectoryMaps,
String mapperUri, Form rootForm) {
super(ureq, wControl, LAYOUT_CUSTOM, "correction_identity_interactions", rootForm);
setTranslator(Util.createPackageTranslator(AssessmentTestDisplayController.class, getLocale(), getTranslator()));
this.mapperUri = mapperUri;
this.correction = correction;
......
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