gradebook MDL-22931 display more meaningful strings when configuring grade category
This commit is contained in:
@@ -101,9 +101,12 @@ class edit_category_form extends moodleform {
|
||||
$mform->disabledIf('droplow', 'keephigh', 'noteq', 0);
|
||||
|
||||
// Grade item settings
|
||||
$mform->addElement('header', 'general', get_string('gradeitem', 'grades'));
|
||||
//Displayed as Category total to avoid confusion between grade items requiring marking and category totals
|
||||
$mform->addElement('header', 'general', get_string('categorytotal', 'grades'));
|
||||
|
||||
$mform->addElement('text', 'grade_item_itemname', get_string('categorytotalname', 'grades'));
|
||||
$mform->setAdvanced('grade_item_itemname');
|
||||
|
||||
$mform->addElement('text', 'grade_item_itemname', get_string('itemname', 'grades'));
|
||||
$mform->addElement('text', 'grade_item_iteminfo', get_string('iteminfo', 'grades'));
|
||||
$mform->setHelpButton('grade_item_iteminfo', array('iteminfo', get_string('iteminfo', 'grades'), 'grade'), true);
|
||||
|
||||
|
||||
@@ -71,6 +71,7 @@ $string['category'] = 'Category';
|
||||
$string['categoryedit'] = 'Edit category';
|
||||
$string['categoryname'] = 'Category name';
|
||||
$string['categorytotal'] = 'Category total';
|
||||
$string['categorytotalname'] = 'Category total name';
|
||||
$string['categorytotalfull'] = '$a->category total';
|
||||
$string['changereportdefaults'] = 'Change report defaults';
|
||||
$string['changedefaults'] = 'Change defaults';
|
||||
|
||||
Reference in New Issue
Block a user