diff --git a/code/controllers/CMSMain.php b/code/controllers/CMSMain.php index be0097e494..7c578cee26 100644 --- a/code/controllers/CMSMain.php +++ b/code/controllers/CMSMain.php @@ -318,7 +318,8 @@ public function Breadcrumbs($unlinked = false) { // The root element should point to the pages tree view, // rather than the actual controller (which would just show an empty edit form) - $items[0]->Title = self::menu_title_for_class('CMSPagesController'); + $defaultTitle = self::menu_title_for_class('CMSPagesController'); + $items[0]->Title = _t("{$this->class}.MENUTITLE", $defaultTitle); $items[0]->Link = singleton('CMSPagesController')->Link(); return $items; diff --git a/code/controllers/CMSSettingsController.php b/code/controllers/CMSSettingsController.php index 29bd75c9e9..98afcd6173 100644 --- a/code/controllers/CMSSettingsController.php +++ b/code/controllers/CMSSettingsController.php @@ -64,9 +64,10 @@ function LinkPreview() { } function Breadcrumbs($unlinked = false) { + $defaultTitle = self::menu_title_for_class(get_class($this)); return new ArrayList(array( new ArrayData(array( - 'Title' => $this->SectionTitle(), + 'Title' => _t("{$this->class}.MENUTITLE", $defaultTitle), 'Link' => false )) ));