mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-01 04:13: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
9e5c2633d4
commit
86c2be2efa
@ -175,7 +175,7 @@ class translation
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$new_key = strtolower(trim(substr($key,0,MAX_MESSAGE_ID_LENGTH)));
|
$new_key = strtolower(substr($key,0,MAX_MESSAGE_ID_LENGTH));
|
||||||
|
|
||||||
if (isset($this->lang_arr[$new_key]))
|
if (isset($this->lang_arr[$new_key]))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user