From d16e18f9bbdcff52355b62dc405fb781c4403af4 Mon Sep 17 00:00:00 2001
From: Steven Wittens <steven@10.no-reply.drupal.org>
Date: Thu, 3 Mar 2005 21:07:37 +0000
Subject: [PATCH] - Incorrectly filled in %name

---
 modules/taxonomy.module          | 2 +-
 modules/taxonomy/taxonomy.module | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/taxonomy.module b/modules/taxonomy.module
index a3f3c7983fe9..9c2771d50512 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 a3f3c7983fe9..9c2771d50512 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'),
-- 
GitLab