diff --git a/core/includes/bootstrap.inc b/core/includes/bootstrap.inc index 0f385d609b16240451d5b005cb54786abc4c0d25..51f4446868e5821ae74fdb78c773fdf41a50c75e 100644 --- a/core/includes/bootstrap.inc +++ b/core/includes/bootstrap.inc @@ -2429,8 +2429,8 @@ function language_list($flags = Language::STATE_CONFIGURABLE) { } Language::sort($languages); } - // If the language module is enable but the configuration has not been - // written yet the returning an empty language list will cause errors. For + // If the language module is enabled but the configuration has not been + // written yet, returning an empty language list will cause errors. For // example the cache clear in search_module_preinstall(). if (empty($languages)) { // No language module, so use the default language only. diff --git a/core/modules/language/lib/Drupal/language/Tests/LanguageListModuleInstallTest.php b/core/modules/language/lib/Drupal/language/Tests/LanguageListModuleInstallTest.php index 89e5c07df70ab5b9c9380d0f17604ec524b2fc9d..d4192b6221facb5d7f2c73d4baedd8be244ff1cd 100644 --- a/core/modules/language/lib/Drupal/language/Tests/LanguageListModuleInstallTest.php +++ b/core/modules/language/lib/Drupal/language/Tests/LanguageListModuleInstallTest.php @@ -33,8 +33,8 @@ public static function getInfo() { * Tests enabling Language. */ function testModuleInstallLanguageList() { - // Since language_list uses static caches we need to do this be enabling - // the module using a the UI. + // Since language_list uses static caches we need to do this by enabling + // the module using the UI. $admin_user = $this->drupalCreateUser(array('access administration pages', 'administer modules')); $this->drupalLogin($admin_user); $edit = array();