diff --git a/core/modules/comment/comment.module b/core/modules/comment/comment.module index d840caf..4656dbb 100644 --- a/core/modules/comment/comment.module +++ b/core/modules/comment/comment.module @@ -1834,6 +1834,7 @@ function comment_form($form, &$form_state, Comment $comment) { } $form['node_type'] = array('#type' => 'value', '#value' => 'comment_node_' . $node->type); + // Uses the language of the content as comment language. $form['langcode'] = array( '#type' => 'value', '#value' => $language_content->langcode, diff --git a/core/modules/node/content_types.inc b/core/modules/node/content_types.inc index 589364b..d3338ee 100644 --- a/core/modules/node/content_types.inc +++ b/core/modules/node/content_types.inc @@ -194,7 +194,7 @@ function node_type_form($form, &$form_state, $type = NULL) { 'user_default' => t("User's default"), ); foreach ($languages as $langcode => $language) { - $lang_options[$langcode] = t($language->name); + $lang_options[$langcode] = $language->name; } $form['language'] = array(