Merge lp:~openerp-dev/openobject-server/6.0-opw-586036-ado into lp:openobject-server/6.0

Proposed by Amit Dodiya (OpenERP)
Status: Rejected
Rejected by: Martin Trigaux (OpenERP)
Proposed branch: lp:~openerp-dev/openobject-server/6.0-opw-586036-ado
Merge into: lp:openobject-server/6.0
Diff against target: 12 lines (+1/-1)
1 file modified
bin/tools/translate.py (+1/-1)
To merge this branch: bzr merge lp:~openerp-dev/openobject-server/6.0-opw-586036-ado
Reviewer Review Type Date Requested Status
Xavier ALT Pending
Naresh(OpenERP) Pending
Review via email: mp+147307@code.launchpad.net

Description of the change

Hello,

"[FIX] Data Error while installing language which has accented character for term in po file"

Issue:
When we have accented character in translation terms the system gives trace-back while installing that language.

Regards,
Amit Dodiya

To post a comment you must log in.
Revision history for this message
Martin Trigaux (OpenERP) (mat-openerp) wrote :

The files should be in UTF8, no issue if it's the case

Unmerged revisions

3655. By Amit Dodiya (OpenERP)

[FIX] Data Error while installing language which has accented charachter in po file

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'bin/tools/translate.py'
2--- bin/tools/translate.py 2012-06-29 10:38:34 +0000
3+++ bin/tools/translate.py 2013-02-08 07:20:26 +0000
4@@ -919,7 +919,7 @@
5 for i in range(len(f)):
6 if f[i] in ('module',):
7 continue
8- dic[f[i]] = row[i]
9+ dic[f[i]] = tools.ustr(row[i])
10
11 try:
12 dic['res_id'] = dic['res_id'] and int(dic['res_id']) or 0