Permalink
Browse files

Localized CMS breadcrumbs title

  • Loading branch information...
1 parent bb8678b commit faff2c122d69bcfbdd65aee39946516ae81ac03b @chillu chillu committed Jul 18, 2012
Showing with 3 additions and 2 deletions.
  1. +3 −2 admin/code/LeftAndMain.php
@@ -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,
@@ -1497,4 +1498,4 @@ function setIsFinished($bool) {
$this->isFinished = $bool;
}
-}
+}

0 comments on commit faff2c1

Please sign in to comment.