Translate sub menu item
This commit is contained in:
parent
f3ada439fa
commit
493626336f
1 changed files with 1 additions and 0 deletions
|
@ -83,6 +83,7 @@ def menuitems_children(parent, context=None):
|
||||||
items_to_remove.append(menuitem)
|
items_to_remove.append(menuitem)
|
||||||
elif 'mitglied werden' in menuitem.title.lower() and remove_mitglied:
|
elif 'mitglied werden' in menuitem.title.lower() and remove_mitglied:
|
||||||
items_to_remove.append(menuitem)
|
items_to_remove.append(menuitem)
|
||||||
|
menuitem.title = menuitem.trans_title
|
||||||
except AttributeError as ae:
|
except AttributeError as ae:
|
||||||
pass
|
pass
|
||||||
for item in items_to_remove:
|
for item in items_to_remove:
|
||||||
|
|
Loading…
Reference in a new issue