diff --git a/cms/code/CMSBatchAction.php b/cms/code/CMSBatchAction.php
index f445b40..9ca3064 100644
|
a
|
b
|
class CMSBatchAction_Unpublish extends CMSBatchAction { |
| 109 | 109 | */ |
| 110 | 110 | class CMSBatchAction_Delete extends CMSBatchAction { |
| 111 | 111 | function getActionTitle() { |
| 112 | | return _t('CMSBatchActions.DELETE_PAGES', 'Delete from draft'); |
| | 112 | return _t('CMSBatchActions.DELETE_DRAFT_PAGES', 'Delete from draft'); |
| 113 | 113 | } |
| 114 | 114 | function getDoingText() { |
| 115 | | return _t('CMSBatchActions.DELETING_PAGES', 'Deleting selected pages from draft'); |
| | 115 | return _t('CMSBatchActions.DELETING_DRAFT_PAGES', 'Deleting selected pages from draft'); |
| 116 | 116 | } |
| 117 | 117 | |
| 118 | 118 | function run(DataObjectSet $pages) { |
| … |
… |
class CMSBatchAction_Delete extends CMSBatchAction { |
| 139 | 139 | unset($page); |
| 140 | 140 | } |
| 141 | 141 | |
| 142 | | $message = sprintf(_t('CMSBatchActions.DELETED_PAGES', 'Deleted %d pages from the draft site'), $pages->Count()); |
| | 142 | $message = sprintf(_t('CMSBatchActions.DELETED_DRAFT_PAGES', 'Deleted %d pages from the draft site'), $pages->Count()); |
| 143 | 143 | FormResponse::add('statusMessage("'.$message.'","good");'); |
| 144 | 144 | |
| 145 | 145 | return FormResponse::respond(); |
diff --git a/cms/lang/en_US.php b/cms/lang/en_US.php
index ef8752d..e2b4885 100755
|
a
|
b
|
$lang['en_US']['AssetTableField.ss']['SHOW'] = 'Show asset'; |
| 58 | 58 | $lang['en_US']['CMSBatchActions']['DELETED_PAGES'] = 'Deleted %d pages from the published site'; |
| 59 | 59 | $lang['en_US']['CMSBatchActions']['DELETE_PAGES'] = 'Delete from published site'; |
| 60 | 60 | $lang['en_US']['CMSBatchActions']['DELETING_PAGES'] = 'Deleting selected pages from the published site'; |
| | 61 | $lang['en_US']['CMSBatchActions']['DELETED_DRAFT_PAGES'] = 'Deleted %d pages from the draft site'; |
| | 62 | $lang['en_US']['CMSBatchActions']['DELETE_DRAFT_PAGES'] = 'Delete from draft'; |
| | 63 | $lang['en_US']['CMSBatchActions']['DELETING_DRAFT_PAGES'] = 'Deleting selected pages from draft'; |
| 61 | 64 | $lang['en_US']['CMSBatchActions']['PUBLISHED_PAGES'] = 'Published %d pages'; |
| 62 | 65 | $lang['en_US']['CMSBatchActions']['PUBLISHING_PAGES'] = 'Publishing pages'; |
| 63 | 66 | $lang['en_US']['CMSBatchActions']['PUBLISH_PAGES'] = 'Publish'; |