--- C:/Documents and Settings/John/Bureau/maj/i18n/i18ntaxonomy/i18ntaxonomy.module Tue Nov 03 18:53:24 2009 +++ C:/Documents and Settings/John/Bureau/i18ntaxonomy.module Wed Nov 11 23:28:48 2009 @@ -482,9 +482,10 @@ if ($vid == 'tags') { // Special treatment for tags, add some help texts foreach (element_children($form['taxonomy']['tags']) as $vid) { - if (i18ntaxonomy_vocabulary($vid) == I18N_TAXONOMY_LOCALIZE) { - $form['taxonomy']['tags'][$vid]['#title'] = check_plain(tt("taxonomy:vocabulary:$vid:name", $form['taxonomy']['tags'][$vid]['#title'])); - $form['taxonomy']['tags'][$vid]['#description'] .= ' '. t('This is a localizable vocabulary, so only terms in %language are allowed here.', array('%language' => language_default('name'))); + $type = i18ntaxonomy_vocabulary($vid); + if (($type == I18N_TAXONOMY_LOCALIZE) || ($type == I18N_TAXONOMY_TRANSLATE)) { + $form['taxonomy']['tags'][$vid]['#title'] = check_plain(tt("taxonomy:vocabulary:$vid:name", $form['taxonomy']['tags'][$vid]['#title'])); + $form['taxonomy']['tags'][$vid]['#description'] = check_plain(tt("taxonomy:vocabulary:$vid:help", $form['taxonomy']['tags'][$vid]['#description'])) . ' '. t('This is a localizable vocabulary, so only terms in %language are allowed here.', array('%language' => language_default('name'))); } } }