Changes between Initial Version and Version 1 of Ticket #6756, comment 5
- Timestamp:
- Feb 12, 2015, 7:50:29 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #6756, comment 5
initial v1 13 13 and change get_navigation_items to yield using function to_unicode 14 14 15 {{{#!python 15 16 def get_navigation_items(self, req): 16 17 if 'SEARCH_VIEW' in req.perm: 17 18 yield ('mainnav', 'search', 18 19 tag.a(_('''to_unicode('search in your language')'''), href=req.href.search(), accesskey=4)) 20 }}} 19 21 20 22 it just works for me , to change main menu into Chinese.