Fixes in dashbord
This commit is contained in:
parent
dc3eb1c89b
commit
1b39c3662d
2 changed files with 5 additions and 2 deletions
|
|
@ -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, {})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue