mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +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
56fb819ac0
commit
f2e52e1478
@ -210,7 +210,7 @@ class translation
|
|||||||
}
|
}
|
||||||
else
|
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]))
|
if (isset(self::$lang_arr[$new_key]))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user