Commit 00dfa022 authored by Dries's avatar Dries
Browse files

Issue #1784812 by Floydm, beltofte, joates: Standardize capitalization on...

Issue #1784812 by Floydm, beltofte, joates: Standardize capitalization on actions in language date time: 'reset'.
parent 1ce3eebe
......@@ -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.');
......
......@@ -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(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment