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.

CommentFileSizeAuthor
i18nmenu_theme_toggle.patch1.81 KByrocq

Comments

j0nathan’s picture

subscribing...

yrocq’s picture

Status: Patch (to be ported) » Needs review

Oops.

eltambo’s picture

ok, work

jose reyero’s picture

Status: Needs review » Fixed

Yes, this makes sense. Thank you.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.