Skip to content

Commit

Permalink
Switch away from deprecated grade to gradeverb string.
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaboesch committed Jan 8, 2023
1 parent 373b64b commit 32f7bc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/kalvidassign/renderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ public function col_status($data) {
$buttontext = get_string('update');
} else {
$class = 's0';
$buttontext = get_string('grade');
$buttontext = get_string_manager()->string_exists('gradeverb', 'moodle') ? get_string('gradeverb') : get_string('grade');
}

if (!$submitted) {
Expand Down

0 comments on commit 32f7bc4

Please sign in to comment.