From 5101ac5c032aff09b89c316c67d9665f2c660068 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Mon, 16 May 2011 16:02:20 +0000 Subject: [PATCH] Translate select options --- importexport/inc/class.importexport_export_csv.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/importexport/inc/class.importexport_export_csv.inc.php b/importexport/inc/class.importexport_export_csv.inc.php index 7e746d751d..4cbd6dc66d 100644 --- a/importexport/inc/class.importexport_export_csv.inc.php +++ b/importexport/inc/class.importexport_export_csv.inc.php @@ -281,11 +281,11 @@ class importexport_export_csv implements importexport_iface_export_record if(is_array($record->$name)) { $names = array(); foreach($record->$name as $_name) { - $names[] = $selects[$name][$_name]; + $names[] = lang($selects[$name][$_name]); } $record->$name = implode(', ', $names); } else { - $record->$name = $selects[$name][$record->$name]; + $record->$name = lang($selects[$name][$record->$name]); } } }