Fixes in dashbord

This commit is contained in:
Antonio de la Rosa 2021-12-20 18:27:48 +01:00
parent dc3eb1c89b
commit 1b39c3662d
2 changed files with 5 additions and 2 deletions

View file

@ -51,10 +51,13 @@ class I18n:
return lang
@staticmethod
def lang(module, symbol, text_default, lang=None):
def lang(module, symbol, text_default):
"""
if not lang:
lang=I18n.get_default_lang()
"""
lang=I18n.get_default_lang()
I18n.l[lang]=I18n.l.get(lang, {})