From 060608d67c931cb978c56dbede6870a264f1e6d0 Mon Sep 17 00:00:00 2001 From: Alex Barth <alex_b@53995.no-reply.drupal.org> Date: Tue, 7 Sep 2010 23:11:03 +0000 Subject: [PATCH] Filter vocabulary name. --- mappers/taxonomy.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mappers/taxonomy.inc b/mappers/taxonomy.inc index 70c96f66..2caf5fe0 100644 --- a/mappers/taxonomy.inc +++ b/mappers/taxonomy.inc @@ -57,7 +57,7 @@ function taxonomy_feeds_get_source(FeedsImportBatch $batch, $key) { */ function taxonomy_feeds_node_processor_targets_alter(&$targets, $content_type) { foreach (taxonomy_get_vocabularies($content_type) as $vocabulary) { - $description = t('The !name vocabulary of the node. If this is a "Tags" vocabulary, any new terms will be created on import. Otherwise only existing terms will be used. If this is not a "Tags" vocabulary and not a "Multiple select" vocabulary, only the first available term will be created. See !settings.', array('!name' => $vocabulary->name, '!settings' => l(t('vocabulary settings'), 'admin/content/taxonomy/edit/vocabulary/'. $vocabulary->vid, array('query' => 'destination='. $_GET['q'])))); + $description = t('The @name vocabulary of the node. If this is a "Tags" vocabulary, any new terms will be created on import. Otherwise only existing terms will be used. If this is not a "Tags" vocabulary and not a "Multiple select" vocabulary, only the first available term will be created. See !settings.', array('@name' => $vocabulary->name, '!settings' => l(t('vocabulary settings'), 'admin/content/taxonomy/edit/vocabulary/'. $vocabulary->vid, array('query' => 'destination='. $_GET['q'])))); $targets['taxonomy:'. taxonomy_vocabulary_id($vocabulary)] = array( 'name' => "Taxonomy: ". $vocabulary->name, -- GitLab