Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Localized CMS breadcrumbs title

  • Loading branch information...
commit faff2c122d69bcfbdd65aee39946516ae81ac03b 1 parent bb8678b
@chillu chillu authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 admin/code/LeftAndMain.php
View
5 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;
}
-}
+}
Please sign in to comment.
Something went wrong with that request. Please try again.