diff --git a/src/classes/exporter/class-tainacan-term-exporter.php b/src/classes/exporter/class-tainacan-term-exporter.php index 1da9b37f7..839df19bc 100644 --- a/src/classes/exporter/class-tainacan-term-exporter.php +++ b/src/classes/exporter/class-tainacan-term-exporter.php @@ -40,8 +40,12 @@ class Term_Exporter extends Exporter { if ( is_array($files) && isset($files['csvvocabularyexporter.csv'])) { $file = $files['csvvocabularyexporter.csv']; - - $message = __('Your CSV file is ready! Access it in the link below:', 'tainacan'); + $taxonomie = \Tainacan\Repositories\Taxonomies::get_instance()->fetch_by_db_identifier( $this->get_option('select_taxonomy') ); + if ( !empty($taxonomie) ) { + $message = __('target taxonomie:', 'tainacan'); + $message .= " " . $taxonomie->get_name() . "
"; + } + $message .= __('Your CSV file is ready! Access it in the link below:', 'tainacan'); $message .= '

'; $message .= 'Download';