From 583d4cec4f2f863964b9305236d69cf92dd4a8ad Mon Sep 17 00:00:00 2001 From: thepurpleblob Date: Wed, 1 Aug 2007 10:56:50 +0000 Subject: [PATCH] MDL-10585: MDL-10584: Present more factually correct message when a guest attempts to enrol. Provide a mechanism for specifying which role in a course holds the enrolment key. --- lang/en_utf8/enrol_manual.php | 2 +- lang/en_utf8/moodle.php | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lang/en_utf8/enrol_manual.php b/lang/en_utf8/enrol_manual.php index 4ac4d3aa1b..f0ff44a388 100644 --- a/lang/en_utf8/enrol_manual.php +++ b/lang/en_utf8/enrol_manual.php @@ -10,5 +10,5 @@ $string['description'] = 'This is the default form of enrolment. There are two m able to add themselves to a course. '; $string['enrolname'] = 'Internal Enrolment'; - +$string['keyholderrole' ] = 'The role of the user that holds the enrolment key for a course. Displayed to students attempting to enrol on the course.'; ?> diff --git a/lang/en_utf8/moodle.php b/lang/en_utf8/moodle.php index 9858243ceb..f0fb257fd0 100644 --- a/lang/en_utf8/moodle.php +++ b/lang/en_utf8/moodle.php @@ -538,6 +538,8 @@ $string['enrolmentend'] = 'Enrolment Ends'; $string['enrolmentkey'] = 'Enrolment key'; $string['enrolmentkeyfrom'] = 'This course requires an \'enrolment key\' - a one-time
password that you should have received from $a'; +$string['enrolmentkeyfromguest'] = 'This course requires an \'enrolment key\' - as a guest
+you must enter it each time you enter the course. You should have received it from $a'; $string['enrolmentkeyhint'] = 'That enrolment key was incorrect, please try again
(Here\'s a hint - it starts with \'$a\')'; $string['enrolmentnew'] = 'New enrolment in $a'; -- 2.39.5