MDL-21695 Yet some completion help strings fix

AMOS BEGIN
 HLP completion/completionicons.html,[completionicons_help,core_completion]
AMOS END
This commit is contained in:
David Mudrak
2010-05-05 00:03:13 +00:00
parent 13c76792a2
commit c8dcb793c4
3 changed files with 3 additions and 3 deletions
+1
View File
@@ -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;
+1 -2
View File
@@ -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';
+1 -1
View File
@@ -212,7 +212,7 @@ class completion_info {
global $PAGE, $OUTPUT;
if ($this->is_enabled() && !$PAGE->user_is_editing() && isloggedin() && !isguestuser()) {
echo '<span id = "completionprogressid" class="completionprogress">'.get_string('yourprogress','completion').' ';
echo $OUTPUT->old_help_icon('completionicons',get_string('completionicons','completion'),'completion');
echo $OUTPUT->help_icon('completionicons', 'completion');
echo '</span>';
}
}