From 58ad1fb2f487917be7cb725ca39f5ad6aeb68efe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Hojtsy?= Date: Thu, 10 Jan 2008 14:35:24 +0000 Subject: #206021 follow up by keith.smith, dropcube: better code comments in locale update --- modules/locale/locale.install | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'modules') diff --git a/modules/locale/locale.install b/modules/locale/locale.install index 2208a2f70..29718de06 100644 --- a/modules/locale/locale.install +++ b/modules/locale/locale.install @@ -167,7 +167,7 @@ function locale_update_6004() { * * Use language_content_type_ instead of language_ * so content types such as 'default', 'count' or 'negotiation' will not - * interfer with language variables. + * interfere with language variables. */ function locale_update_6005() { foreach (node_get_types() as $type => $content_type) { @@ -181,8 +181,9 @@ function locale_update_6005() { drupal_set_message('The default language setting has been reset to its default value. Check the '. l('language configuration page', 'admin/settings/language') .' to configure it correctly.'); } elseif ($type == 'negotiation') { - // Either it is the negotiation setting or the content type setting, it - // is an integer. The language_negotiation setting is not reset, but + // language_content_type_negotiation is an integer either if it is + // the negotiation setting or the content type setting. + // The language_negotiation setting is not reset, but // the user is alerted that this setting possibly was overwritten variable_set('language_content_type_negotiation', $setting); drupal_set_message('The language negotiation setting was possibly overwritten by a content type of the same name. Check the '. l('language configuration page', 'admin/settings/language/configure') .' and the '. l(''. $content_type->name ." content type's multilingual support settings", 'admin/content/types/negotiation', array('html' => TRUE)) .' to configure them correctly.'); -- cgit v1.2.3