diff --git a/core/modules/statistics/statistics.module b/core/modules/statistics/statistics.module index eda808faaac6fd7cb6f1d59b8b2f8002d2aa31bc..969a4f4f82d5b4cd02d4afdd585a0b444652d810 100644 --- a/core/modules/statistics/statistics.module +++ b/core/modules/statistics/statistics.module @@ -119,7 +119,7 @@ function statistics_node_view($node, $view_mode) { if (user_access('view post access counter')) { $statistics = statistics_get($node->nid); if ($statistics) { - $links['statistics_counter']['title'] = format_plural($statistics['totalcount'], '1 read', '@count reads'); + $links['statistics_counter']['title'] = format_plural($statistics['totalcount'], '1 view', '@count views'); $node->content['links']['statistics'] = array( '#theme' => 'links__node__statistics', '#links' => $links, diff --git a/core/modules/statistics/statistics.test b/core/modules/statistics/statistics.test index 125ae6e94efb9f1d36ae03820807186cf9506406..e3ae35c1ecbf49041c2aee0876edeb9ba23790ce 100644 --- a/core/modules/statistics/statistics.test +++ b/core/modules/statistics/statistics.test @@ -327,12 +327,12 @@ class StatisticsAdminTestCase extends DrupalWebTestCase { $this->assertText('node/1', t('Test node found.')); // Hit the node again (the counter is incremented after the hit, so - // "1 read" will actually be shown when the node is hit the second time). + // "1 view" will actually be shown when the node is hit the second time). $this->drupalGet('node/' . $this->test_node->nid); - $this->assertText('1 read', t('Node is read once.')); + $this->assertText('1 view', t('Node is viewed once.')); $this->drupalGet('node/' . $this->test_node->nid); - $this->assertText('2 reads', t('Node is read 2 times.')); + $this->assertText('2 views', t('Node is viewed 2 times.')); } /** @@ -398,7 +398,7 @@ class StatisticsAdminTestCase extends DrupalWebTestCase { $this->drupalGet('node/' . $this->test_node->nid); $this->drupalGet('node/' . $this->test_node->nid); - $this->assertText('1 read', t('Node is read once.')); + $this->assertText('1 view', t('Node is viewed once.')); $this->drupalGet('admin/reports/pages'); $this->assertText('node/' . $this->test_node->nid, t('Hit URL found.'));