MINOR: Formatting and revert label

This commit is contained in:
Luke Edwards 2018-07-04 10:41:50 +12:00 committed by Maxime Rainville
parent 6ebd8aba3f
commit 2d9432789b
2 changed files with 4 additions and 2 deletions

View File

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

View File

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