diff --git a/modules/taxonomy.module b/modules/taxonomy.module index a3f3c7983fe92b0f69b8e74dbb87a646a8bc0df5..9c2771d505128353c03ba9b5b1c7e87f217843a7 100644 --- a/modules/taxonomy.module +++ b/modules/taxonomy.module @@ -331,7 +331,7 @@ function _taxonomy_confirm_del_term($tid) { $extra .= form_hidden('tid', $tid); $output = theme('confirm', - t('Are you sure you want to delete the term %name?', array('%title' => '<em>'. $vocabulary->name .'</em>')), + t('Are you sure you want to delete the term %title?', array('%title' => '<em>'. $term->name .'</em>')), 'admin/taxonomy', t('Deleting a term will delete all its children if there are any. This action cannot be undone.'), t('Delete'), diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module index a3f3c7983fe92b0f69b8e74dbb87a646a8bc0df5..9c2771d505128353c03ba9b5b1c7e87f217843a7 100644 --- a/modules/taxonomy/taxonomy.module +++ b/modules/taxonomy/taxonomy.module @@ -331,7 +331,7 @@ function _taxonomy_confirm_del_term($tid) { $extra .= form_hidden('tid', $tid); $output = theme('confirm', - t('Are you sure you want to delete the term %name?', array('%title' => '<em>'. $vocabulary->name .'</em>')), + t('Are you sure you want to delete the term %title?', array('%title' => '<em>'. $term->name .'</em>')), 'admin/taxonomy', t('Deleting a term will delete all its children if there are any. This action cannot be undone.'), t('Delete'),