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
This commit is contained in:
Sam Minnee 2010-01-13 00:07:31 +00:00
parent 86b08f44a4
commit a3306e8834

View File

@ -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();