mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 00:29:38 +01:00
fixed translation of the date-widget's label
This commit is contained in:
parent
a3ab98c600
commit
3c7811e45a
@ -120,7 +120,11 @@
|
|||||||
}
|
}
|
||||||
$value = $str;
|
$value = $str;
|
||||||
$cell['type'] = 'label';
|
$cell['type'] = 'label';
|
||||||
|
if (!$cell['no_lang'])
|
||||||
|
{
|
||||||
$cell['no_lang'] = True;
|
$cell['no_lang'] = True;
|
||||||
|
$cell['label'] = strlen($cell['label']) > 1 ? lang($cell['label']) : $cell['label'];
|
||||||
|
}
|
||||||
return True;
|
return True;
|
||||||
}
|
}
|
||||||
$tpl = new etemplate;
|
$tpl = new etemplate;
|
||||||
|
Loading…
Reference in New Issue
Block a user