From ebb91c714f4000df0b71ff5164d8a99bc3ad5e50 Mon Sep 17 00:00:00 2001
From: Boriana Ditcheva <boriana_ditcheva@ncbiotech.org>
Date: Tue, 17 Dec 2013 11:09:23 -0500
Subject: [PATCH] Improve language and grammar for TrackerTest messages

---
 .../lib/Drupal/tracker/Tests/TrackerTest.php       |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/core/modules/tracker/lib/Drupal/tracker/Tests/TrackerTest.php b/core/modules/tracker/lib/Drupal/tracker/Tests/TrackerTest.php
index 0abd95e..4e18e82 100644
--- a/core/modules/tracker/lib/Drupal/tracker/Tests/TrackerTest.php
+++ b/core/modules/tracker/lib/Drupal/tracker/Tests/TrackerTest.php
@@ -71,14 +71,14 @@ function testTrackerAll() {
     ));
 
     $this->drupalGet('tracker');
-    $this->assertNoText($unpublished->label(), 'Unpublished node do not show up in the tracker listing.');
-    $this->assertText($published->label(), 'Published node show up in the tracker listing.');
+    $this->assertNoText($unpublished->label(), 'Unpublished node does not show up in the tracker listing.');
+    $this->assertText($published->label(), 'Published node shows up in the tracker listing.');
     $this->assertLink(t('My recent content'), 0, 'User tab shows up on the global tracker page.');
 
     // Delete a node and ensure it no longer appears on the tracker.
     $published->delete();
     $this->drupalGet('tracker');
-    $this->assertNoText($published->label(), 'Deleted node do not show up in the tracker listing.');
+    $this->assertNoText($published->label(), 'Deleted node does not show up in the tracker listing.');
   }
 
   /**
@@ -114,9 +114,9 @@ function testTrackerUser() {
     $this->drupalPostForm('comment/reply/node/' . $other_published_my_comment->id() . '/comment', $comment, t('Save'));
 
     $this->drupalGet('user/' . $this->user->id() . '/track');
-    $this->assertNoText($unpublished->label(), "Unpublished nodes do not show up in the users's tracker listing.");
+    $this->assertNoText($unpublished->label(), "Unpublished nodes do not show up in the user's tracker listing.");
     $this->assertText($my_published->label(), "Published nodes show up in the user's tracker listing.");
-    $this->assertNoText($other_published_no_comment->label(), "Other user's nodes do not show up in the user's tracker listing.");
+    $this->assertNoText($other_published_no_comment->label(), "Another user's nodes do not show up in the user's tracker listing.");
     $this->assertText($other_published_my_comment->label(), "Nodes that the user has commented on appear in the user's tracker listing.");
 
     // Verify that unpublished comments are removed from the tracker.
@@ -260,7 +260,7 @@ function testTrackerCronIndexing() {
     foreach ($nodes as $i => $node) {
       $this->assertText($node->label(), format_string('Node @i is displayed on the tracker listing pages.', array('@i' => $i)));
     }
-    $this->assertText('1 new', 'New comment is counted on the tracker listing pages.');
+    $this->assertText('1 new', 'One new comment is counted on the tracker listing pages.');
     $this->assertText('updated', 'Node is listed as updated');
 
     // Fetch the site-wide tracker.
@@ -287,7 +287,7 @@ function testTrackerAdminUnpublish() {
 
     // Assert that the node is displayed.
     $this->drupalGet('tracker');
-    $this->assertText($node->label(), 'Node is displayed on the tracker listing pages.');
+    $this->assertText($node->label(), 'A node is displayed on the tracker listing pages.');
 
     // Unpublish the node and ensure that it's no longer displayed.
     $edit = array(
@@ -297,6 +297,6 @@ function testTrackerAdminUnpublish() {
     $this->drupalPostForm('admin/content', $edit, t('Apply'));
 
     $this->drupalGet('tracker');
-    $this->assertText(t('No content available.'), 'Node is displayed on the tracker listing pages.');
+    $this->assertText(t('No content available.'), 'A node is displayed on the tracker listing pages.');
   }
 }
-- 
1.7.7.msysgit.1

