mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-25 16:19:00 +01:00
If wizard dosesn't have translated field name, we have to translate it explicitly
This commit is contained in:
parent
a004c7f4ea
commit
f38dee97c5
@ -171,7 +171,10 @@ class importexport_export_csv implements importexport_iface_export_record
|
||||
$fields = $wizard->get_export_fields();
|
||||
foreach($this->mapping as $field => &$label)
|
||||
{
|
||||
if($fields[$field]) $label = $fields[$field];
|
||||
if($fields[$field])
|
||||
{
|
||||
$label = $label != $fields[$field] ? $fields[$field] : lang($label);
|
||||
}
|
||||
// Make sure no *
|
||||
if(substr($label,-1) == '*') $label = substr($label,0,-1);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user