argument); if (!empty($term)) { // TODO check if translation is enabled for this vocab. return check_plain(i18n_taxonomy_term_name($term)); } // TODO review text return t('No name'); } }