diff --git a/core/includes/install.inc b/core/includes/install.inc index a7cf979..2e05721 100644 --- a/core/includes/install.inc +++ b/core/includes/install.inc @@ -1187,7 +1187,7 @@ function _install_module_batch($module, $module_name, &$context) { } catch (UnmetDependenciesException $e) { drupal_set_message( - $e->getTranslatedMessage(\Drupal::translation(), $module), + $e->getTranslatedMessage(\Drupal::translation(), $module_name), 'error' ); return; diff --git a/core/modules/system/src/Form/ModulesListConfirmForm.php b/core/modules/system/src/Form/ModulesListConfirmForm.php index 8ddfd2d..167c69e 100644 --- a/core/modules/system/src/Form/ModulesListConfirmForm.php +++ b/core/modules/system/src/Form/ModulesListConfirmForm.php @@ -155,7 +155,7 @@ public function submitForm(array &$form, FormStateInterface $form_state) { // Set the batch. $batch = array( 'operations' => $operations, - 'title' => t('Preparing installation.'), + 'title' => t('Installing modules.'), 'error_message' => t('The installation has encountered an error.'), 'finished' => '_install_modules_batch_finished', 'file' => 'core/includes/install.inc', diff --git a/core/modules/system/src/Form/ModulesListForm.php b/core/modules/system/src/Form/ModulesListForm.php index 3f77aa7..9d58f05 100644 --- a/core/modules/system/src/Form/ModulesListForm.php +++ b/core/modules/system/src/Form/ModulesListForm.php @@ -520,7 +520,7 @@ public function submitForm(array &$form, FormStateInterface $form_state) { // Set the batch. $batch = array( 'operations' => $operations, - 'title' => t('Preparing installation.'), + 'title' => t('Installing modules.'), 'error_message' => t('The installation has encountered an error.'), 'finished' => '_install_modules_batch_finished', 'file' => 'core/includes/install.inc',