Use course setting for "student"
authormoodler <moodler>
Sat, 9 Nov 2002 06:29:21 +0000 (06:29 +0000)
committermoodler <moodler>
Sat, 9 Nov 2002 06:29:21 +0000 (06:29 +0000)
lang/en/survey.php
mod/survey/graph.php

index 287326a..e6c031a 100644 (file)
@@ -7,7 +7,7 @@ $string['modulenameplural'] = "Surveys";
 
 $string['actual'] = "Actual";
 $string['actualclass'] = "Class actual";
-$string['actualstudent'] = "Student actual";
+$string['actualstudent'] = "\$a actual";
 $string['allquestions'] = "All questions in order, all students";
 $string['allscales'] = "All scales, all students";
 $string['alreadysubmitted'] = "You have already submitted this survey";
@@ -185,7 +185,7 @@ $string['othercomments'] = "Do you have any other comments?";
 $string['peoplecompleted'] = "\$a people have completed this survey so far";
 $string['preferred'] = "Preferred";
 $string['preferredclass'] = "Class preferred";
-$string['preferredstudent'] = "Student preferred";
+$string['preferredstudent'] = "\$a preferred";
 $string['question'] = "Question";
 $string['questions'] = "Questions";
 $string['questionsnotanswered'] = "Some of the multiple choice questions have not been answered.";
index b870408..d12d3ea 100644 (file)
 
     $stractual = get_string("actual", "survey");
     $stractualclass = get_string("actualclass", "survey");
-    $stractualstudent = get_string("actualstudent", "survey");
+    $stractualstudent = get_string("actualstudent", "survey", $course->student);
 
     $strpreferred = get_string("preferred", "survey");
     $strpreferredclass = get_string("preferredclass", "survey");
-    $strpreferredstudent = get_string("preferredstudent", "survey");
+    $strpreferredstudent = get_string("preferredstudent", "survey", $course->student);
 
     switch ($type) {