From ea2e49a7d10c47fe4e9ce349d52245b4ed1d1abb Mon Sep 17 00:00:00 2001
From: Dries Buytaert <dries@buytaert.net>
Date: Sun, 27 Mar 2011 19:52:31 -0400
Subject: [PATCH] - Patch #988318 by jhodgdon:
 translation_form_node_form_alter() doc says it implements the wrong hook.

---
 modules/translation/translation.module | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/modules/translation/translation.module b/modules/translation/translation.module
index 8b8614e4ed13..9bb0b43bcc62 100644
--- a/modules/translation/translation.module
+++ b/modules/translation/translation.module
@@ -117,11 +117,10 @@ function translation_form_node_type_form_alter(&$form, &$form_state) {
 }
 
 /**
- * Implements hook_form_alter().
+ * Implements hook_form_BASE_FORM_ID_alter().
  *
- * - Add translation option to content type form.
- * - Alters language fields on node forms when a translation
- *   is about to be created.
+ * This function alters language fields on node edit forms when a translation is
+ * about to be created.
  */
 function translation_form_node_form_alter(&$form, &$form_state) {
   if (translation_supported_type($form['#node']->type)) {
-- 
GitLab