ENHANCEMENT Renamed "Content" tab in SiteTree->getCMSFields() to "Main Content" to distinguish it from the top-level "Content" tag

This commit is contained in:
Ingo Schommer 2012-04-18 16:28:07 +02:00
parent 108ba69366
commit ca853d73f2
2 changed files with 2 additions and 2 deletions

View File

@ -1859,7 +1859,7 @@ class SiteTree extends DataObject implements PermissionProvider,i18nEntityProvid
if($dependentPagesCount) $tabDependent->setTitle(_t('SiteTree.TABDEPENDENT', "Dependent pages") . " ($dependentPagesCount)");
else $fields->removeFieldFromTab('Root', 'Dependent');
$tabMain->setTitle(_t('SiteTree.TABCONTENT', "Content"));
$tabMain->setTitle(_t('SiteTree.TABCONTENT', "Main Content"));
$tabMeta->setTitle(_t('SiteTree.TABMETA', "Metadata"));
if(file_exists(BASE_PATH . '/install.php')) {

View File

@ -357,7 +357,7 @@ en:
SINGULARNAME: "Site Tree"
TABACCESS: "Access"
TABBEHAVIOUR: "Behavior"
TABCONTENT: "Content"
TABCONTENT: "Main Content"
TABDEPENDENT: "Dependent pages"
TABMETA: "Metadata"
TOPLEVEL: "Site Content (Top Level)"