diff --git a/core/includes/batch.inc b/core/includes/batch.inc index ff0b4cb..6ff220b 100644 --- a/core/includes/batch.inc +++ b/core/includes/batch.inc @@ -356,7 +356,7 @@ function _batch_api_percentage($total, $current) { $percentage = "100"; } else { - // We add a new digit at 200, 2000, etc. (since, for example, 199/200 + // We add a digit at 200, 2000, etc. (since, for example, 199/200 // would round up to 100% if we didn't). $decimal_places = max(0, floor(log10($total / 2.0)) - 1); do { diff --git a/core/modules/comment/comment.module b/core/modules/comment/comment.module index df0a33a..98d1f03 100644 --- a/core/modules/comment/comment.module +++ b/core/modules/comment/comment.module @@ -685,7 +685,7 @@ function comment_node_view(Node $node, $view_mode) { $links['comment-add'] = array( 'title' => t('Add new comment'), 'href' => "node/$node->nid", - 'attributes' => array('title' => t('Add a new comment to this page.')), + 'attributes' => array('title' => t('Add a comment to this page.')), 'fragment' => 'comment-form', ); if ($comment_form_location == COMMENT_FORM_SEPARATE_PAGE) { @@ -712,7 +712,7 @@ function comment_node_view(Node $node, $view_mode) { // if there are existing comments that the link will skip past. if ($comment_form_location == COMMENT_FORM_SEPARATE_PAGE || (!empty($node->comment_count) && user_access('access comments'))) { $links['comment-add'] = array( - 'title' => t('Add new comment'), + 'title' => t('Add comment'), 'attributes' => array('title' => t('Share your thoughts and opinions related to this posting.')), 'href' => "node/$node->nid", 'fragment' => 'comment-form', diff --git a/core/modules/file/file.field.inc b/core/modules/file/file.field.inc index 28a32a9..de7c23b 100644 --- a/core/modules/file/file.field.inc +++ b/core/modules/file/file.field.inc @@ -444,7 +444,7 @@ function file_field_widget_form(&$form, &$form_state, $field, $instance, $langco // Add some properties that will eventually be added to the file upload // field. These are added here so that they may be referenced easily through // a hook_form_alter(). - $elements['#file_upload_title'] = t('Add a new file'); + $elements['#file_upload_title'] = t('Add a file'); $elements['#file_upload_description'] = theme('file_upload_help', array('description' => '', 'upload_validators' => $elements[0]['#upload_validators'])); } diff --git a/core/modules/image/image.admin.inc b/core/modules/image/image.admin.inc index a2d86af..38493b2 100644 --- a/core/modules/image/image.admin.inc +++ b/core/modules/image/image.admin.inc @@ -626,7 +626,7 @@ function theme_image_style_list($variables) { if (empty($rows)) { $rows[] = array(array( 'colspan' => 4, - 'data' => t('There are currently no styles. Add a new one.', array('!url' => url('admin/config/media/image-styles/add'))), + 'data' => t('There are currently no styles. Add one.', array('!url' => url('admin/config/media/image-styles/add'))), )); } diff --git a/core/modules/image/image.module b/core/modules/image/image.module index 9861931..ef812b2 100644 --- a/core/modules/image/image.module +++ b/core/modules/image/image.module @@ -56,7 +56,7 @@ function image_help($path, $arg) { $output .= '
' . t('You have not created any content types yet. Go to the content type creation page to add a new content type.', array('@create-content' => url('admin/structure/types/add'))) . '
'; + $output = '' . t('You have not created any content types yet. Go to the content type creation page to add a content type.', array('@create-content' => url('admin/structure/types/add'))) . '
'; } return $output; } diff --git a/core/modules/poll/lib/Drupal/poll/Tests/PollCreateTest.php b/core/modules/poll/lib/Drupal/poll/Tests/PollCreateTest.php index 0618ce1..b971710 100644 --- a/core/modules/poll/lib/Drupal/poll/Tests/PollCreateTest.php +++ b/core/modules/poll/lib/Drupal/poll/Tests/PollCreateTest.php @@ -36,7 +36,7 @@ function testPollCreate() { $this->clickLink($title); $this->assertText('Total votes: 0', 'Link to poll correct.'); - // Now add a new option to make sure that when we update the node the + // Now add an option to make sure that when we update the node the // option is displayed. $node = node_load($poll_nid); diff --git a/core/modules/system/system.api.php b/core/modules/system/system.api.php index a9a2e17..96cf72e 100644 --- a/core/modules/system/system.api.php +++ b/core/modules/system/system.api.php @@ -2787,7 +2787,7 @@ function hook_install() { * Perform a single update. * * For each change that requires one or more actions to be performed when - * updating a site, add a new hook_update_N(), which will be called by + * updating a site, add a hook_update_N(), which will be called by * update.php. The documentation block preceding this function is stripped of * newlines and used as the description for the update on the pending updates * task list. Schema updates should adhere to the diff --git a/core/modules/user/user.admin.inc b/core/modules/user/user.admin.inc index 396f4c0..bf4c3ad 100644 --- a/core/modules/user/user.admin.inc +++ b/core/modules/user/user.admin.inc @@ -863,7 +863,7 @@ function theme_user_permission_description($variables) { } /** - * Form to re-order roles or add a new one. + * Form to re-order roles or add one. * * @ingroup forms * @see theme_user_admin_roles() diff --git a/core/themes/seven/template.php b/core/themes/seven/template.php index a8643ab..6eddf09 100644 --- a/core/themes/seven/template.php +++ b/core/themes/seven/template.php @@ -54,7 +54,7 @@ function seven_node_add_list($variables) { $output .= ''; } else { - $output = '' . t('You have not created any content types yet. Go to the content type creation page to add a new content type.', array('@create-content' => url('admin/structure/types/add'))) . '
'; + $output = '' . t('You have not created any content types yet. Go to the content type creation page to add a content type.', array('@create-content' => url('admin/structure/types/add'))) . '
'; } return $output; }