Fix exporting of translations .tgz.
bzr revid: p_christ@hol.gr-20090516201039-ecpi4fnw0ux0qt75
This commit is contained in:
@@ -461,10 +461,7 @@ def trans_generate(lang, modules, dbname=None):
|
||||
|
||||
def_params = {
|
||||
'string': ('wizard_field', lambda s: [encode(s)]),
|
||||
'selection': ('selection', lambda s: [encode(e[1]) for e in
|
||||
(not callable(s) and s) or
|
||||
(callable(s) and s(None, cr, uid, {}))
|
||||
or [] ]),
|
||||
'selection': ('selection', lambda s: [encode(e[1]) for e in ((not callable(s)) and s or [])] ),
|
||||
'help': ('help', lambda s: [encode(s)]),
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user