forked from extern/egroupware
"understand run_lang for settings, to NOT return already translated phrases with replaced placeholders"
This commit is contained in:
parent
2b872f65fa
commit
04601a486e
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user