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('Describing its appearance: eg. square-85x85') . '
  • '; $output .= t('After you create an image style, you can add effects: crop, scale, resize, rotate, and desaturate (other contributed modules provide additional effects). For example, by combining effects as crop, scale, and desaturate, you can create square, grayscale thumbnails.') . '
    '; $output .= '
    ' . t('Attaching images to content as fields') . '
    '; - $output .= '
    ' . t("Image module also allows you to attach images to content as fields. To add an image field to a content type, go to the content type's manage fields page, and add a new field of type Image. Attaching images to content this way allows image styles to be applied and maintained, and also allows you more flexibility when theming.", array('@content-type' => url('admin/structure/types'))) . '
    '; + $output .= '
    ' . t("Image module also allows you to attach images to content as fields. To add an image field to a content type, go to the content type's manage fields page, and add a field of type Image. Attaching images to content this way allows image styles to be applied and maintained, and also allows you more flexibility when theming.", array('@content-type' => url('admin/structure/types'))) . '
    '; $output .= ''; return $output; case 'admin/config/media/image-styles': @@ -116,7 +116,7 @@ function image_menu() { ); $items['admin/config/media/image-styles/add'] = array( 'title' => 'Add style', - 'description' => 'Add a new image style.', + 'description' => t('Add an image style.'), 'page callback' => 'drupal_get_form', 'page arguments' => array('image_style_add_form'), 'access arguments' => array('administer image styles'), @@ -161,7 +161,7 @@ function image_menu() { ); $items['admin/config/media/image-styles/edit/%image_style/add/%image_effect_definition'] = array( 'title' => 'Add image effect', - 'description' => 'Add a new effect to a style.', + 'description' => t('Add an effect to a style.'), 'load arguments' => array(5), 'page callback' => 'drupal_get_form', 'page arguments' => array('image_effect_form', 5, 7), diff --git a/core/modules/language/lib/Drupal/language/Tests/LanguageListTest.php b/core/modules/language/lib/Drupal/language/Tests/LanguageListTest.php index 54a5f0e..658a543 100644 --- a/core/modules/language/lib/Drupal/language/Tests/LanguageListTest.php +++ b/core/modules/language/lib/Drupal/language/Tests/LanguageListTest.php @@ -136,7 +136,7 @@ function testLanguageList() { $this->assertEqual(variable_get('language_count', 1), count($languages), 'Language count is correct.'); // Ensure we can delete the English language. Right now English is the only - // language so we must add a new language and make it the default before + // language so we must add a language and make it the default before // deleting English. $langcode = 'xx'; $name = $this->randomName(16); diff --git a/core/modules/node/node.pages.inc b/core/modules/node/node.pages.inc index a3afa7f..976b2a0 100644 --- a/core/modules/node/node.pages.inc +++ b/core/modules/node/node.pages.inc @@ -82,7 +82,7 @@ function theme_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; } 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; }