mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
Fixes for grade plugincapability names MDL-10989
This commit is contained in:
parent
3ab8ee6e9b
commit
5464c36277
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user