Fixes in default lang
This commit is contained in:
parent
9cd3ada7b4
commit
3596838864
6 changed files with 35 additions and 21 deletions
|
|
@ -52,7 +52,7 @@ class PGetText:
|
|||
|
||||
PGetText.l[module_name][i]=gettext.translation(module_name, module_dir+'/languages/', languages=[i], fallback=True)
|
||||
PGetText.l[module_name][i].install()
|
||||
|
||||
|
||||
self.module=module_name
|
||||
|
||||
def gettext(self, text):
|
||||
|
|
@ -170,3 +170,4 @@ class I18n:
|
|||
|
||||
return json.dumps(arr_final)
|
||||
|
||||
common_pgettext=PGetText(__file__)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue