Skip to content

Commit

Permalink
Switch away from deprecated grade to gradeverb string resolves #408.
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaboesch committed Aug 4, 2024
1 parent 7e7a5d6 commit 346354b
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 346354b

Please sign in to comment.