You are here

function i18n_taxonomy_translation_sets_overview in Internationalization 7

Generate a tabular listing of translations for vocabularies.

1 string reference to 'i18n_taxonomy_translation_sets_overview'
i18n_taxonomy_menu in i18n_taxonomy/i18n_taxonomy.module
Implements hook_menu().

File

i18n_taxonomy/i18n_taxonomy.admin.inc, line 166
Helper functions for taxonomy administration.

Code

function i18n_taxonomy_translation_sets_overview($vocabulary) {
  module_load_include('admin.inc', 'i18n_translation');
  drupal_set_title($vocabulary->name);
  $query = db_select('i18n_translation_set', 't')
    ->condition('t.bundle', $vocabulary->machine_name);
  return i18n_translation_admin_overview('taxonomy_term', $query);
}