diff --git a/core/modules/comment/comment.views.inc b/core/modules/comment/comment.views.inc index 5e31876..fa42393 100644 --- a/core/modules/comment/comment.views.inc +++ b/core/modules/comment/comment.views.inc @@ -13,7 +13,7 @@ function comment_views_data_alter(&$data) { // history table. $data['node']['new_comments'] = array( 'title' => t('New comments'), - 'help' => t('The number of new comments on the node.'), + 'help' => t('Number of new comments.'), 'field' => array( 'id' => 'node_new_comments', 'no group by' => TRUE, @@ -33,7 +33,7 @@ function comment_views_data_alter(&$data) { $data[$base_table]['comments_link'] = array( 'field' => array( 'title' => t('Add comment link'), - 'help' => t('Display the standard add comment link used on regular @entity_type, which will only display if the viewing user has access to add a comment.', $args), + 'help' => t('Display comment link if user has permission.', $args), 'id' => 'comment_entity_link', ), ); diff --git a/core/modules/comment/src/CommentViewsData.php b/core/modules/comment/src/CommentViewsData.php index 01e69da..3b8daed 100644 --- a/core/modules/comment/src/CommentViewsData.php +++ b/core/modules/comment/src/CommentViewsData.php @@ -258,7 +258,7 @@ public function getViewsData() { $data['comment_entity_statistics']['last_comment_timestamp'] = array( 'title' => t('Last comment time'), - 'help' => t('Date and time of when the last comment was posted.'), + 'help' => t('Datetime posted.'), 'field' => array( 'id' => 'comment_last_timestamp', ), @@ -272,7 +272,7 @@ public function getViewsData() { $data['comment_entity_statistics']['last_comment_name'] = array( 'title' => t("Last comment author"), - 'help' => t('The name of the author of the last posted comment.'), + 'help' => t("Author's name."), 'field' => array( 'id' => 'comment_ces_last_comment_name', 'no group by' => TRUE, @@ -285,7 +285,7 @@ public function getViewsData() { $data['comment_entity_statistics']['comment_count'] = array( 'title' => t('Comment count'), - 'help' => t('The number of comments an entity has.'), + 'help' => t('Number of comments.'), 'field' => array( 'id' => 'numeric', ), @@ -302,7 +302,7 @@ public function getViewsData() { $data['comment_entity_statistics']['last_updated'] = array( 'title' => t('Updated/commented date'), - 'help' => t('The most recent of last comment posted or entity updated time.'), + 'help' => t('Most recent comment or entity update.'), 'field' => array( 'id' => 'comment_ces_last_updated', 'no group by' => TRUE, @@ -332,7 +332,7 @@ public function getViewsData() { $data['comment_entity_statistics']['last_comment_uid'] = array( 'title' => t('Last comment uid'), - 'help' => t('The User ID of the author of the last comment of an entity.'), + 'help' => t('User ID.'), 'relationship' => array( 'title' => t('Last comment author'), 'base' => 'users', diff --git a/core/modules/node/src/NodeViewsData.php b/core/modules/node/src/NodeViewsData.php index 939e51b..54dfa86 100644 --- a/core/modules/node/src/NodeViewsData.php +++ b/core/modules/node/src/NodeViewsData.php @@ -106,7 +106,7 @@ public function getViewsData() { $data['node']['node_bulk_form'] = array( 'title' => t('Node operations bulk form'), - 'help' => t('Add a form element that lets you run operations on multiple nodes.'), + 'help' => t('Run operations on multiple nodes.'), 'field' => array( 'id' => 'node_bulk_form', ), @@ -224,7 +224,7 @@ public function getViewsData() { ), ); - $data['node_field_data']['uid']['help'] = t('The user authoring the content. If you need more fields than the uid add the content: author relationship'); + $data['node_field_data']['uid']['help'] = t('Uid, for more, add relationship: content: author'); $data['node_field_data']['uid']['filter']['id'] = 'user_name'; $data['node_field_data']['uid']['field']['id'] = 'user'; $data['node_field_data']['uid']['relationship']['title'] = t('Content author'); @@ -282,7 +282,7 @@ public function getViewsData() { $data['node_revision']['revision_log']['field']['id'] = 'xss'; - $data['node_revision']['revision_uid']['help'] = t('Relate a content revision to the user who created the revision.'); + $data['node_revision']['revision_uid']['help'] = t('User who created the revision.'); $data['node_revision']['revision_uid']['relationship']['label'] = t('revision user'); $data['node_field_revision']['table']['wizard_id'] = 'node_field_revision'; @@ -391,7 +391,7 @@ public function getViewsData() { $data['node_search_index']['score'] = array( 'title' => t('Score'), - 'help' => t('The score of the search item. This will not be used if the search filter is not also present.'), + 'help' => t('The score of the search item if the search filter is present.'), 'field' => array( 'id' => 'search_score', 'float' => TRUE, diff --git a/core/modules/taxonomy/taxonomy.views.inc b/core/modules/taxonomy/taxonomy.views.inc index 3160ea1..8b4785c 100644 --- a/core/modules/taxonomy/taxonomy.views.inc +++ b/core/modules/taxonomy/taxonomy.views.inc @@ -21,7 +21,7 @@ function taxonomy_views_data_alter(&$data) { ), 'field' => array( 'title' => t('All taxonomy terms'), - 'help' => t('Display all taxonomy terms associated with a node from specified vocabularies.'), + 'help' => t('Terms from a specified vocabulary.'), 'id' => 'taxonomy_index_tid', 'no group by' => TRUE, 'click sortable' => FALSE, diff --git a/core/modules/user/src/UserViewsData.php b/core/modules/user/src/UserViewsData.php index e043ac1..f92fd8b 100644 --- a/core/modules/user/src/UserViewsData.php +++ b/core/modules/user/src/UserViewsData.php @@ -85,7 +85,7 @@ public function getViewsData() { $data['users_field_data']['name']['filter']['help'] = t('The user or author name. This filter does not check if the user exists and allows partial matching. Does not use autocomplete.'); // Note that this field implements field level access control. - $data['users_field_data']['mail']['help'] = t('Email address for a given user. This field is normally not shown to users, so be cautious when using it.'); + $data['users_field_data']['mail']['help'] = t("Caution! Security Implications. Not normally used."); $data['users_field_data']['mail']['field']['id'] = 'user_mail'; $data['users_field_data']['langcode']['help'] = t('Original language of the user information'); @@ -275,7 +275,7 @@ public function getViewsData() { $data['users']['user_bulk_form'] = array( 'title' => t('Bulk update'), - 'help' => t('Add a form element that lets you run operations on multiple users.'), + 'help' => t('Run operations on multiple users.'), 'field' => array( 'id' => 'user_bulk_form', ), diff --git a/core/modules/views/src/ViewsDataHelper.php b/core/modules/views/src/ViewsDataHelper.php index b986746..f8b2ed2 100644 --- a/core/modules/views/src/ViewsDataHelper.php +++ b/core/modules/views/src/ViewsDataHelper.php @@ -115,7 +115,7 @@ public function fetchFields($base, $type, $grouping = FALSE, $sub_type = NULL) { $strings[$field][$key][$string] = $table_data['table'][$string]; } else { - if ($string != 'base' && $string != 'base') { + if ($string != 'base' && $string != 'help') { $strings[$field][$key][$string] = String::format("Error: missing @component", array('@component' => $string)); } }