Commit f3b78fbf authored by Dries's avatar Dries
Browse files

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

parent 0483bec2
......@@ -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();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment