diff --git a/course/moodleform_mod.php b/course/moodleform_mod.php index 593b0fbaa27..703502f24ba 100644 --- a/course/moodleform_mod.php +++ b/course/moodleform_mod.php @@ -515,6 +515,7 @@ abstract class moodleform_mod extends moodleform { $mform->setDefault('completion', $this->_features->defaultcompletion ? COMPLETION_TRACKING_MANUAL : COMPLETION_TRACKING_NONE); + $mform->addHelpButton('completion', 'completion', 'completion'); // Automatic completion once you view it $gotcompletionoptions = false; diff --git a/lang/en/completion.php b/lang/en/completion.php index 734d3951fa1..73b6b9c99a2 100644 --- a/lang/en/completion.php +++ b/lang/en/completion.php @@ -60,7 +60,7 @@ $string['completionusegrade'] = 'Require grade'; $string['completionusegrade_help'] = 'If enabled, the activity is considered complete when a student receives a grade. Pass and fail icons may be displayed if a pass grade for the activity has been set.'; $string['completionusegrade_desc'] = 'A student must receive a grade to complete this activity'; $string['completionview'] = 'Require view'; -$string['completionview_desc'] = 'A studet must view this activity to complete it'; +$string['completionview_desc'] = 'A student must view this activity to complete it'; $string['configenablecompletion'] = 'When enabled, this lets you turn on completion tracking (progress) features at course level.'; $string['configprogresstrackedroles'] = 'Roles that are displayed in the progress-tracking screen. (Usually includes just students and equivalent roles.)'; $string['csvdownload'] = 'Download in spreadsheet format (UTF-8 .csv)'; @@ -78,7 +78,6 @@ $string['saved'] = 'Saved'; $string['unlockcompletion'] = 'Unlock completion options'; $string['writingcompletiondata'] = 'Writing completion data'; $string['yourprogress'] = 'Your progress'; - $string['achievinggrade']='Achieving grade'; $string['activities']='Activities'; $string['activitiescompleted']='Activities completed'; diff --git a/lib/completionlib.php b/lib/completionlib.php index d188b04e9bc..2ebdc3c1354 100644 --- a/lib/completionlib.php +++ b/lib/completionlib.php @@ -212,7 +212,7 @@ class completion_info { global $PAGE, $OUTPUT; if ($this->is_enabled() && !$PAGE->user_is_editing() && isloggedin() && !isguestuser()) { echo ''.get_string('yourprogress','completion').' '; - echo $OUTPUT->old_help_icon('completionicons',get_string('completionicons','completion'),'completion'); + echo $OUTPUT->help_icon('completionicons', 'completion'); echo ''; } }