Merge pull request #2566 from sunnysideup/patch-11

PATCH: change "with No Content" to "without content" in reports
This commit is contained in:
Sacha Judd 2020-07-08 15:19:06 +12:00 committed by GitHub
commit f3ceca08ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View File

@ -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()

View File

@ -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'

View File

@ -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"