not returning labes containing $row or $cont for translating

This commit is contained in:
Ralf Becker 2005-11-11 08:49:42 +00:00
parent 434431727a
commit b51c7496e6

View File

@ -1270,7 +1270,8 @@
} }
foreach($strings as $str) 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; $to_trans[trim(strtolower($str))] = $str;
} }