From d85d2bd1c96f757c853677a5c6e118362e245162 Mon Sep 17 00:00:00 2001 From: Sam Minnee Date: Wed, 13 Jan 2010 00:07:40 +0000 Subject: [PATCH] MINOR: Made delete from draft batch action text more consistent with published. (from r91839) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@96813 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- code/CMSBatchAction.php | 4 ++-- lang/en_US.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/code/CMSBatchAction.php b/code/CMSBatchAction.php index 27e003bf..baf807dd 100644 --- a/code/CMSBatchAction.php +++ b/code/CMSBatchAction.php @@ -100,10 +100,10 @@ class CMSBatchAction_Publish 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 getDoingText() { - return _t('CMSBatchActions.DELETING_DRAFT_PAGES', 'Deleting selected pages from draft'); + return _t('CMSBatchActions.DELETING_DRAFT_PAGES', 'Deleting selected pages from the draft site'); } function run(DataObjectSet $pages) { diff --git a/lang/en_US.php b/lang/en_US.php index 61dcc8eb..60691c5f 100755 --- a/lang/en_US.php +++ b/lang/en_US.php @@ -61,8 +61,8 @@ $lang['en_US']['CMSBatchActions']['DELETED_PAGES'] = 'Deleted %d pages from the $lang['en_US']['CMSBatchActions']['DELETE_PAGES'] = 'Delete from published site'; $lang['en_US']['CMSBatchActions']['DELETING_PAGES'] = 'Deleting selected pages from the 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'; -$lang['en_US']['CMSBatchActions']['DELETING_DRAFT_PAGES'] = 'Deleting selected pages from draft'; +$lang['en_US']['CMSBatchActions']['DELETE_DRAFT_PAGES'] = 'Delete from draft site'; +$lang['en_US']['CMSBatchActions']['DELETING_DRAFT_PAGES'] = 'Deleting selected pages from the draft site'; $lang['en_US']['CMSBatchActions']['PUBLISHED_PAGES'] = 'Published %d pages, %d failures'; $lang['en_US']['CMSBatchActions']['PUBLISHING_PAGES'] = 'Publishing pages'; $lang['en_US']['CMSBatchActions']['PUBLISH_PAGES'] = 'Publish';