Fixes in languages
This commit is contained in:
parent
2ba2ac6d37
commit
2f1d79ffc4
4 changed files with 6 additions and 6 deletions
|
|
@ -36,7 +36,7 @@ def pgettext(module_file):
|
|||
|
||||
base_name=os.path.dirname(os.path.realpath(module))
|
||||
|
||||
l=gettext.translation(os.path.basename(base_name), module+'/languages/', languages=I18n.dict_i18n, fallback=True)
|
||||
l=gettext.translation(os.path.basename(base_name), module+'/languages/', languages=I18n.get_default_lang(), fallback=True)
|
||||
|
||||
return l.gettext
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue