Skip to content
Snippets Groups Projects
Commit 9cd62a5f authored by uhensler's avatar uhensler
Browse files

OO-4206: Point to the right translation package

parent 83762f6e
No related branches found
No related tags found
No related merge requests found
...@@ -27,6 +27,7 @@ import org.olat.course.nodes.AbstractCourseNodeConfiguration; ...@@ -27,6 +27,7 @@ import org.olat.course.nodes.AbstractCourseNodeConfiguration;
import org.olat.course.nodes.CourseNode; import org.olat.course.nodes.CourseNode;
import org.olat.course.nodes.CourseNodeGroup; import org.olat.course.nodes.CourseNodeGroup;
import org.olat.course.nodes.SurveyCourseNode; import org.olat.course.nodes.SurveyCourseNode;
import org.olat.course.nodes.survey.ui.SurveyRunController;
/** /**
* *
...@@ -53,7 +54,7 @@ public class SurveyCourseNodeConfiguration extends AbstractCourseNodeConfigurati ...@@ -53,7 +54,7 @@ public class SurveyCourseNodeConfiguration extends AbstractCourseNodeConfigurati
@Override @Override
public String getLinkText(Locale locale) { public String getLinkText(Locale locale) {
Translator translator = Util.createPackageTranslator(SurveyCourseNodeConfiguration.class, locale); Translator translator = Util.createPackageTranslator(SurveyRunController.class, locale);
return translator.translate("course.node.link.text"); return translator.translate("course.node.link.text");
} }
......
...@@ -66,7 +66,7 @@ public class SurveyLearningPathNodeHandler implements LearningPathNodeHandler { ...@@ -66,7 +66,7 @@ public class SurveyLearningPathNodeHandler implements LearningPathNodeHandler {
LearningPathControllerConfig ctrlConfig = LearningPathNodeConfigController.builder() LearningPathControllerConfig ctrlConfig = LearningPathNodeConfigController.builder()
.enableNodeVisited() .enableNodeVisited()
.enableConfirmed() .enableConfirmed()
.enableStatusDone(translator.translate("fully.assessed.status.done")) .enableStatusDone(translator.translate("fully.assessed.trigger.status.done"))
.build(); .build();
return new LearningPathNodeConfigController(ureq, wControl, courseEntry, courseNode.getModuleConfiguration(), ctrlConfig); return new LearningPathNodeConfigController(ureq, wControl, courseEntry, courseNode.getModuleConfiguration(), ctrlConfig);
} }
......
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