Skip to content

Commit

Permalink
MDL-24714: Completion report names inconsistent
Browse files Browse the repository at this point in the history
  • Loading branch information
sammarshallou committed Oct 18, 2010
1 parent f2a4328 commit cfc3392
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 10 deletions.
2 changes: 1 addition & 1 deletion course/report/completion/index.php
Expand Up @@ -159,7 +159,7 @@ function csv_quote($value) {

} else {
// Navigation and header
$strcompletion = get_string('completionreport','completion');
$strcompletion = get_string('coursecompletion');

$PAGE->set_title($strcompletion);
$PAGE->set_heading($course->fullname);
Expand Down
2 changes: 1 addition & 1 deletion course/report/completion/mod.php
Expand Up @@ -8,7 +8,7 @@
$completion = new completion_info($course);
if ($completion->is_enabled() && $completion->has_criteria()) {
echo '<p>';
echo '<a href="'.$CFG->wwwroot.'/course/report/completion/index.php?coursetest='.$course->id.'">'.get_string('coursecompletionreport','completion').'</a>';
echo '<a href="'.$CFG->wwwroot.'/course/report/completion/index.php?coursetest='.$course->id.'">'.get_string('coursecompletion').'</a>';
echo '</p>';
}
}
Expand Down
2 changes: 1 addition & 1 deletion course/report/progress/index.php
Expand Up @@ -140,7 +140,7 @@ function csv_quote($value) {

// Navigation and header
$strreports = get_string("reports");
$strcompletion = get_string('completionreport','completion');
$strcompletion = get_string('activitycompletion', 'completion');

$PAGE->set_title($strcompletion);
$PAGE->set_heading($course->fullname);
Expand Down
2 changes: 1 addition & 1 deletion course/report/progress/mod.php
Expand Up @@ -8,7 +8,7 @@
$completion = new completion_info($course);
if ($completion->is_enabled()) {
echo '<p>';
echo '<a href="'.$CFG->wwwroot.'/course/report/progress/?course='.$course->id.'">'.get_string('completionreport','completion').'</a>';
echo '<a href="'.$CFG->wwwroot.'/course/report/progress/?course='.$course->id.'">'.get_string('activitycompletion', 'completion').'</a>';
echo '</p>';
}
}
Expand Down
9 changes: 3 additions & 6 deletions lang/en/completion.php
Expand Up @@ -45,7 +45,7 @@
$string['completion_automatic'] = 'Show activity as complete when conditions are met';
$string['completiondisabled'] = 'Disabled, not shown in activity settings';
$string['completionexpected'] = 'Expect completed on';
$string['completionexpected_help']='This setting specifies the date when the activity is expected to be completed. The date is not shown to students and is only displayed in the progress report.';
$string['completionexpected_help']='This setting specifies the date when the activity is expected to be completed. The date is not shown to students and is only displayed in the activity completion report.';
$string['completionicons'] = 'Completion tick boxes';
$string['completionicons_help'] = 'A tick next an activity name may be used to indicate when the activity is complete.
Expand All @@ -54,7 +54,6 @@
If a blank tick box is shown, a tick will appear automatically when you have completed the activity according to conditions set by the teacher.';
$string['completion_manual'] = 'Students can manually mark the activity as completed';
$string['completion_none'] = 'Do not indicate activity completion';
$string['completionreport'] = 'Completion progress report';
$string['completion-title-manual-n'] = 'Mark as complete';
$string['completion-title-manual-y'] = 'Mark as not complete';
$string['completionusegrade'] = 'Require grade';
Expand Down Expand Up @@ -82,7 +81,6 @@
$string['achievinggrade']='Achieving grade';
$string['activities']='Activities';
$string['activitiescompleted']='Activities completed';
$string['activitycompletionreport']='Activity completion progress report';
$string['addcourseprerequisite']='Add course prerequisite';
$string['afterspecifieddate']='After specified date';
$string['aggregationmethod']='Aggregation method';
Expand All @@ -96,9 +94,8 @@
$string['completionstartonenrol']='Completion tracking begins on enrolment';
$string['completionstartonenrolhelp']='Begin tracking a student\'s progress in course completion after course enrolment';
$string['confirmselfcompletion']='Confirm self completion';
$string['coursecomplete']='Course Complete';
$string['coursecompleted']='Course Completed';
$string['coursecompletionreport']='Course completion progress report';
$string['coursecomplete']='Course complete';
$string['coursecompleted']='Course completed';
$string['coursegrade']='Course grade';
$string['courseprerequisites']='Course prerequisites';
$string['coursesavailable']='Courses available';
Expand Down

0 comments on commit cfc3392

Please sign in to comment.