diff options
author | Gábor Hojtsy <gabor@hojtsy.hu> | 2008-01-10 14:35:24 +0000 |
---|---|---|
committer | Gábor Hojtsy <gabor@hojtsy.hu> | 2008-01-10 14:35:24 +0000 |
commit | 58ad1fb2f487917be7cb725ca39f5ad6aeb68efe (patch) | |
tree | 14fc80190c20a76531b1c9c17098a52d798e3997 | |
parent | b4520177fb52215ef3fd0ba6f9006b99eb861d4c (diff) | |
download | brdo-58ad1fb2f487917be7cb725ca39f5ad6aeb68efe.tar.gz brdo-58ad1fb2f487917be7cb725ca39f5ad6aeb68efe.tar.bz2 |
#206021 follow up by keith.smith, dropcube: better code comments in locale update
-rw-r--r-- | modules/locale/locale.install | 7 |
1 files changed, 4 insertions, 3 deletions
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_<content_type> instead of language_<content_type> * 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('<em>'. $content_type->name ."</em> content type's multilingual support settings", 'admin/content/types/negotiation', array('html' => TRUE)) .' to configure them correctly.'); |