Translate sub menu item

This commit is contained in:
PCoder 2024-08-25 12:52:02 +05:30
parent f3ada439fa
commit 493626336f

View file

@ -83,6 +83,7 @@ def menuitems_children(parent, context=None):
items_to_remove.append(menuitem)
elif 'mitglied werden' in menuitem.title.lower() and remove_mitglied:
items_to_remove.append(menuitem)
menuitem.title = menuitem.trans_title
except AttributeError as ae:
pass
for item in items_to_remove: