mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
Fix missing translations in export
This commit is contained in:
parent
e895274d69
commit
e3ef32aa08
@ -25,7 +25,7 @@ class infolog_egw_record implements importexport_iface_egw_record
|
||||
// Used in conversions
|
||||
static $types = array(
|
||||
'select-account' => array('info_owner','info_responsible','modifier'),
|
||||
'select' => array('info_priority', 'info_type', 'info_status'),
|
||||
'select' => array('info_priority', 'info_type', 'info_status','info_pricelist'),
|
||||
'date-time' => array('info_startdate', 'info_enddate','info_datecompleted', 'info_datemodified','created','last_event','next_event'),
|
||||
'select-cat' => array('info_cat', 'cat_id'),
|
||||
'links' => array('info_link_id'),
|
||||
|
@ -25,6 +25,7 @@ class infolog_export_csv implements importexport_iface_export_plugin {
|
||||
public function export( $_stream, importexport_definition $_definition) {
|
||||
$options = $_definition->plugin_options;
|
||||
|
||||
translation::add_app('infolog');
|
||||
$bo = new infolog_bo();
|
||||
$selection = array();
|
||||
$query = array();
|
||||
@ -111,6 +112,7 @@ class infolog_export_csv implements importexport_iface_export_plugin {
|
||||
if(!is_array($selection[$id])) break;
|
||||
$selection[$id]['pm_id'] = current($links);
|
||||
$selection[$id]['project'] = egw_link::title('projectmanager', $selection[$id]['pm_id']);
|
||||
$this->selects['info_pricelist'] = ExecMethod('projectmanager.projectmanager_pricelist_bo.pricelist',$selection[$id]['pm_id']);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user