diff options
| author | Christophe Simonis <christophe@cobalt> | 2008-12-16 17:21:12 +0100 |
|---|---|---|
| committer | Christophe Simonis <christophe@cobalt> | 2008-12-16 17:21:12 +0100 |
| commit | 4d3b92861091a8eba72453bcf7a891eeadbfbdbe (patch) | |
| tree | 7045312a43a6a160c4704157026da26d6dca1145 /bin/addons/base/module/wizard/wizard_export_lang.py | |
| parent | 48bf6ab1e826123e667ffcd93fc6d50ccc8630cb (diff) | |
[FIX] translate help of fields in wizards
[FIX] fix unicode errors when exporting translations files
lp bug: https://launchpad.net/bugs/308563 fixed
lp bug: https://launchpad.net/bugs/308644 fixed
bzr revid: christophe@cobalt-20081216162112-75r2kaflg3af0xxb
Diffstat (limited to 'bin/addons/base/module/wizard/wizard_export_lang.py')
| -rw-r--r-- | bin/addons/base/module/wizard/wizard_export_lang.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/addons/base/module/wizard/wizard_export_lang.py b/bin/addons/base/module/wizard/wizard_export_lang.py index 046b9ccb4dc..b7250762bcd 100644 --- a/bin/addons/base/module/wizard/wizard_export_lang.py +++ b/bin/addons/base/module/wizard/wizard_export_lang.py @@ -62,7 +62,7 @@ class wizard_export_lang(osv.osv_memory): this.advice = _('Save this document to a .tgz file. This archive containt UTF-8 %s files and may be uploaded to launchpad.') % (ext,) this.name = "%s.%s" % (this.lang or _('new'), this.format) - out=base64.encodestring(buf.getvalue().encode('utf8')) + out=base64.encodestring(buf.getvalue()) buf.close() return self.write(cr, uid, ids, {'state':'get', 'data':out, 'advice':this.advice, 'name':this.name}, context=context) |
