Skip to content

Commit

Permalink
MDL-63991 badges: Translate notification on endorsement
Browse files Browse the repository at this point in the history
  • Loading branch information
crazyserver committed Nov 13, 2018
1 parent 65ffd0a commit f687f14
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions badges/endorsement.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@
$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);

Expand Down

0 comments on commit f687f14

Please sign in to comment.