Issue #202783 by evgeny.chernyavskiy, jrdixey, YesCT, subhojit777, adinac, jeet09, gaurav_varshney, alansaviolobo, Devin Carlson, chetan2111, beanworks, phantomvish: Use a consistent name for the aggregator module throughout core

8.3.x
Nathaniel Catchpole 2016-08-29 21:13:48 +01:00
parent 89df46f5d2
commit a396f17185
7 changed files with 18 additions and 18 deletions

View File

@ -1,11 +1,11 @@
aggregator.admin_overview:
title: 'Feed aggregator'
title: 'Aggregator'
description: 'Add feeds or import OPMLs to gather external content and configure how often they are updated.'
route_name: aggregator.admin_overview
parent: system.admin_config_services
weight: 10
aggregator.page_last:
title: 'Feed aggregator'
title: 'Aggregator'
weight: 5
route_name: aggregator.page_last
aggregator.feed_add:

View File

@ -31,11 +31,11 @@ function aggregator_help($route_name, RouteMatchInterface $route_match) {
$output .= '<dd>' . t('Users view feed content in the <a href=":aggregator">main aggregator display</a>, or by <a href=":aggregator-sources">their source</a> (usually via an RSS feed reader). The most recent content in a feed can be displayed as a block through the <a href=":admin-block">Blocks administration page</a>.', array(':aggregator' => \Drupal::url('aggregator.page_last'), ':aggregator-sources' => $url->toString(), ':admin-block' => (\Drupal::moduleHandler()->moduleExists('block')) ? \Drupal::url('block.admin_display') : '#')) . '</dd>';
}
$output .= '<dt>' . t('Adding, editing, and deleting feeds') . '</dt>';
$output .= '<dd>' . t('Administrators can add, edit, and delete feeds, and choose how often to check each feed for newly updated items on the <a href=":feededit">Feed aggregator page</a>.', array(':feededit' => \Drupal::url('aggregator.admin_overview'))) . '</dd>';
$output .= '<dd>' . t('Administrators can add, edit, and delete feeds, and choose how often to check each feed for newly updated items on the <a href=":feededit">Aggregator administration page</a>.', array(':feededit' => \Drupal::url('aggregator.admin_overview'))) . '</dd>';
$output .= '<dt>' . t('Configuring the display of feed items') . '</dt>';
$output .= '<dd>' . t('Administrators can choose how many items are displayed in the listing pages, which HTML tags are allowed in the content of feed items, and whether they should be trimmed to a maximum number of characters on the <a href=":settings">Feed aggregator settings page</a>.', array(':settings' => \Drupal::url('aggregator.admin_settings'))) . '</dd>';
$output .= '<dd>' . t('Administrators can choose how many items are displayed in the listing pages, which HTML tags are allowed in the content of feed items, and whether they should be trimmed to a maximum number of characters on the <a href=":settings">Aggregator settings page</a>.', array(':settings' => \Drupal::url('aggregator.admin_settings'))) . '</dd>';
$output .= '<dt>' . t('Discarding old feed items') . '</dt>';
$output .= '<dd>' . t('Administrators can choose whether to discard feed items that are older than a specified period of time on the <a href=":settings">Feed aggregator settings page</a>. This requires a correctly configured cron maintenance task (see below).', array(':settings' => \Drupal::url('aggregator.admin_settings'))) . '<dd>';
$output .= '<dd>' . t('Administrators can choose whether to discard feed items that are older than a specified period of time on the <a href=":settings">Aggregator settings page</a>. This requires a correctly configured cron maintenance task (see below).', array(':settings' => \Drupal::url('aggregator.admin_settings'))) . '<dd>';
$output .= '<dt>' . t('<abbr title="Outline Processor Markup Language">OPML</abbr> integration') . '</dt>';
// Check if the aggregator opml View is enabled.

View File

@ -2,7 +2,7 @@ aggregator.admin_overview:
path: '/admin/config/services/aggregator'
defaults:
_controller: '\Drupal\aggregator\Controller\AggregatorController::adminOverview'
_title: 'Feed aggregator'
_title: 'Aggregator'
requirements:
_permission: 'administer news feeds'
@ -10,7 +10,7 @@ aggregator.admin_settings:
path: '/admin/config/services/aggregator/settings'
defaults:
_form: '\Drupal\aggregator\Form\SettingsForm'
_title: 'Feed aggregator settings'
_title: 'Aggregator settings'
requirements:
_permission: 'administer news feeds'
@ -53,6 +53,6 @@ aggregator.page_last:
path: '/aggregator'
defaults:
_controller: '\Drupal\aggregator\Controller\AggregatorController::pageLast'
_title: 'Feed aggregator'
_title: 'Aggregator'
requirements:
_permission: 'access news feeds'

View File

@ -14,7 +14,7 @@ class AggregatorAdminTest extends AggregatorTestBase {
*/
public function testSettingsPage() {
$this->drupalGet('admin/config');
$this->clickLink('Feed aggregator');
$this->clickLink('Aggregator');
$this->clickLink('Settings');
// Make sure that test plugins are present.
$this->assertText('Test fetcher');

View File

@ -3,7 +3,7 @@
namespace Drupal\aggregator\Tests;
/**
* Tests the display of a feed on the feed aggregator list page.
* Tests the display of a feed on the Aggregator list page.
*
* @group aggregator
*/

View File

@ -30975,7 +30975,7 @@ $connection->insert('menu_links')
'plid' => '0',
'link_path' => 'aggregator',
'router_path' => 'aggregator',
'link_title' => 'Feed aggregator',
'link_title' => 'Aggregator',
'options' => 'a:0:{}',
'module' => 'system',
'hidden' => '0',
@ -31164,7 +31164,7 @@ $connection->insert('menu_links')
'plid' => '157',
'link_path' => 'admin/content/aggregator',
'router_path' => 'admin/content/aggregator',
'link_title' => 'Feed aggregator',
'link_title' => 'Aggregator',
'options' => "a:1:{s:10:\"attributes\";a:1:{s:5:\"title\";s:116:\"Configure which content your site aggregates from other sites, how often it polls them, and how they're categorized.\";}}",
'module' => 'system',
'hidden' => '0',
@ -34130,7 +34130,7 @@ $connection->insert('menu_router')
'number_parts' => '3',
'tab_parent' => '',
'tab_root' => 'admin/content/aggregator',
'title' => 'Feed aggregator',
'title' => 'Aggregator',
'title_callback' => 't',
'title_arguments' => '',
'type' => '6',
@ -39256,7 +39256,7 @@ $connection->insert('menu_router')
'number_parts' => '1',
'tab_parent' => '',
'tab_root' => 'aggregator',
'title' => 'Feed aggregator',
'title' => 'Aggregator',
'title_callback' => 't',
'title_arguments' => '',
'type' => '6',

View File

@ -16251,7 +16251,7 @@ $connection->insert('menu_links')
'plid' => '0',
'link_path' => 'aggregator',
'router_path' => 'aggregator',
'link_title' => 'Feed aggregator',
'link_title' => 'Aggregator',
'options' => 'a:0:{}',
'module' => 'system',
'hidden' => '0',
@ -17601,7 +17601,7 @@ $connection->insert('menu_links')
'plid' => '60',
'link_path' => 'admin/config/services/aggregator',
'router_path' => 'admin/config/services/aggregator',
'link_title' => 'Feed aggregator',
'link_title' => 'Aggregator',
'options' => "a:1:{s:10:\"attributes\";a:1:{s:5:\"title\";s:116:\"Configure which content your site aggregates from other sites, how often it polls them, and how they're categorized.\";}}",
'module' => 'system',
'hidden' => '0',
@ -21929,7 +21929,7 @@ $connection->insert('menu_router')
'context' => '0',
'tab_parent' => '',
'tab_root' => 'admin/config/services/aggregator',
'title' => 'Feed aggregator',
'title' => 'Aggregator',
'title_callback' => 't',
'title_arguments' => '',
'theme_callback' => '',
@ -27329,7 +27329,7 @@ $connection->insert('menu_router')
'context' => '0',
'tab_parent' => '',
'tab_root' => 'aggregator',
'title' => 'Feed aggregator',
'title' => 'Aggregator',
'title_callback' => 't',
'title_arguments' => '',
'theme_callback' => '',