diff --git a/core/modules/locale/lib/Drupal/locale/Form/LocaleForm.php b/core/modules/locale/lib/Drupal/locale/Form/LocaleForm.php index a5528ac..280f1b0 100644 --- a/core/modules/locale/lib/Drupal/locale/Form/LocaleForm.php +++ b/core/modules/locale/lib/Drupal/locale/Form/LocaleForm.php @@ -21,14 +21,4 @@ public function status() { return \Drupal::formBuilder()->getForm('locale_translation_status_form'); } - /** - * Wraps locale_translate_export_form(). - * - * @todo Remove locale_translate_export_form(). - */ - public function export() { - module_load_include('bulk.inc', 'locale'); - return drupal_get_form('locale_translate_export_form'); - } - } diff --git a/core/modules/locale/lib/Drupal/locale/Tests/LocaleUpdateTest.php b/core/modules/locale/lib/Drupal/locale/Tests/LocaleUpdateTest.php index 268f72f..888d28b 100644 --- a/core/modules/locale/lib/Drupal/locale/Tests/LocaleUpdateTest.php +++ b/core/modules/locale/lib/Drupal/locale/Tests/LocaleUpdateTest.php @@ -75,6 +75,10 @@ function testUpdateProjects() { * for local files only, check for both local and remote files. */ function testUpdateCheckStatus() { + // Case when contributed modules are absent. + $this->drupalGet('admin/reports/translations'); + $this->assertText(t('Missing translations for one project')); + $config = \Drupal::config('locale.settings'); // Set a flag to let the locale_test module replace the project data with a // set of test projects.