Closed (fixed)
Project:
Site map
Version:
7.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Mar 2011 at 15:53 UTC
Updated:
19 May 2012 at 01:30 UTC
Jump to comment: Most recent file
Comments
Comment #1
blackdog commentedHere's a patch that runs the three core defined menus titles through t().
Comment #2
andypostmarked as duplicate #1094496: missing t()
Comment #3
andypostmarked as duplicate #1094496: missing t()
Comment #4
feo commented+1 for this solution, nobrainer
Confirmation of the bug.
Patch tested, problem was resolved.
Comment #5
andypostThis approach is wrong - core should not translate user-entered strings. I think module should use the same as node/add
Comment #6
andypostCore translates menu names so we should use the same as menu_block_info
Also there's a i18n code already comited in #1343588: Show menu names translated
current patch uses standard core's translation for menu names but allows i18n to work first
Comment #7
andypostMenu title should be check_plain()'ed because render layer does not do this so this leads to security issue - user input could be printed directly
Currently without i18n module a menu title is printed directly, so this issue MUST be fixed.
Comment #8
darrell_ulm commentedThis is fixed in the latest 7.x-1.x-dev release.