fixed sometimes not translatable phrases longer 128 chars, problem was a trim() after truncating the message to 128 chars

This commit is contained in:
Ralf Becker 2009-11-28 16:21:00 +00:00
parent f50862a2e7
commit cbc16ac036

View File

@ -210,7 +210,7 @@ class translation
}
else
{
$new_key = strtolower(trim(substr($key,0,self::MAX_MESSAGE_ID_LENGTH)));
$new_key = strtolower(substr($key,0,self::MAX_MESSAGE_ID_LENGTH));
if (isset(self::$lang_arr[$new_key]))
{