mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
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
This commit is contained in:
parent
a3306e8834
commit
d85d2bd1c9
@ -100,10 +100,10 @@ class CMSBatchAction_Publish 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 getDoingText() {
|
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) {
|
function run(DataObjectSet $pages) {
|
||||||
|
@ -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']['DELETE_PAGES'] = 'Delete from published site';
|
||||||
$lang['en_US']['CMSBatchActions']['DELETING_PAGES'] = 'Deleting selected pages from the 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']['DELETED_DRAFT_PAGES'] = 'Deleted %d pages from the draft site';
|
||||||
$lang['en_US']['CMSBatchActions']['DELETE_DRAFT_PAGES'] = 'Delete from draft';
|
$lang['en_US']['CMSBatchActions']['DELETE_DRAFT_PAGES'] = 'Delete from draft site';
|
||||||
$lang['en_US']['CMSBatchActions']['DELETING_DRAFT_PAGES'] = 'Deleting selected pages from draft';
|
$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']['PUBLISHED_PAGES'] = 'Published %d pages, %d failures';
|
||||||
$lang['en_US']['CMSBatchActions']['PUBLISHING_PAGES'] = 'Publishing pages';
|
$lang['en_US']['CMSBatchActions']['PUBLISHING_PAGES'] = 'Publishing pages';
|
||||||
$lang['en_US']['CMSBatchActions']['PUBLISH_PAGES'] = 'Publish';
|
$lang['en_US']['CMSBatchActions']['PUBLISH_PAGES'] = 'Publish';
|
||||||
|
Loading…
Reference in New Issue
Block a user