forked from extern/egroupware
not returning labes containing $row or $cont for translating
This commit is contained in:
parent
434431727a
commit
b51c7496e6
@ -1270,7 +1270,8 @@
|
||||
}
|
||||
foreach($strings as $str)
|
||||
{
|
||||
if (strlen($str) > 1 && $str{0} != '@' && $str{0} != '$')
|
||||
if (strlen($str) > 1 && $str{0} != '@' && $str{0} != '$' &&
|
||||
strstr($str,'$row') === false && strstr($str,'$cont') === false)
|
||||
{
|
||||
$to_trans[trim(strtolower($str))] = $str;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user