summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--core/lib/Drupal/Core/Block/Plugin/Block/Broken.php2
-rw-r--r--core/modules/block/tests/src/Functional/BlockUiTest.php6
-rw-r--r--core/modules/block_content/tests/src/Functional/BlockContentPageViewTest.php2
-rw-r--r--core/modules/language/language.module4
-rw-r--r--core/modules/responsive_image/src/ResponsiveImageStyleForm.php2
-rw-r--r--core/modules/system/src/Form/CronForm.php2
-rw-r--r--core/modules/system/system.admin.inc4
-rw-r--r--core/modules/system/system.install2
-rw-r--r--core/modules/system/system.links.menu.yml2
-rw-r--r--core/modules/system/tests/src/Functional/Theme/ThemeUiTest.php6
-rw-r--r--core/modules/views/src/Plugin/views/BrokenHandlerTrait.php2
-rw-r--r--core/modules/views/tests/src/Kernel/ModuleTest.php2
12 files changed, 18 insertions, 18 deletions
diff --git a/core/lib/Drupal/Core/Block/Plugin/Block/Broken.php b/core/lib/Drupal/Core/Block/Plugin/Block/Broken.php
index 2d92c161d94d..127ecaab45c9 100644
--- a/core/lib/Drupal/Core/Block/Plugin/Block/Broken.php
+++ b/core/lib/Drupal/Core/Block/Plugin/Block/Broken.php
@@ -88,7 +88,7 @@ class Broken extends PluginBase implements BlockPluginInterface, ContainerFactor
*/
protected function brokenMessage() {
$build['message'] = [
- '#markup' => $this->t('This block is broken or missing. You may be missing content or you might need to enable the original module.'),
+ '#markup' => $this->t('This block is broken or missing. You may be missing content or you might need to install the original module.'),
];
return $build;
diff --git a/core/modules/block/tests/src/Functional/BlockUiTest.php b/core/modules/block/tests/src/Functional/BlockUiTest.php
index 99f52a59d900..0c63eb881668 100644
--- a/core/modules/block/tests/src/Functional/BlockUiTest.php
+++ b/core/modules/block/tests/src/Functional/BlockUiTest.php
@@ -395,14 +395,14 @@ class BlockUiTest extends BrowserTestBase {
$this->drupalGet('');
$assert_session->statusCodeEquals(200);
// Check that this user can view the Broken Block message.
- $assert_session->pageTextContains('This block is broken or missing. You may be missing content or you might need to enable the original module.');
+ $assert_session->pageTextContains('This block is broken or missing. You may be missing content or you might need to install the original module.');
$this->drupalLogout();
// Visit the same page as anonymous.
$this->drupalGet('');
$assert_session->statusCodeEquals(200);
// Check that this user cannot view the Broken Block message.
- $assert_session->pageTextNotContains('This block is broken or missing. You may be missing content or you might need to enable the original module.');
+ $assert_session->pageTextNotContains('This block is broken or missing. You may be missing content or you might need to install the original module.');
// Visit same page as an authorized user that does not have access to
// administer blocks.
@@ -410,7 +410,7 @@ class BlockUiTest extends BrowserTestBase {
$this->drupalGet('');
$assert_session->statusCodeEquals(200);
// Check that this user cannot view the Broken Block message.
- $assert_session->pageTextNotContains('This block is broken or missing. You may be missing content or you might need to enable the original module.');
+ $assert_session->pageTextNotContains('This block is broken or missing. You may be missing content or you might need to install the original module.');
}
}
diff --git a/core/modules/block_content/tests/src/Functional/BlockContentPageViewTest.php b/core/modules/block_content/tests/src/Functional/BlockContentPageViewTest.php
index 1d253dcba114..53ba2eff6c54 100644
--- a/core/modules/block_content/tests/src/Functional/BlockContentPageViewTest.php
+++ b/core/modules/block_content/tests/src/Functional/BlockContentPageViewTest.php
@@ -34,7 +34,7 @@ class BlockContentPageViewTest extends BlockContentTestBase {
// Ensure user was able to view the block.
$this->assertSession()->statusCodeEquals(200);
$this->drupalGet('<front>');
- $this->assertSession()->pageTextContains('This block is broken or missing. You may be missing content or you might need to enable the original module.');
+ $this->assertSession()->pageTextContains('This block is broken or missing. You may be missing content or you might need to install the original module.');
}
}
diff --git a/core/modules/language/language.module b/core/modules/language/language.module
index 4ac86e680241..fc057c3ef500 100644
--- a/core/modules/language/language.module
+++ b/core/modules/language/language.module
@@ -404,7 +404,7 @@ function language_tour_tips_alter(array &$tour_tips, EntityInterface $entity) {
$additional_overview = t("This page also provides an overview of how much of the site's interface has been translated for each configured language.");
}
else {
- $additional_overview = t("If the Interface Translation module is enabled, this page will provide an overview of how much of the site's interface has been translated for each configured language.");
+ $additional_overview = t("If the Interface Translation module is installed, this page will provide an overview of how much of the site's interface has been translated for each configured language.");
}
$tour_tip->set('body', $tour_tip->get('body') . '<p>' . $additional_overview . '</p>');
}
@@ -418,7 +418,7 @@ function language_tour_tips_alter(array &$tour_tips, EntityInterface $entity) {
$additional_modules[] = Drupal::service('module_handler')->getName('content_translation');
}
if (!empty($additional_modules)) {
- $additional_continue = t('Depending on your site features, additional modules that you might want to enable are:') . '<ul>';
+ $additional_continue = t('Depending on your site features, additional modules that you might want to install are:') . '<ul>';
foreach ($additional_modules as $additional_module) {
$additional_continue .= '<li>' . $additional_module . '</li>';
}
diff --git a/core/modules/responsive_image/src/ResponsiveImageStyleForm.php b/core/modules/responsive_image/src/ResponsiveImageStyleForm.php
index a9ede9ecfe6b..a72664204a9b 100644
--- a/core/modules/responsive_image/src/ResponsiveImageStyleForm.php
+++ b/core/modules/responsive_image/src/ResponsiveImageStyleForm.php
@@ -131,7 +131,7 @@ class ResponsiveImageStyleForm extends EntityForm {
$description = $this->t('See the <a href=":responsive_image_help">Responsive Image help page</a> for information on the sizes attribute.', [':responsive_image_help' => Url::fromRoute('help.page', ['name' => 'responsive_image'])->toString()]);
}
else {
- $description = $this->t('Enable the Help module for more information on the sizes attribute.');
+ $description = $this->t('Install the Help module for more information on the sizes attribute.');
}
$form['keyed_styles'][$breakpoint_id][$multiplier]['image_mapping_type'] = [
'#title' => $this->t('Type'),
diff --git a/core/modules/system/src/Form/CronForm.php b/core/modules/system/src/Form/CronForm.php
index 4e7827d11dd0..88db943d8fd2 100644
--- a/core/modules/system/src/Form/CronForm.php
+++ b/core/modules/system/src/Form/CronForm.php
@@ -123,7 +123,7 @@ class CronForm extends FormBase {
if (!$this->moduleHandler->moduleExists('automated_cron')) {
$form['automated_cron'] = [
- '#markup' => $this->t('Enable the <em>Automated Cron</em> module to allow cron execution at the end of a server response.'),
+ '#markup' => $this->t('Install the <em>Automated Cron</em> module to allow cron execution at the end of a server response.'),
];
}
diff --git a/core/modules/system/system.admin.inc b/core/modules/system/system.admin.inc
index ce55fca7bf6b..bdadaddff9ae 100644
--- a/core/modules/system/system.admin.inc
+++ b/core/modules/system/system.admin.inc
@@ -336,11 +336,11 @@ function template_preprocess_system_themes_page(&$variables) {
}
elseif (!empty($theme->module_dependencies_disabled)) {
if (!empty($theme->insufficient_module_permissions)) {
- $current_theme['incompatible'] = t('This theme requires the listed modules to operate correctly. They must first be enabled by a user with permissions to do so.');
+ $current_theme['incompatible'] = t('This theme requires the listed modules to operate correctly. They must first be installed by a user with permissions to do so.');
}
else {
$modules_url = (string) Url::fromRoute('system.modules_list')->toString();
- $current_theme['incompatible'] = t('This theme requires the listed modules to operate correctly. They must first be enabled via the <a href=":modules_url">Extend page</a>.', [
+ $current_theme['incompatible'] = t('This theme requires the listed modules to operate correctly. They must first be installed via the <a href=":modules_url">Extend page</a>.', [
':modules_url' => $modules_url,
]);
}
diff --git a/core/modules/system/system.install b/core/modules/system/system.install
index 11e0dc12c4af..02aacbc193e2 100644
--- a/core/modules/system/system.install
+++ b/core/modules/system/system.install
@@ -1312,7 +1312,7 @@ function system_requirements($phase) {
$requirements['update status'] = [
'value' => t('Not enabled'),
'severity' => REQUIREMENT_WARNING,
- 'description' => t('Update notifications are not enabled. It is <strong>highly recommended</strong> that you enable the Update Manager module from the <a href=":module">module administration page</a> in order to stay up-to-date on new releases. For more information, <a href=":update">Update status handbook page</a>.', [
+ 'description' => t('Update notifications are not enabled. It is <strong>highly recommended</strong> that you install the Update Manager module from the <a href=":module">module administration page</a> in order to stay up-to-date on new releases. For more information, <a href=":update">Update status handbook page</a>.', [
':update' => 'https://www.drupal.org/documentation/modules/update',
':module' => Url::fromRoute('system.modules_list')->toString(),
]),
diff --git a/core/modules/system/system.links.menu.yml b/core/modules/system/system.links.menu.yml
index 04357e8d57f1..404bceeb7b36 100644
--- a/core/modules/system/system.links.menu.yml
+++ b/core/modules/system/system.links.menu.yml
@@ -23,7 +23,7 @@ system.themes_page:
weight: -6
system.modules_list:
title: Extend
- description: 'Add and enable modules to extend site functionality.'
+ description: 'Add and install modules to extend site functionality.'
parent: system.admin
route_name: system.modules_list
weight: -2
diff --git a/core/modules/system/tests/src/Functional/Theme/ThemeUiTest.php b/core/modules/system/tests/src/Functional/Theme/ThemeUiTest.php
index ee7f08110853..741487b9653b 100644
--- a/core/modules/system/tests/src/Functional/Theme/ThemeUiTest.php
+++ b/core/modules/system/tests/src/Functional/Theme/ThemeUiTest.php
@@ -54,7 +54,7 @@ class ThemeUiTest extends BrowserTestBase {
// The links to install a theme that would enable modules should be replaced
// by this message.
- $this->assertSession()->pageTextContains('This theme requires the listed modules to operate correctly. They must first be enabled by a user with permissions to do so.');
+ $this->assertSession()->pageTextContains('This theme requires the listed modules to operate correctly. They must first be installed by a user with permissions to do so.');
// The install page should not be reachable.
$this->drupalGet('admin/appearance/install?theme=test_theme_depending_on_modules');
@@ -65,7 +65,7 @@ class ThemeUiTest extends BrowserTestBase {
'administer modules',
]));
$this->drupalGet('admin/appearance');
- $this->assertSession()->pageTextNotContains('This theme requires the listed modules to operate correctly. They must first be enabled by a user with permissions to do so.');
+ $this->assertSession()->pageTextNotContains('This theme requires the listed modules to operate correctly. They must first be installed by a user with permissions to do so.');
}
/**
@@ -300,7 +300,7 @@ class ThemeUiTest extends BrowserTestBase {
}
$incompatible = $theme_container->find('css', '.incompatible');
- $expected_incompatible_text = 'This theme requires the listed modules to operate correctly. They must first be enabled via the Extend page.';
+ $expected_incompatible_text = 'This theme requires the listed modules to operate correctly. They must first be installed via the Extend page.';
$this->assertSame($expected_incompatible_text, $incompatible->getText());
$this->assertFalse($theme_container->hasLink('Install Test Theme Depending on Modules theme'));
}
diff --git a/core/modules/views/src/Plugin/views/BrokenHandlerTrait.php b/core/modules/views/src/Plugin/views/BrokenHandlerTrait.php
index 2b0d2d12b84e..e2dc729ad3fd 100644
--- a/core/modules/views/src/Plugin/views/BrokenHandlerTrait.php
+++ b/core/modules/views/src/Plugin/views/BrokenHandlerTrait.php
@@ -58,7 +58,7 @@ trait BrokenHandlerTrait {
}
}
- $description_bottom = $this->t('Enabling the appropriate module may solve this issue. Otherwise, check to see if there is a module update available.');
+ $description_bottom = $this->t('Installing the appropriate module may solve this issue. Otherwise, check to see if there is a module update available.');
$form['description'] = [
'#type' => 'container',
diff --git a/core/modules/views/tests/src/Kernel/ModuleTest.php b/core/modules/views/tests/src/Kernel/ModuleTest.php
index b47c57eda308..a9b8969cfad5 100644
--- a/core/modules/views/tests/src/Kernel/ModuleTest.php
+++ b/core/modules/views/tests/src/Kernel/ModuleTest.php
@@ -65,7 +65,7 @@ class ModuleTest extends ViewsKernelTestBase {
];
$form_state = new FormState();
$description_top = '<p>The handler for this item is broken or missing. The following details are available:</p>';
- $description_bottom = '<p>Enabling the appropriate module may solve this issue. Otherwise, check to see if there is a module update available.</p>';
+ $description_bottom = '<p>Installing the appropriate module may solve this issue. Otherwise, check to see if there is a module update available.</p>';
foreach ($types as $type => $class) {
foreach ($items as $item) {
$handler = $this->container->get('plugin.manager.views.' . $type)