MDL-71941 core_grades: use 'gradenoun' core string

This commit is contained in:
Luca Bösch 2021-06-16 14:29:13 +02:00
parent 2c9d117574
commit 1e2300fbd6
5 changed files with 7 additions and 4 deletions

View File

@ -196,7 +196,7 @@ class grade extends tablelike implements selectable_items, filterable_items {
return [
get_string('fullnameuser', 'core'),
'', // For filter icon.
get_string('grade', 'grades'),
get_string('gradenoun'),
get_string('range', 'grades'),
get_string('feedback', 'grades'),
get_string('override', 'gradereport_singleview'),

View File

@ -151,7 +151,7 @@ class user extends tablelike implements selectable_items {
get_string('assessmentname', 'gradereport_singleview'),
'', // For filter icon.
get_string('gradecategory', 'grades'),
get_string('grade', 'grades'),
get_string('gradenoun'),
get_string('range', 'grades'),
get_string('feedback', 'grades'),
get_string('override', 'gradereport_singleview'),

View File

@ -384,7 +384,7 @@ class user extends grade_report {
if ($this->showgrade) {
$this->tablecolumns[] = 'grade';
$this->tableheaders[] = get_string('grade', 'grades');
$this->tableheaders[] = get_string('gradenoun');
}
if ($this->showrange) {

View File

@ -110,3 +110,4 @@ passwordsenttext,core
passwordrecovery,core
passwordconfirmchange,core
passwordnohelp,core
grade,core_grades

View File

@ -257,7 +257,6 @@ $string['forstudents'] = 'For students';
$string['full'] = 'Full';
$string['fullmode'] = 'Show grades and totals';
$string['generalsettings'] = 'General settings';
$string['grade'] = 'Grade';
$string['grade_help'] = 'The grade to award the student for their work.';
$string['gradeadministration'] = 'Grade administration';
$string['gradealreadyupdated'] = '{$a} grades have not been imported because the grades in the import file are older than in the grader report. To proceed with the grade import anyway, use the force import option.';
@ -921,3 +920,6 @@ $string['showcalculations'] = 'Show calculations';
$string['showcalculations_help'] = 'If enabled, when editing, a calculator icon is shown for each grade item and category with a visual indicator that a grade item is calculated.';
$string['studentsperpage'] = 'Students per page';
$string['studentsperpage_help'] = 'This setting determines the number of students displayed per page in the grader report.';
// Deprecated since Moodle 4.4.
$string['grade'] = 'Grade';