Skip to content

Commit

Permalink
Localized CMS breadcrumbs title
Browse files Browse the repository at this point in the history
  • Loading branch information
chillu committed Jul 18, 2012
1 parent bb8678b commit faff2c1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions admin/code/LeftAndMain.php
Expand Up @@ -590,7 +590,8 @@ public function getRecord($id) {
* @return ArrayList
*/
public function Breadcrumbs($unlinked = false) {
$title = self::menu_title_for_class($this->class);
$defaultTitle = LeftAndMain::menu_title_for_class($this->class);
$title = _t("{$this->class}.MENUTITLE", $defaultTitle);
$items = new ArrayList(array(
new ArrayData(array(
'Title' => $title,
Expand Down Expand Up @@ -1497,4 +1498,4 @@ function setIsFinished($bool) {
$this->isFinished = $bool;
}

}
}

0 comments on commit faff2c1

Please sign in to comment.