From f39d5f45766b46055f13bd58631e39082948f85b Mon Sep 17 00:00:00 2001 From: moodler Date: Sat, 9 Nov 2002 06:29:21 +0000 Subject: [PATCH] Use course setting for "student" --- lang/en/survey.php | 4 ++-- mod/survey/graph.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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) { -- 2.39.5