diff --git a/core/modules/system/lib/Drupal/system/Tests/System/DateTimeTest.php b/core/modules/system/lib/Drupal/system/Tests/System/DateTimeTest.php index dd462d5c438bb3e1cc1390337066e6ee693a552c..c86758156ed7a5942b30af28447156fd21e79af6 100644 --- a/core/modules/system/lib/Drupal/system/Tests/System/DateTimeTest.php +++ b/core/modules/system/lib/Drupal/system/Tests/System/DateTimeTest.php @@ -94,11 +94,11 @@ function testDateFormatConfiguration() { $this->assertEqual($this->getUrl(), url('admin/config/regional/date-time/formats', array('absolute' => TRUE)), 'Correct page redirection.'); $this->assertText(t('Custom date format updated.'), 'Date format added confirmation message appears.'); $this->assertText($date_format_id, 'Custom date format appears in the date format list.'); - $this->assertText(t('delete'), 'Delete link for custom date format appears.'); + $this->assertText(t('Delete'), 'Delete link for custom date format appears.'); // Edit custom date format. $this->drupalGet('admin/config/regional/date-time/formats'); - $this->clickLink(t('edit')); + $this->clickLink(t('Edit')); $edit = array( 'date_format_pattern' => 'Y m', ); @@ -107,7 +107,7 @@ function testDateFormatConfiguration() { $this->assertText(t('Custom date format updated.'), 'Custom date format successfully updated.'); // Delete custom date format. - $this->clickLink(t('delete')); + $this->clickLink(t('Delete')); $this->drupalPost('admin/config/regional/date-time/formats/' . $date_format_id . '/delete', array(), t('Remove')); $this->assertEqual($this->getUrl(), url('admin/config/regional/date-time/formats', array('absolute' => TRUE)), 'Correct page redirection.'); $this->assertText(t('Removed date format ' . $name), 'Custom date format removed.'); diff --git a/core/modules/system/system.admin.inc b/core/modules/system/system.admin.inc index 1b7b8753b6f836ced7b3dc1caa352cfd07963770..f66fd2e4dbb7178019274b216f52456647e385ca 100644 --- a/core/modules/system/system.admin.inc +++ b/core/modules/system/system.admin.inc @@ -2618,11 +2618,11 @@ function system_date_time_formats() { // Prepare Operational links. $links = array(); $links['edit'] = array( - 'title' => t('edit'), + 'title' => t('Edit'), 'href' => 'admin/config/regional/date-time/formats/' . $date_format_id . '/edit', ); $links['delete'] = array( - 'title' => t('delete'), + 'title' => t('Delete'), 'href' => 'admin/config/regional/date-time/formats/' . $date_format_id . '/delete', ); $row['operations'] = array('data' => array( @@ -2794,11 +2794,11 @@ function system_date_format_language_overview_page() { $row[] = $language->name; $links = array(); $links['edit'] = array( - 'title' => t('edit'), + 'title' => t('Edit'), 'href' => "admin/config/regional/date-time/locale/$langcode/edit", ); $links['reset'] = array( - 'title' => t('reset'), + 'title' => t('Reset'), 'href' => "admin/config/regional/date-time/locale/$langcode/reset", ); $row[] = array(