diff -u b/core/modules/locale/lib/Drupal/locale/Form/TranslationStatusForm.php b/core/modules/locale/lib/Drupal/locale/Form/TranslationStatusForm.php --- b/core/modules/locale/lib/Drupal/locale/Form/TranslationStatusForm.php +++ b/core/modules/locale/lib/Drupal/locale/Form/TranslationStatusForm.php @@ -9,7 +9,7 @@ use Drupal\Core\Form\FormBase; use Drupal\Core\Extension\ModuleHandlerInterface; -use Drupal\Core\KeyValueStore\KeyValueStoreInterface; +use Drupal\Core\KeyValueStore\StateInterface; use Drupal\Component\Utility\String; use Symfony\Component\DependencyInjection\ContainerInterface; @@ -49,7 +49,7 @@ * @param \Drupal\Core\KeyValueStore\KeyValueStoreInterface $state * The state key/value store interface, gives access to state based config settings. */ - public function __construct(ModuleHandlerInterface $module_handler, KeyValueStoreInterface $state) { + public function __construct(ModuleHandlerInterface $module_handler,StateInterface $state) { $this->moduleHandler = $module_handler; $this->state = $state; } @@ -163,7 +163,7 @@ '#after_build' => array('locale_translation_language_table'), ); - $form['#attached']['library'][] = array('locale', 'drupal.locale.admin'); + $form['#attached']['library'][] = 'locale/drupal.locale.admin'; $form['#attached']['css'] = array(drupal_get_path('module', 'locale') . '/css/locale.admin.css'); $form['actions'] = array('#type' => 'actions');