commit 29192d6592b4cd9021b1d69ba9ed92ee72a26fdf Author: Pancho Date: Sat May 18 18:17:10 2013 +0200 1978918-3 diff --git a/core/modules/locale/lib/Drupal/locale/Form/ImportForm.php b/core/modules/locale/lib/Drupal/locale/Form/ImportForm.php index c896fcf..4207110 100644 --- a/core/modules/locale/lib/Drupal/locale/Form/ImportForm.php +++ b/core/modules/locale/lib/Drupal/locale/Form/ImportForm.php @@ -42,8 +42,6 @@ class ImportForm implements FormInterface { * @return * A form array representing the currently disabled modules. * - * @see locale_translate_import_form_submit() - * * @ingroup forms */ public function buildForm(array $form, array &$form_state) { diff --git a/core/modules/locale/lib/Drupal/locale/Tests/LocaleImportFunctionalTest.php b/core/modules/locale/lib/Drupal/locale/Tests/LocaleImportFunctionalTest.php index 0392c0f..c3d700d 100644 --- a/core/modules/locale/lib/Drupal/locale/Tests/LocaleImportFunctionalTest.php +++ b/core/modules/locale/lib/Drupal/locale/Tests/LocaleImportFunctionalTest.php @@ -55,7 +55,7 @@ function testStandalonePoFile() { )); $config = config('locale.settings'); // The import should automatically create the corresponding language. - $this->assertRaw(t('The language %language has been created.', array('%language' => 'French')), t('The language has been automatically created.')); + $this->assertRaw(t('The language %language has been created and can now be used.', array('%language' => 'French')), t('The language has been automatically created.')); // The import should have created 8 strings. $this->assertRaw(t('One translation file imported. %number translations were added, %update translations were updated and %delete translations were removed.', array('%number' => 8, '%update' => 0, '%delete' => 0)), t('The translation file was successfully imported.')); diff --git a/core/modules/locale/locale.bulk.inc b/core/modules/locale/locale.bulk.inc index f75e9ad..e13db00 100644 --- a/core/modules/locale/locale.bulk.inc +++ b/core/modules/locale/locale.bulk.inc @@ -8,8 +8,6 @@ use Drupal\Component\Gettext\PoStreamWriter; use Drupal\locale\Gettext; use Drupal\locale\PoDatabaseReader; -use Drupal\Core\Language\Language; - /** * Form constructor for the Gettext translation files export form.