mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 12:32:08 +02:00
MDL-63991 badges: Translate notification on endorsement
This commit is contained in:
parent
65ffd0a33a
commit
f687f1459e
@ -63,6 +63,10 @@ $output = $PAGE->get_renderer('core', 'badges');
|
||||
$msg = optional_param('msg', '', PARAM_TEXT);
|
||||
$emsg = optional_param('emsg', '', PARAM_TEXT);
|
||||
|
||||
if ($msg !== '') {
|
||||
$msg = get_string($msg, 'badges');
|
||||
}
|
||||
|
||||
echo $OUTPUT->header();
|
||||
echo $OUTPUT->heading(print_badge_image($badge, $context, 'small') . ' ' . $badge->name);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user