diff options
-rw-r--r-- | modules/locale/locale.api.php | 2 | ||||
-rw-r--r-- | modules/translation/translation.module | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/locale/locale.api.php b/modules/locale/locale.api.php index c454c69a4..6f6504f4b 100644 --- a/modules/locale/locale.api.php +++ b/modules/locale/locale.api.php @@ -38,7 +38,7 @@ function hook_locale($op = 'groups') { * @param $path * The current path. */ -function hook_language_switch_link_alter(array &$links, $type, $path) { +function hook_language_switch_links_alter(array &$links, $type, $path) { global $language; if ($type == LANGUAGE_TYPE_CONTENT && isset($links[$language])) { diff --git a/modules/translation/translation.module b/modules/translation/translation.module index 0fb3ea92a..bd927e83e 100644 --- a/modules/translation/translation.module +++ b/modules/translation/translation.module @@ -435,7 +435,7 @@ function translation_path_get_translations($path) { } /** - * Implements hook_language_switch_link_alter(). + * Implements hook_language_switch_links_alter(). * * Replaces links with pointers to translated versions of the content. */ |