fix for Lanfile to not add phrases which are variables

This commit is contained in:
Ralf Becker 2005-11-10 12:26:16 +00:00
parent c6a83c93eb
commit 96fd5ccfbd

View File

@ -1270,7 +1270,7 @@
} }
foreach($strings as $str) foreach($strings as $str)
{ {
if (strlen($str) > 1 && $str[0] != '@') if (strlen($str) > 1 && $str{0} != '@' && $str{0} != '$')
{ {
$to_trans[trim(strtolower($str))] = $str; $to_trans[trim(strtolower($str))] = $str;
} }