diff --git a/core/includes/language.inc b/core/includes/language.inc index 9bba380..f1def05 100644 --- a/core/includes/language.inc +++ b/core/includes/language.inc @@ -222,13 +222,13 @@ function language_types_set(array $configurable) { $negotiation_info = language_negotiation_info(); foreach (language_types_info() as $type => $info) { $config_values[$type] = in_array($type, $configurable); - // Check if the language is locked. The configuration of a locked language + // Check if the language type is locked. The configuration of a locked language // type cannot be changed using the UI. if (empty($info['locked'])) { - // The configuration of unlocked languages set using the UI. Save this + // The configuration of unlocked language types set using the UI. Save this // data to the $config_values array (stored in configuration). if ($config_values[$type] && empty($info['fixed'])) { - // If the language is not configurable and there is no default language + // If the language type is not configurable and there is no default language // negotiation setting then provide one. $method_weights = array(LANGUAGE_NEGOTIATION_INTERFACE); $method_weights = array_flip($method_weights); @@ -236,7 +236,7 @@ function language_types_set(array $configurable) { } } else { - // Locked languages don't allow changing their configurable state. + // Locked language types don't allow changing their configurable state. // Default language negotiation is stored in $info['fixed']. Locked // language types with a default value are not configurable. Locked @@ -244,8 +244,8 @@ function language_types_set(array $configurable) { $config_values[$type] = empty($info['fixed']); $language_types[$type] = FALSE; if (!empty($info['fixed'])) { - // Set the language negotiation for non configurable types to use the - // default settings stored in $info['fixed']. + // Set the language negotiation for non configurable language types to + // use the default settings stored in $info['fixed']. $method_weights = array(); foreach ($info['fixed'] as $weight => $method_id) { if (isset($negotiation_info[$method_id])) {