From b7992629766c962531243278a1f40f6c440b1165 Mon Sep 17 00:00:00 2001 From: Nicolaas Date: Wed, 8 Jul 2020 10:16:19 +1200 Subject: [PATCH 1/3] PATCH: better english --- code/Reports/EmptyPagesReport.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/Reports/EmptyPagesReport.php b/code/Reports/EmptyPagesReport.php index 1bce1b61..8c3a211c 100644 --- a/code/Reports/EmptyPagesReport.php +++ b/code/Reports/EmptyPagesReport.php @@ -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() From 6f4b1bfbd78e89e3bd1ec2040583c9d0baf2f384 Mon Sep 17 00:00:00 2001 From: Nicolaas Date: Wed, 8 Jul 2020 10:17:39 +1200 Subject: [PATCH 2/3] Update en.yml --- lang/en.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lang/en.yml b/lang/en.yml index c17dc178..02d580f4 100644 --- a/lang/en.yml +++ b/lang/en.yml @@ -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' From bbb69cfb5a759254a1f06ab89fcaf1803adec535 Mon Sep 17 00:00:00 2001 From: Nicolaas Thiemen Date: Wed, 8 Jul 2020 13:50:47 +1200 Subject: [PATCH 3/3] PATCH: fixing behat wording --- tests/behat/features/view-reports.feature | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/behat/features/view-reports.feature b/tests/behat/features/view-reports.feature index 8fab9bbc..dcb82b43 100644 --- a/tests/behat/features/view-reports.feature +++ b/tests/behat/features/view-reports.feature @@ -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"