summaryrefslogtreecommitdiff
path: root/httemplate/elements/menu.html
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2016-08-18 14:52:35 -0700
committerIvan Kohler <ivan@freeside.biz>2016-08-18 14:57:45 -0700
commit01c085c7bb70af2eafd5c6bb545a2e51a720623d (patch)
tree894c54240c4bbd229c8856c5d6a51b4e8540b065 /httemplate/elements/menu.html
parentb6985d605ab82cb1821807ef50ce359546c13243 (diff)
localize header / merge github#56
Diffstat (limited to 'httemplate/elements/menu.html')
-rw-r--r--httemplate/elements/menu.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/httemplate/elements/menu.html b/httemplate/elements/menu.html
index 5b6aa5adf..933728f08 100644
--- a/httemplate/elements/menu.html
+++ b/httemplate/elements/menu.html
@@ -981,11 +981,11 @@ sub submenu {
my($subhtml, $submenuname ) = submenu($url_or_submenu, $_); #mmm, recursion
"$subhtml\n".
- "myMenu$menunum.add(new WebFXMenuItem(\"$_\", null, \"$tooltip\", $submenuname ));";
+ "myMenu$menunum.add(new WebFXMenuItem(\"".mt($_)."\", null, \"".mt($tooltip)."\", $submenuname ));";
} else {
- "myMenu$menunum.add(new WebFXMenuItem(\"$_\", \"$url_or_submenu\", \"$tooltip\" ));";
+ "myMenu$menunum.add(new WebFXMenuItem(\"".mt($_)."\", \"$url_or_submenu\", \"".mt($tooltip)."\" ));";
}