Commit 5fb5b25c authored by Martyn Smith's avatar Martyn Smith Committed by Martyn Smith

display section along with tag for unknown language strings

parent 089eb478
......@@ -220,7 +220,7 @@ function get_string_location($identifier, $section, $variables, $replacefunc='fo
// If the preferred language was English (utf8) we can abort now
// saving some checks beacuse it's the only "root" lang
if ($lang == 'en.utf8') {
return '[[' . $identifier . ']]';
return '[[' . $identifier . '/' . $section . ']]';
}
// Is a parent language defined? If so, try to find this string in a parent language file
......@@ -249,7 +249,7 @@ function get_string_location($identifier, $section, $variables, $replacefunc='fo
}
}
return '[[' . $identifier . ']]'; // Last resort
return '[[' . $identifier . '/' . $section . ']]'; // Last resort
}
......
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