mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-23 14:29:02 +01:00
changed behavior of no_lang on extra labels (labels in front of input-fields, not buttons), the get now always translated if they are longer than 1 char and do not contain variable content (via @ or $)
This commit is contained in:
parent
c1550c8638
commit
498ef1b870
@ -776,7 +776,7 @@
|
|||||||
}
|
}
|
||||||
if ($extra_label && ($label != '' || $html == ''))
|
if ($extra_label && ($label != '' || $html == ''))
|
||||||
{
|
{
|
||||||
if (strlen($label) > 1 && !$cell['no_lang'])
|
if (strlen($label) > 1 && !($cell['no_lang'] && $cell['label'] != $label))
|
||||||
{
|
{
|
||||||
$label = lang($label);
|
$label = lang($label);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user