projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
cec24ae
)
i18n: fix our menu when included from RT
author
ivan
<ivan>
Fri, 3 Jun 2011 00:52:43 +0000
(
00:52
+0000)
committer
ivan
<ivan>
Fri, 3 Jun 2011 00:52:43 +0000
(
00:52
+0000)
httemplate/elements/menu.html
patch
|
blob
|
history
diff --git
a/httemplate/elements/menu.html
b/httemplate/elements/menu.html
index
8541470
..
fcf2caa
100644
(file)
--- a/
httemplate/elements/menu.html
+++ b/
httemplate/elements/menu.html
@@
-62,11
+62,11
@@
% my( $subhtml, $submenuname ) = submenu($url_or_submenu, $item);
<% $subhtml |n %>
% my( $subhtml, $submenuname ) = submenu($url_or_submenu, $item);
<% $subhtml |n %>
- myBar.add(new WebFXMenuButton(
"<% emt($item) %>", null, "<% emt($tooltip) %>"
, <% $submenuname |n %> ));
+ myBar.add(new WebFXMenuButton(
<% mt($item) |js_string %>, null, <% mt($tooltip) |js_string %>
, <% $submenuname |n %> ));
% } else {
% } else {
- myBar.add(new WebFXMenuButton(
"<% emt($item) %>", "<% $url_or_submenu %>", "<% emt($tooltip) %>"
));
+ myBar.add(new WebFXMenuButton(
<% mt($item) |js_string %>, "<% $url_or_submenu %>", <% mt($tooltip) |js_string %>
));
% }
% } #foreach $item
% }
% } #foreach $item