mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-05 21:49:28 +01:00
fixed sometimes not translatable phrases longer 128 chars, problem was a trim() after truncating the message to 128 chars
This commit is contained in:
parent
f50862a2e7
commit
cbc16ac036
@ -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]))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user