From a2833ecbe1b3936d8e5666d820cc71ede02fb7cf Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Mon, 30 Nov 2015 23:09:11 +0000 Subject: [PATCH] Translate fields in mismatch suggestion to user's language --- importexport/inc/class.importexport_import_ui.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/importexport/inc/class.importexport_import_ui.inc.php b/importexport/inc/class.importexport_import_ui.inc.php index 9b65842d32..2a7a9fe004 100644 --- a/importexport/inc/class.importexport_import_ui.inc.php +++ b/importexport/inc/class.importexport_import_ui.inc.php @@ -476,7 +476,7 @@ $edit_link, $definition->name ); } $actions[] = lang('Edit your file to match the definition:') . ' ' - . implode(array_intersect_key($options['csv_fields'],$options['field_mapping']),', '); + . implode(array_map('lang',array_intersect_key($options['csv_fields'],$options['field_mapping'])),', '); $message[] = "\n
  • ".implode($actions,"\n
  • "); } }