Commit df92f7b4 authored by catch's avatar catch
Browse files

Issue #1784784 by beltofte: Standardize capitalization on actions, in...

Issue #1784784 by beltofte: Standardize capitalization on actions, in aggregator: 'update items', 'remove items'.
parent 8afbc081
......@@ -42,15 +42,15 @@ function aggregator_view() {
$row[] = ($feed->checked && $feed->refresh ? t('%time left', array('%time' => format_interval($feed->checked + $feed->refresh - REQUEST_TIME))) : t('never'));
$links = array();
$links['edit'] = array(
'title' => t('edit'),
'title' => t('Edit'),
'href' => "admin/config/services/aggregator/edit/feed/$feed->fid",
);
$links['remove'] = array(
'title' => t('remove items'),
'title' => t('Remove items'),
'href' => "admin/config/services/aggregator/remove/$feed->fid",
);
$links['update'] = array(
'title' => t('update items'),
'title' => t('Update items'),
'href' => "admin/config/services/aggregator/update/$feed->fid",
'query' => array('token' => drupal_get_token("aggregator/update/$feed->fid")),
);
......@@ -76,7 +76,7 @@ function aggregator_view() {
$row[] = format_plural($category->items, '1 item', '@count items');
$links = array();
$links['edit'] = array(
'title' => t('edit'),
'title' => t('Edit'),
'href' => "admin/config/services/aggregator/edit/category/$category->cid",
);
$row[] = array(
......
......@@ -162,7 +162,7 @@ function updateFeedItems(Feed $feed, $expected_count) {
// Refresh the feed (simulated link click).
$this->drupalGet('admin/config/services/aggregator');
$this->clickLink('update items');
$this->clickLink('Update items');
// Ensure we have the right number of items.
$result = db_query('SELECT iid FROM {aggregator_item} WHERE fid = :fid', array(':fid' => $feed->id()));
......
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