From a75f741e9b51b6f357e0ec957b7e5f0b06295b48 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 8 Nov 2009 19:18:24 +0000 Subject: - Patch #614358 by lisarex, Bojhan: UI text improvements to 'Delete' content type confirmation message. --- modules/node/content_types.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/node/content_types.inc b/modules/node/content_types.inc index 83727c039..4d23857f9 100644 --- a/modules/node/content_types.inc +++ b/modules/node/content_types.inc @@ -430,7 +430,7 @@ function node_type_delete_confirm($form, &$form_state, $type) { $num_nodes = db_query("SELECT COUNT(*) FROM {node} WHERE type = :type", array(':type' => $type->type))->fetchField(); if ($num_nodes) { - $caption .= '

' . format_plural($num_nodes, 'Warning: there is currently 1 %type post on your site. It may not be able to be displayed or edited correctly once you have removed this content type.', 'Warning: there are currently @count %type posts on your site. They may not be able to be displayed or edited correctly once you have removed this content type.', array('%type' => $type->name)) . '

'; + $caption .= '

' . format_plural($num_nodes, '%type is used by 1 piece of content on your site. If you remove this content type, you will not be able to edit the %type content and it may not display correctly.', '%type is used by @count pieces of content on your site. If you remove %type, you will not be able to edit the %type content and it may not display correctly.', array('%type' => $type->name)) . '

'; } $caption .= '

' . t('This action cannot be undone.') . '

'; -- cgit v1.2.3