Remove title case for menuitem title
This commit is contained in:
parent
d1eecee951
commit
3f46a5c25f
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ def menuitems_children(parent):
|
||||||
for menuitem in menuitems_children:
|
for menuitem in menuitems_children:
|
||||||
try:
|
try:
|
||||||
if type(menuitem) == ContactForm:
|
if type(menuitem) == ContactForm:
|
||||||
menuitem.title = menuitem.title.title()
|
menuitem.title = menuitem.title
|
||||||
else:
|
else:
|
||||||
menuitem.title = menuitem.trans_title
|
menuitem.title = menuitem.trans_title
|
||||||
if 'devenez' in menuitem.title.lower() and remove_devenez:
|
if 'devenez' in menuitem.title.lower() and remove_devenez:
|
||||||
|
|
Loading…
Reference in a new issue