[FIX] unicode error
lp bug: https://launchpad.net/bugs/312726 fixed bzr revid: christophe@cobalt-20090102203105-iq3w587c5ysveqit
This commit is contained in:
parent
0b14d89e15
commit
eaf486c484
|
@ -455,7 +455,7 @@ class rml_parse(object):
|
|||
if len(source_string):
|
||||
translated_string = transl_obj._get_source(self.cr, self.uid, self.name, 'rml', lang, source_string)
|
||||
if translated_string:
|
||||
piece_list[pn] = piece_list[pn].replace(source_string, translated_string.decode('utf8'))
|
||||
piece_list[pn] = piece_list[pn].replace(source_string, translated_string)
|
||||
text = ''.join(piece_list)
|
||||
for key in res:
|
||||
newtext = self._eval(key)
|
||||
|
|
Loading…
Reference in New Issue