MDL-60247 blocks: Multilang in Random glossary and in HTML block titles.

This commit is contained in:
Luca Bösch
2017-10-13 13:52:00 +02:00
parent 9a316f3367
commit da755cb442
@@ -50,7 +50,7 @@ class block_glossary_random extends block_base {
if (empty($this->config->title)) {
$this->title = get_string('pluginname','block_glossary_random');
} else {
$this->title = $this->config->title;
$this->title = $this->title = format_string($this->config->title, true, ['context' => $this->context]);
}
if (empty($this->config->glossary)) {