diff --git a/core/modules/locale/lib/Drupal/locale/Controller/LocaleController.php b/core/modules/locale/lib/Drupal/locale/Controller/LocaleController.php index 252d791..7fe3baf 100644 --- a/core/modules/locale/lib/Drupal/locale/Controller/LocaleController.php +++ b/core/modules/locale/lib/Drupal/locale/Controller/LocaleController.php @@ -6,10 +6,10 @@ namespace Drupal\locale\Controller; -use Drupal\Core\ControllerInterface; +use Drupal\Core\Controller\ControllerInterface; use Drupal\Core\Extension\ModuleHandlerInterface; use Symfony\Component\DependencyInjection\ContainerInterface; - +use Symfony\Component\HttpFoundation\RedirectResponse; /** * Return response for manual check translations. */ diff --git a/core/modules/locale/locale.module b/core/modules/locale/locale.module index 932b2a1..5a0e6d7 100644 --- a/core/modules/locale/locale.module +++ b/core/modules/locale/locale.module @@ -215,6 +215,11 @@ function locale_menu() { 'access arguments' => array('translate interface'), 'file' => 'locale.pages.inc', ); + $items['admin/reports/translations/check'] = array( + 'title' => 'Manual translation update check', + 'type' => MENU_CALLBACK, + 'route_name' => 'locale_check_translation', + ); return $items; }