Skip to content
Snippets Groups Projects
Commit f3b78fbf authored by Dries Buytaert's avatar Dries Buytaert
Browse files

Issue #2171015 by webchick: fixed some language/documentation issues.

parent 0483bec2
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -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.
......
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment