Skip to content
This repository
Browse code

Localized CMS breadcrumbs title

  • Loading branch information...
commit faff2c122d69bcfbdd65aee39946516ae81ac03b 1 parent bb8678b
Ingo Schommer authored

Showing 1 changed file with 3 additions and 2 deletions. Show diff stats Hide diff stats

  1. 5  admin/code/LeftAndMain.php
5  admin/code/LeftAndMain.php
@@ -590,7 +590,8 @@ public function getRecord($id) {
590 590
 	 * @return ArrayList
591 591
 	 */
592 592
 	public function Breadcrumbs($unlinked = false) {
593  
-		$title = self::menu_title_for_class($this->class);
  593
+		$defaultTitle = LeftAndMain::menu_title_for_class($this->class);
  594
+		$title = _t("{$this->class}.MENUTITLE", $defaultTitle);
594 595
 		$items = new ArrayList(array(
595 596
 			new ArrayData(array(
596 597
 				'Title' => $title,
@@ -1497,4 +1498,4 @@ function setIsFinished($bool) {
1497 1498
 		$this->isFinished = $bool;
1498 1499
 	}
1499 1500
 
1500  
-}
  1501
+}

0 notes on commit faff2c1

Please sign in to comment.
Something went wrong with that request. Please try again.