4891: enable translation for main navigation items

svn: r17454
This commit is contained in:
Jérôme Rapinat 2011-05-08 06:22:11 +00:00
parent d3b47b000c
commit bbb03a4057

View File

@ -1274,7 +1274,7 @@ class BasePage(object):
cs = 'class = "CurrentSection"' if cs else ""
ul += (Html("li", attr = cs, inline = True) +
Html("a", nav_text, href = url, title = "Main Navigation Item " + nav_text)
Html("a", nav_text, href = url, title = _("Main Navigation Item ") + nav_text)
)
navigation += ul