"understand run_lang for settings, to NOT return already translated phrases with replaced placeholders"

This commit is contained in:
Ralf Becker 2010-05-21 07:21:30 +00:00
parent 2b872f65fa
commit 04601a486e

View File

@ -171,12 +171,16 @@ class solangfile
foreach(array('label','help') as $key)
{
if (isset($data[$key]) && !empty($data[$key]))
{
// run_lang: NULL, true --> help + label, false --> help only, -1 => none
if (!isset($data['run_lang']) || !$data['run_lang'] && $key == 'help' || $data['run_lang'] != -1)
{
$this->plist[$data[$key]] = $app;
}
}
}
}
}
function parse_php_app($app,$fd)
{