diff --git a/code/Controllers/CMSMain.php b/code/Controllers/CMSMain.php index ccddd400..a32edf3f 100644 --- a/code/Controllers/CMSMain.php +++ b/code/Controllers/CMSMain.php @@ -529,11 +529,13 @@ class CMSMain extends LeftAndMain implements CurrentPageIdentifier, PermissionPr 'listViewLink' => $this->LinkListViewChildren($node->ID), 'rootTitle' => $rootTitle, 'extraClass' => $this->getTreeNodeClasses($node), - 'Title' => sprintf( - '(%s: %s) %s', - trim(_t('SilverStripe\Admin\LeftAndMain.PAGETYPE', 'Page type'), ' :'), - $node->i18n_singular_name(), - $node->Title + 'Title' => _t( + self::class . '.PAGETYPE_TITLE', + '(Page type: {type}) {title}', + [ + 'type' => $node->i18n_singular_name(), + 'title' => $node->Title, + ] ) ]; };