From 93a84c620e32ec505ce4d04bb27ce7b583723ce2 Mon Sep 17 00:00:00 2001 From: dannylamb Date: Fri, 3 Jan 2020 17:57:41 +0000 Subject: [PATCH] Updating language --- src/Plugin/Condition/MediaHasTerm.php | 2 +- src/Plugin/Condition/NodeHasTerm.php | 4 ++-- src/Plugin/Condition/ParentNodeHasTerm.php | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Plugin/Condition/MediaHasTerm.php b/src/Plugin/Condition/MediaHasTerm.php index 67d4db3c..b170c7a6 100644 --- a/src/Plugin/Condition/MediaHasTerm.php +++ b/src/Plugin/Condition/MediaHasTerm.php @@ -7,7 +7,7 @@ namespace Drupal\islandora\Plugin\Condition; * * @Condition( * id = "media_has_term", - * label = @Translation("Media has term"), + * label = @Translation("Media has term with URI"), * context = { * "media" = @ContextDefinition("entity:media", required = TRUE , label = @Translation("media")) * } diff --git a/src/Plugin/Condition/NodeHasTerm.php b/src/Plugin/Condition/NodeHasTerm.php index 1e85dea4..bfa8e9e8 100644 --- a/src/Plugin/Condition/NodeHasTerm.php +++ b/src/Plugin/Condition/NodeHasTerm.php @@ -15,7 +15,7 @@ use Symfony\Component\DependencyInjection\ContainerInterface; * * @Condition( * id = "node_has_term", - * label = @Translation("Node has term"), + * label = @Translation("Node has term with URI"), * context = { * "node" = @ContextDefinition("entity:node", required = TRUE , label = @Translation("node")) * } @@ -104,7 +104,7 @@ class NodeHasTerm extends ConditionPluginBase implements ContainerFactoryPluginI $form['term'] = [ '#type' => 'entity_autocomplete', '#title' => $this->t('Term'), - '#description' => $this->t('Terms need an Authority Link or External Uri to be compatible with this Condition. If the term you are looking for is not appearing in the autocomplete, please ensure it has a value for its Authority Link or External Uri field.'), + '#description' => $this->t('Only terms that have external URIs/URLs will appear here.'), '#tags' => TRUE, '#default_value' => $default, '#target_type' => 'taxonomy_term', diff --git a/src/Plugin/Condition/ParentNodeHasTerm.php b/src/Plugin/Condition/ParentNodeHasTerm.php index 098a80c9..3bc08641 100644 --- a/src/Plugin/Condition/ParentNodeHasTerm.php +++ b/src/Plugin/Condition/ParentNodeHasTerm.php @@ -7,7 +7,7 @@ namespace Drupal\islandora\Plugin\Condition; * * @Condition( * id = "parent_node_has_term", - * label = @Translation("Parent node for media has term"), + * label = @Translation("Parent node for media has term with URI"), * context = { * "media" = @ContextDefinition("entity:media", required = TRUE , label = @Translation("media")) * }