From a3306e88343c5b5692bd9a1524fe8eba98a94a83 Mon Sep 17 00:00:00 2001 From: Sam Minnee Date: Wed, 13 Jan 2010 00:07:31 +0000 Subject: [PATCH] BUGFIX: Correct labels for "delete from draft" batch actions (from r91838) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@96812 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- code/CMSBatchAction.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/CMSBatchAction.php b/code/CMSBatchAction.php index 16a7f6e6..27e003bf 100644 --- a/code/CMSBatchAction.php +++ b/code/CMSBatchAction.php @@ -133,7 +133,7 @@ class CMSBatchAction_Delete extends CMSBatchAction { unset($page); } - $message = sprintf(_t('CMSBatchActions.DELETED_DRAFT_PAGES', 'Deleted %d pages from the draft site'), $pages->Count()-$failures); + $message = sprintf(_t('CMSBatchActions.DELETED_DRAFT_PAGES', 'Deleted %d pages from the draft site, %d failures'), $pages->Count()-$failures, $failures); FormResponse::add('statusMessage("'.$message.'","good");'); return FormResponse::respond();