Permalink
Browse files

MDL-22259 completion: Rename "Course Prerequisites" to "Completion De…

…pendencies"
  • Loading branch information...
Aaron Barnes
Aaron Barnes committed Jun 27, 2012
1 parent 2cbdaa7 commit eb8f89a976a3aee493545c226410269d083e20b1
@@ -166,7 +166,7 @@ public function get_content() {
if (!empty($prerequisites)) {
$phtml = '<tr><td>';
- $phtml .= get_string('prerequisitescompleted', 'completion');
+ $phtml .= get_string('dependenciescompleted', 'completion');
$phtml .= '</td><td style="text-align: right">';
$a = new stdClass();
$a->first = $prerequisites_complete;
@@ -65,7 +65,7 @@ function definition() {
$mform->setDefault('overall_aggregation', $completion->get_aggregation_method());
// Course prerequisite completion criteria
- $mform->addElement('header', 'courseprerequisites', get_string('courseprerequisites', 'completion'));
+ $mform->addElement('header', 'courseprerequisites', get_string('completiondependencies', 'completion'));
// Get applicable courses
$courses = $DB->get_records_sql(
View
@@ -88,12 +88,12 @@
$string['achievinggrade']='Achieving grade';
$string['activities']='Activities';
$string['activitiescompleted']='Activities completed';
-$string['addcourseprerequisite']='Add course prerequisite';
$string['afterspecifieddate']='After specified date';
$string['aggregationmethod']='Aggregation method';
$string['all']='All';
$string['any']='Any';
$string['approval']='Approval';
+$string['completiondependencies']='Completion dependencies';
$string['completionenabled']='Enabled, control via completion and activity settings';
$string['completionmenuitem']='Completion';
$string['completiononunenrolment']='Completion on unenrolment';
@@ -106,7 +106,6 @@
$string['coursecomplete']='Course complete';
$string['coursecompleted']='Course completed';
$string['coursegrade']='Course grade';
-$string['courseprerequisites']='Course prerequisites';
$string['coursesavailable']='Courses available';
$string['coursesavailableexplaination']='<i>Course completion criteria must be set for a course to appear in this list</i>';
$string['criteria']='Criteria';
@@ -115,6 +114,8 @@
$string['criteriarequiredall']='All criteria below are required';
$string['criteriarequiredany']='Any criteria below are required';
$string['days']='Days';
+$string['dependencies']='Dependencies';
+$string['dependenciescompleted']='Dependencies completed';
$string['editcoursecompletionsettings']='Edit course completion settings';
$string['enrolmentduration']='Days left';
$string['err_nocourses']='Course completion is not enabled for any other courses, so none can be displayed. You can enable course completion in the course settings.';
@@ -141,8 +142,6 @@
$string['overallcriteriaaggregation']='Overall criteria type aggregation';
$string['pending']='Pending';
$string['periodpostenrolment']='Period post enrolment';
-$string['prerequisites']='Prerequisites';
-$string['prerequisitescompleted']='Prerequisites completed';
$string['recognitionofpriorlearning']='Recognition of prior learning';
$string['remainingenroledfortime']='Remaining enrolled for a specified period of time';
$string['remainingenroleduntildate']='Remaining enrolled until a specified date';
@@ -123,7 +123,7 @@ public function review($completion, $mark = true) {
* @return string
*/
public function get_title() {
- return get_string('prerequisitescompleted', 'completion');
+ return get_string('dependenciescompleted', 'completion');
}
/**
@@ -146,7 +146,7 @@ public function get_title_detailed() {
* @return string
*/
public function get_type_title() {
- return get_string('prerequisites', 'completion');
+ return get_string('dependencies', 'completion');
}
/**

0 comments on commit eb8f89a

Please sign in to comment.