diff --git a/core/includes/batch.inc b/core/includes/batch.inc index 5fc76a8..e3c4e3a 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 bd9c107..490c811 100644 --- a/core/modules/comment/comment.module +++ b/core/modules/comment/comment.module @@ -684,7 +684,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) { diff --git a/core/modules/file/file.field.inc b/core/modules/file/file.field.inc index cbc2246..504f54c 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 b399fba..69cf881 100644 --- a/core/modules/image/image.admin.inc +++ b/core/modules/image/image.admin.inc @@ -604,7 +604,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 775de2d..3ba5d40 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 9f226cb..3bf99dd 100644 --- a/core/modules/poll/lib/Drupal/poll/Tests/PollCreateTest.php +++ b/core/modules/poll/lib/Drupal/poll/Tests/PollCreateTest.php @@ -30,7 +30,7 @@ class PollCreateTest extends PollTestBase { $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 a 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 efdadb4..8847cc1 100644 --- a/core/modules/system/system.api.php +++ b/core/modules/system/system.api.php @@ -2683,7 +2683,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 f9b1c23..2aeae87 100644 --- a/core/modules/user/user.admin.inc +++ b/core/modules/user/user.admin.inc @@ -854,7 +854,7 @@ function theme_user_permission_description($variables) { } /** - * Form to re-order roles or add a new one. + * Form to re-order roles or add a 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; }