mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +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
@ -171,12 +171,16 @@ class solangfile
|
|||||||
foreach(array('label','help') as $key)
|
foreach(array('label','help') as $key)
|
||||||
{
|
{
|
||||||
if (isset($data[$key]) && !empty($data[$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;
|
$this->plist[$data[$key]] = $app;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
function parse_php_app($app,$fd)
|
function parse_php_app($app,$fd)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user