mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
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
This commit is contained in:
parent
fd2037f603
commit
99eb135198
@ -122,7 +122,7 @@ class CMSBatchAction_Unpublish extends CMSBatchAction {
|
|||||||
*/
|
*/
|
||||||
class CMSBatchAction_Delete extends CMSBatchAction {
|
class CMSBatchAction_Delete extends CMSBatchAction {
|
||||||
function getActionTitle() {
|
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) {
|
function run(DataObjectSet $pages) {
|
||||||
|
@ -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']['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_DRAFT_PAGES'] = 'Delete from draft';
|
||||||
$lang['en_US']['CMSBatchActions']['DELETE_PAGES'] = 'Delete from published site';
|
$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']['PUBLISHED_PAGES'] = 'Published %d pages, %d failures';
|
||||||
$lang['en_US']['CMSBatchActions']['PUBLISH_PAGES'] = 'Publish';
|
$lang['en_US']['CMSBatchActions']['PUBLISH_PAGES'] = 'Publish';
|
||||||
$lang['en_US']['CMSBatchActions']['UNPUBLISHED_PAGES'] = 'Un-published %d pages';
|
$lang['en_US']['CMSBatchActions']['UNPUBLISHED_PAGES'] = 'Un-published %d pages';
|
||||||
|
Loading…
Reference in New Issue
Block a user