Fixes in admin
This commit is contained in:
parent
b0881e7267
commit
e10b5295bd
6 changed files with 39 additions and 1 deletions
|
|
@ -157,8 +157,12 @@ class PTemplate:
|
|||
#print(path.basename(module_env)+' '+base_name+'/languages/')
|
||||
|
||||
self.l=PGetText(module_env+'/app.py')
|
||||
|
||||
self.i18n=I18n(module_env)
|
||||
|
||||
self.add_filter(self._)
|
||||
|
||||
self.add_filter(self.i18n.tlang)
|
||||
|
||||
def _(self, text):
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue