function i18n_taxonomy_page_vocabulary in Internationalization 7
This is the callback for taxonomy translations.
Gets the urls: admin/content/taxonomy/%taxonomy_vocabulary/translation admin/content/taxonomy/i18n/term/xx admin/content/taxonomy/i18n/term/new/xx admin/content/taxonomy/vid/translation/op/trid
File
- i18n_taxonomy/
i18n_taxonomy.admin.inc, line 17 - Helper functions for taxonomy administration.
Code
function i18n_taxonomy_page_vocabulary($vocabulary, $op = NULL, $tid = NULL) {
switch ($op) {
case 'edit':
drupal_set_title(t('Edit term translations'));
$output = drupal_get_form('i18n_taxonomy_translation_term_form', $vocabulary, $tid);
break;
default:
$output = i18n_taxonomy_translation_overview($vocabulary);
}
return $output;
}