mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 00:29:38 +01:00
"understand run_lang for settings, to NOT return already translated phrases with replaced placeholders"
This commit is contained in:
parent
2b872f65fa
commit
04601a486e
@ -172,7 +172,11 @@ class solangfile
|
||||
{
|
||||
if (isset($data[$key]) && !empty($data[$key]))
|
||||
{
|
||||
$this->plist[$data[$key]] = $app;
|
||||
// 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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user