mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
Merge pull request #2566 from sunnysideup/patch-11
PATCH: change "with No Content" to "without content" in reports
This commit is contained in:
commit
f3ceca08ee
@ -12,7 +12,7 @@ class EmptyPagesReport extends Report
|
||||
|
||||
public function title()
|
||||
{
|
||||
return _t(__CLASS__.'.EMPTYPAGES', "Pages with no content");
|
||||
return _t(__CLASS__.'.EMPTYPAGES', "Pages without content");
|
||||
}
|
||||
|
||||
public function group()
|
||||
|
@ -327,7 +327,7 @@ en:
|
||||
ParameterLiveCheckbox: 'Check live site'
|
||||
SilverStripe\CMS\Reports\EmptyPagesReport:
|
||||
ContentGroupTitle: 'Content reports'
|
||||
EMPTYPAGES: 'Pages with no content'
|
||||
EMPTYPAGES: 'Pages without content'
|
||||
SilverStripe\CMS\Reports\RecentlyEditedReport:
|
||||
ContentGroupTitle: 'Content reports'
|
||||
LAST2WEEKS: 'Pages edited in the last 2 weeks'
|
||||
|
@ -9,8 +9,8 @@ Feature: View Reports
|
||||
And I am logged in with "ADMIN" permissions
|
||||
And I go to "/admin/reports"
|
||||
|
||||
Scenario: I can view the "Pages with no content" report
|
||||
When I follow "Pages with no content"
|
||||
Scenario: I can view the "Pages without content" report
|
||||
When I follow "Pages without content"
|
||||
Then I should see "Empty Page"
|
||||
But I should not see "Filled Page"
|
||||
When I follow "Empty Page"
|
||||
|
Loading…
Reference in New Issue
Block a user