From: nicolasconnault Date: Wed, 8 Aug 2007 04:35:27 +0000 (+0000) Subject: MDL-10724 Finished help strings for category edit form X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=ece2a77dcf35fc57bde6101d66f212d8298d6d65;p=moodle.git MDL-10724 Finished help strings for category edit form --- diff --git a/grade/edit/tree/category_form.php b/grade/edit/tree/category_form.php index 5aadf830df..2ef411d768 100644 --- a/grade/edit/tree/category_form.php +++ b/grade/edit/tree/category_form.php @@ -32,6 +32,8 @@ class edit_category_form extends moodleform { if (!empty($CFG->enableoutcomes)) { $mform->addElement('advcheckbox', 'aggregateoutcomes', get_string('aggregateoutcomes', 'grades')); + $mform->setHelpButton('aggregateoutcomes', array(false, get_string('aggregateoutcomes', 'grades'), + false, true, false, get_string("aggregateoutcomeshelp", 'grades'))); } $options = array(); @@ -40,9 +42,13 @@ class edit_category_form extends moodleform { $options[$i] = $i; } $mform->addElement('select', 'keephigh', get_string('keephigh', 'grades'), $options); + $mform->setHelpButton('keephigh', array(false, get_string('keephigh', 'grades'), + false, true, false, get_string("keephighhelp", 'grades'))); $mform->disabledIf('keephigh', 'droplow', 'noteq', 0); $mform->addElement('select', 'droplow', get_string('droplow', 'grades'), $options); + $mform->setHelpButton('droplow', array(false, get_string('droplow', 'grades'), + false, true, false, get_string("droplowhelp", 'grades'))); $mform->disabledIf('droplow', 'keephigh', 'noteq', 0); // user preferences diff --git a/lang/en_utf8/grades.php b/lang/en_utf8/grades.php index 51f0ac3524..43c149793e 100644 --- a/lang/en_utf8/grades.php +++ b/lang/en_utf8/grades.php @@ -22,6 +22,7 @@ $string['aggregatemaxgraded'] = 'Highest grade of non-empty grades'; $string['aggregatemodeall'] = 'Mode of all grades'; $string['aggregatemodegraded'] = 'Mode of non-empty grades'; $string['aggregateoutcomes'] = 'Include outcomes in aggregation'; +$string['aggregateoutcomeshelp'] = 'Including outcomes in aggregation may not lead to the desired overall grade, so you have the option to include or leave them out.'; $string['aggregateweightedmeanall'] = 'Weighted mean of all grades'; $string['aggregateweightedmeangraded'] = 'Weighted mean of non-empty grades'; $string['aggregation'] = 'Aggregation'; @@ -98,6 +99,7 @@ $string['displaypercent'] = 'Display Percents'; $string['displaypoints'] = 'Display Points'; $string['displayweighted'] = 'Display Weighted Grades'; $string['droplow'] = 'Drop the lowest'; +$string['droplowhelp'] = 'If set, this option will drop the X lowest grades, X being the selected value for this option.'; $string['dropped'] = 'Dropped'; $string['dropxlowest'] = 'Drop X Lowest'; $string['dropxlowestwarning'] = 'Note: If you use drop x lowest the grading assumes that all items in the category have the same point value. If point values differ results will be unpredictable'; @@ -205,6 +207,7 @@ $string['itemnamehelp'] = 'The name of this item, pushed in by the module.'; $string['items'] = 'Items'; $string['itemsedit'] = 'Edit grade item'; $string['keephigh'] = 'Keep the highest'; +$string['keephighhelp'] = 'If set, this option will only keep the X highest grades, X being the selected value for this option.'; $string['left'] = 'Left'; $string['lettergrade'] = 'Letter Grade'; $string['lettergradenonnumber'] = 'Low and/or High grade were non-numeric for';