diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-11-08 19:18:24 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-11-08 19:18:24 +0000 |
commit | a75f741e9b51b6f357e0ec957b7e5f0b06295b48 (patch) | |
tree | 8d4219104a2d1670634a620dda670643ae2c416e /modules | |
parent | 0b71c0caa0dd6a70c1a545ed9706b2cced93a24f (diff) | |
download | brdo-a75f741e9b51b6f357e0ec957b7e5f0b06295b48.tar.gz brdo-a75f741e9b51b6f357e0ec957b7e5f0b06295b48.tar.bz2 |
- Patch #614358 by lisarex, Bojhan: UI text improvements to 'Delete' content type confirmation message.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/node/content_types.inc | 2 |
1 files changed, 1 insertions, 1 deletions
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 .= '<p>' . format_plural($num_nodes, '<strong>Warning:</strong> 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.', '<strong>Warning:</strong> 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)) . '</p>'; + $caption .= '<p>' . 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)) . '</p>'; } $caption .= '<p>' . t('This action cannot be undone.') . '</p>'; |