Closed (fixed)
Project:
Internationalization
Version:
6.x-1.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Nov 2009 at 22:13 UTC
Updated:
8 Dec 2009 at 16:40 UTC
i18nmenu doesn't check if primary and secondary links have been enabled in the theme settings before translating them. It causes the menus to appear even if they have been disabled for the theme. The attached patch fixes the problem by doing the translation only if theme_get_setting('toggle_primary_links') or theme_get_setting('toggle_secondary_links') is TRUE.
| Comment | File | Size | Author |
|---|---|---|---|
| i18nmenu_theme_toggle.patch | 1.81 KB | yrocq |
Comments
Comment #1
j0nathan commentedsubscribing...
Comment #2
yrocq commentedOops.
Comment #3
eltambo commentedok, work
Comment #4
jose reyero commentedYes, this makes sense. Thank you.