Commit 75f6c2f4 authored by alexpott's avatar alexpott

Issue #2501895 by ifrik, jhodgdon: Too many pages with the same name ("Settings")

parent f52b0680
......@@ -31,7 +31,12 @@ 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 administration 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">Feed aggregator 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 .= '<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 .= '<dt>' . t('<abbr title="Outline Processor Markup Language">OPML</abbr> integration') . '</dt>';
// Check if the aggregator opml View is enabled.
if ($url = $path_validator->getUrlIfValid('aggregator/opml')) {
......
......@@ -10,7 +10,7 @@ aggregator.admin_settings:
path: '/admin/config/services/aggregator/settings'
defaults:
_form: '\Drupal\aggregator\Form\SettingsForm'
_title: 'Settings'
_title: 'Feed aggregator settings'
requirements:
_permission: 'administer news feeds'
......
......@@ -153,11 +153,11 @@ function locale_help($route_name, RouteMatchInterface $route_match) {
$output .= '<h3>' . t('Uses') . '</h3>';
$output .= '<dl>';
$output .= '<dt>' . t('Importing translation files') . '</dt>';
$output .= '<dd>' . t('Translation files with translated interface text are imported automatically when languages are added on the <a href="!languages">Languages</a> page, or when modules or themes are enabled. On the <a href="!locale-settings">Settings</a> page, the <em>Translation source</em> can be restricted to local files only, or to include the <a href="!server">Drupal translation server</a>. Although modules and themes may not be fully translated in all languages, new translations become available frequently. You can specify whether and how often to check for translation file updates and whether to overwrite existing translations on the <a href="!locale-settings">Settings</a> page. You can also manually import a translation file on the <a title="User interface translation import" href="!import">Import</a> page.', array('!import' => \Drupal::url('locale.translate_import'), '!locale-settings' => \Drupal::url('locale.settings'), '!languages' => \Drupal::url('entity.configurable_language.collection'), '!server' => 'https://localize.drupal.org')) . '</dd>';
$output .= '<dd>' . t('Translation files with translated interface text are imported automatically when languages are added on the <a href="!languages">Languages</a> page, or when modules or themes are enabled. On the <a href="!locale-settings">Interface translation settings</a> page, the <em>Translation source</em> can be restricted to local files only, or to include the <a href="!server">Drupal translation server</a>. Although modules and themes may not be fully translated in all languages, new translations become available frequently. You can specify whether and how often to check for translation file updates and whether to overwrite existing translations on the <a href="!locale-settings">Interface translation settings</a> page. You can also manually import a translation file on the <a href="!import">Interface translation import</a> page.', array('!import' => \Drupal::url('locale.translate_import'), '!locale-settings' => \Drupal::url('locale.settings'), '!languages' => \Drupal::url('entity.configurable_language.collection'), '!server' => 'https://localize.drupal.org')) . '</dd>';
$output .= '<dt>' . t('Checking the translation status') . '</dt>';
$output .= '<dd>' . t('You can check how much of the interface on your site is translated into which language on the <a href="!languages">Languages</a> page. On the <a href="!translation-updates">Available translation updates</a> page, you can check whether interface translation updates are available on the <a href="!server">Drupal translation server</a>.', array('!languages' => \Drupal::url('entity.configurable_language.collection'), '!translation-updates' => \Drupal::url('locale.translate_status'), '!server' => 'https://localize.drupal.org')) . '<dd>';
$output .= '<dt>' . t('Translating individual strings') . '</dt>';
$output .= '<dd>' . t('You can translate individual strings directly on the <a href="!translate">User interface translation</a> page, or download the currently-used translation file for a specific language on the <a title="User interface translation export" href="!export">Export</a> page. Once you have edited the translation file, you can then import it again on the <a title="User interface translation import" href="!import">Import</a> page.', array('!translate' => \Drupal::url('locale.translate_page'), '!export' => \Drupal::url('locale.translate_export'), '!import' => \Drupal::url('locale.translate_import'))) . '</dd>';
$output .= '<dd>' . t('You can translate individual strings directly on the <a href="!translate">User interface translation</a> page, or download the currently-used translation file for a specific language on the <a href="!export">Interface translation export</a> page. Once you have edited the translation file, you can then import it again on the <a href="!import">Interface translation import</a> page.', array('!translate' => \Drupal::url('locale.translate_page'), '!export' => \Drupal::url('locale.translate_export'), '!import' => \Drupal::url('locale.translate_import'))) . '</dd>';
$output .= '</dl>';
return $output;
......
......@@ -2,7 +2,7 @@ locale.settings:
path: '/admin/config/regional/translate/settings'
defaults:
_form: 'Drupal\locale\Form\LocaleSettingsForm'
_title: 'Settings'
_title: 'Interface translation settings'
requirements:
_permission: 'translate interface'
......@@ -25,7 +25,7 @@ locale.translate_import:
path: '/admin/config/regional/translate/import'
defaults:
_form: '\Drupal\locale\Form\ImportForm'
_title: 'Import'
_title: 'Interface translation import'
requirements:
_permission: 'translate interface'
......@@ -33,7 +33,7 @@ locale.translate_export:
path: '/admin/config/regional/translate/export'
defaults:
_form: '\Drupal\locale\Form\ExportForm'
_title: 'Export'
_title: 'Interface translation export'
requirements:
_permission: 'translate interface'
......
......@@ -2,7 +2,7 @@ simpletest.settings:
path: '/admin/config/development/testing/settings'
defaults:
_form: 'Drupal\simpletest\Form\SimpletestSettingsForm'
_title: 'Settings'
_title: 'Test settings'
requirements:
_permission: 'administer unit tests'
......
......@@ -363,7 +363,7 @@ system.theme_settings:
path: '/admin/appearance/settings'
defaults:
_form: '\Drupal\system\Form\ThemeSettingsForm'
_title: 'Settings'
_title: 'Appearance settings'
requirements:
_permission: 'administer themes'
......
......@@ -2,7 +2,7 @@ update.settings:
path: '/admin/reports/updates/settings'
defaults:
_form: '\Drupal\update\UpdateSettingsForm'
_title: 'Settings'
_title: 'Update Manager settings'
requirements:
_permission: 'administer site configuration'
......
......@@ -18,7 +18,7 @@ views_ui.settings_basic:
path: '/admin/structure/views/settings'
defaults:
_form: '\Drupal\views_ui\Form\BasicSettingsForm'
_title: 'Settings'
_title: 'Views settings'
requirements:
_permission: 'administer views'
......@@ -26,7 +26,7 @@ views_ui.settings_advanced:
path: '/admin/structure/views/settings/advanced'
defaults:
_form: '\Drupal\views_ui\Form\AdvancedSettingsForm'
_title: 'Advanced'
_title: 'Advanced Views settings'
requirements:
_permission: 'administer views'
......
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