From 2d9432789b9e0f8dbcef30464d21dd123a4121b3 Mon Sep 17 00:00:00 2001 From: Luke Edwards Date: Wed, 4 Jul 2018 10:41:50 +1200 Subject: [PATCH] MINOR: Formatting and revert label --- code/Model/SiteTree.php | 4 +++- lang/en.yml | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/code/Model/SiteTree.php b/code/Model/SiteTree.php index f63aedc1..0683dec4 100755 --- a/code/Model/SiteTree.php +++ b/code/Model/SiteTree.php @@ -2100,7 +2100,9 @@ class SiteTree extends DataObject implements PermissionProvider, i18nEntityProvi } } - $inheritMessage = $this->ParentID !== 0 ? _t(__CLASS__.'.INHERITPARENT', "Inherit from parent page") : _t(__CLASS__.'.INHERITSITECONFIG', "Inherit from site access settings"); + $inheritMessage = $this->ParentID !== 0 ? + _t(__CLASS__.'.INHERIT', "Inherit from parent page") : + _t(__CLASS__.'.INHERITSITECONFIG', "Inherit from site access settings"); $viewersOptionsSource = [ InheritedPermissions::INHERIT => $inheritMessage, diff --git a/lang/en.yml b/lang/en.yml index 18ae44ea..6248671a 100644 --- a/lang/en.yml +++ b/lang/en.yml @@ -204,7 +204,7 @@ en: Editors: 'Editors Groups' HASBROKENLINKS: 'This page has broken links.' HTMLEDITORTITLE: Content - INHERITPARENT: 'Inherit from parent page' + INHERIT: 'Inherit from parent page' INHERITSITECONFIG: 'Inherit from site access settings' LASTPUBLISHED: 'Last published' LASTSAVED: 'Last saved'