From 99eb1351981ef3099cbcabad5c92b8efbd44c3f2 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Tue, 13 Apr 2010 03:53:50 +0000 Subject: [PATCH] MINOR: Made delete from draft batch action text more consistent with published. (from r91839) (from r96813) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102675 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- code/CMSBatchAction.php | 2 +- lang/en_US.php | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/code/CMSBatchAction.php b/code/CMSBatchAction.php index 4228000f..84a366a4 100644 --- a/code/CMSBatchAction.php +++ b/code/CMSBatchAction.php @@ -122,7 +122,7 @@ class CMSBatchAction_Unpublish extends CMSBatchAction { */ class CMSBatchAction_Delete extends CMSBatchAction { function getActionTitle() { - return _t('CMSBatchActions.DELETE_DRAFT_PAGES', 'Delete from draft'); + return _t('CMSBatchActions.DELETE_DRAFT_PAGES', 'Delete from draft site'); } function run(DataObjectSet $pages) { diff --git a/lang/en_US.php b/lang/en_US.php index e1565157..0f289cd8 100755 --- a/lang/en_US.php +++ b/lang/en_US.php @@ -56,6 +56,8 @@ $lang['en_US']['AssetTableField.ss']['NOITEMSFOUND'] = 'No items found'; $lang['en_US']['AssetTableField_Item.ss']['DRAGTOFOLDER'] = 'Drag to folder on left to move file'; $lang['en_US']['CMSBatchActions']['DELETE_DRAFT_PAGES'] = 'Delete from draft'; $lang['en_US']['CMSBatchActions']['DELETE_PAGES'] = 'Delete from published site'; +$lang['en_US']['CMSBatchActions']['DELETED_DRAFT_PAGES'] = 'Deleted %d pages from the draft site'; +$lang['en_US']['CMSBatchActions']['DELETE_DRAFT_PAGES'] = 'Delete from draft site'; $lang['en_US']['CMSBatchActions']['PUBLISHED_PAGES'] = 'Published %d pages, %d failures'; $lang['en_US']['CMSBatchActions']['PUBLISH_PAGES'] = 'Publish'; $lang['en_US']['CMSBatchActions']['UNPUBLISHED_PAGES'] = 'Un-published %d pages';