Commit 5720105a authored by Penny Leach's avatar Penny Leach Committed by Nigel McNie
Browse files

fixed up the blocktype lang handling

parent e5442818
...@@ -296,7 +296,8 @@ function get_string_location($identifier, $section, $variables, $replacefunc='fo ...@@ -296,7 +296,8 @@ function get_string_location($identifier, $section, $variables, $replacefunc='fo
if ($tocheck == 'blocktype' && if ($tocheck == 'blocktype' &&
strpos($pluginname, '/') !== false) { // it belongs to an artefact plugin strpos($pluginname, '/') !== false) { // it belongs to an artefact plugin
$bits = explode('/', $pluginname); $bits = explode('/', $pluginname);
$locations[] = $docroot . 'artefact/ ' . $bits[0] . '/blocktype/' . $bits[1] . '/' . 'lang/'; $locations[] = $docroot . 'artefact/' . $bits[0] . '/blocktype/' . $bits[1] . '/lang/';
$section = 'blocktype.' . $bits[1];
} }
else { else {
$locations[] = $docroot . $tocheck . '/' . $pluginname . '/lang/'; $locations[] = $docroot . $tocheck . '/' . $pluginname . '/lang/';
......
Markdown is supported
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