Commit ec2a78f6 authored by Nigel McNie's avatar Nigel McNie
Browse files

Source the language files for the blocktypes from the correct location.

parent 901e6d58
......@@ -94,7 +94,7 @@ abstract class PluginBlocktype extends Plugin {
}
public static function category_title_from_name($name) {
$title = get_string('blocktypecategory.'. $name);
$title = get_string('blocktypecategory.'. $name, 'view');
if (strpos($title, '[[') !== 0) {
return $title;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment