Skip to content

Commit

Permalink
ENHANCEMENT Renamed "Content" tab in SiteTree->getCMSFields() to "Mai…
Browse files Browse the repository at this point in the history
…n Content" to distinguish it from the top-level "Content" tag
  • Loading branch information
chillu committed Apr 18, 2012
1 parent 108ba69 commit ca853d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion code/model/SiteTree.php
Expand Up @@ -1859,7 +1859,7 @@ function getCMSFields() {
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')) {
Expand Down
2 changes: 1 addition & 1 deletion lang/en.yml
Expand Up @@ -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)"
Expand Down

0 comments on commit ca853d7

Please sign in to comment.