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'