From: moodler <moodler>
Date: Sat, 9 Nov 2002 06:29:21 +0000 (+0000)
Subject: Use course setting for "student"
X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=f39d5f45766b46055f13bd58631e39082948f85b;p=moodle.git

Use course setting for "student"
---

diff --git a/lang/en/survey.php b/lang/en/survey.php
index 287326aedb..e6c031aea9 100644
--- a/lang/en/survey.php
+++ b/lang/en/survey.php
@@ -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.";
diff --git a/mod/survey/graph.php b/mod/survey/graph.php
index b870408885..d12d3eadf9 100644
--- a/mod/survey/graph.php
+++ b/mod/survey/graph.php
@@ -30,11 +30,11 @@
 
     $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) {