summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-01-06 03:53:40 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-01-06 03:53:40 +0000
commitdb4fa95f375627a309a97bf468a2eb44ebd2d4b8 (patch)
treeb44abc458df99d17197807bd6f33a78626cacd26
parent102a68291417b6cc7a3556c4d1ee0697a9445988 (diff)
downloadbrdo-db4fa95f375627a309a97bf468a2eb44ebd2d4b8.tar.gz
brdo-db4fa95f375627a309a97bf468a2eb44ebd2d4b8.tar.bz2
#675144 by jhodgdon: Typo: translation_language_switch_links_alter() should be linkS alter().
-rw-r--r--modules/locale/locale.api.php2
-rw-r--r--modules/translation/translation.module2
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.
*/