diff --git a/includes/language.inc b/includes/language.inc index c5590ca..d646ec4 100644 --- a/includes/language.inc +++ b/includes/language.inc @@ -331,7 +331,7 @@ function language_negotiation_purge() { * @param $type * The language negotiation type. * @param $language_providers - * An array of language provider weights keyed by provider ID. + * An array of language negotiation provider weights keyed by provider ID. * @see language_provider_weight() */ function language_negotiation_set($type, $language_providers) { diff --git a/modules/system/language.api.php b/modules/system/language.api.php index 0ded9cb..30adbf5 100644 --- a/modules/system/language.api.php +++ b/modules/system/language.api.php @@ -71,7 +71,7 @@ function hook_language_switch_links_alter(array &$links, $type, $path) { * may contain the following elements: * - name: The human-readable language type identifier. * - description: A description of the language type. - * - fixed: A fixed array of language negotiation method identifiers to use to + * - fixed: A fixed array of language negotiation provider identifiers to use to * initialize this language. Defining this key makes the language type * non-configurable, so it will always use the specified methods in the * given priority order. Omit to make the language type configurable. @@ -114,8 +114,8 @@ function hook_language_types_info_alter(array &$language_types) { * are method identifiers, and the values are associative arrays definining * each method, with the following elements: * - types: An array of allowed language types. If a language negotiation - * not specify which language types it should be used with, it will be - * available for all the configurable language types. + * provider does not specify which language types it should be used with, it + * will be available for all the configurable language types. * - callbacks: An associative array of functions that will be called to * perform various tasks. Possible elements are: * - negotiation: (required) Name of the callback function that determines @@ -132,7 +132,7 @@ function hook_language_types_info_alter(array &$language_types) { * - description: A translated longer description of the method. * - config: An internal path pointing to the method's configuration page. * - cache: The value Drupal's page cache should be set to for the current - * method to be invoked. + * provider to be invoked. * * @see hook_language_negotiation_info_alter() * @ingroup language_negotiation @@ -159,7 +159,7 @@ function hook_language_negotiation_info() { * Perform alterations on language providers. * * @param $language_providers - * Array of language provider definitions. + * Array of language negotiation provider definitions. * * @see hook_language_negotiation_info() * @ingroup language_negotiation