Fixes for grade plugincapability names MDL-10989

This commit is contained in:
moodler 2007-08-26 05:49:59 +00:00
parent 3ab8ee6e9b
commit 5464c36277

View File

@ -3338,6 +3338,18 @@ function get_capability_string($capabilityname) {
$string = get_string($stringname, 'format_'.$componentname);
break;
case 'gradeexport':
$string = get_string($stringname, 'gradeexport_'.$componentname);
break;
case 'gradeimport':
$string = get_string($stringname, 'gradeimport_'.$componentname);
break;
case 'gradereport':
$string = get_string($stringname, 'gradereport_'.$componentname);
break;
default:
$string = get_string($stringname);
break;