[5.0] Malformed POT and PO file wwas generated

Bug #378690 reported by Christophe CHAUVET
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
Fix Released
Undecided
pap(openerp)

Bug Description

Server revno: 1735
Addons revno: 2321

I use wizard to export the POT and update my PO file with msgmerge, when check my PO file with "msgfmt -c fr_FR.po" sometime it tell me it was corrupt, that's because \ in __terp__.py description was non escape.

Problem appear on
* base_contact
* crm_profiling
* event
* hr_holidays

see my patch to correct this issue

----
Distribution: Ubuntu
Version: 8.10 (intrepid)
Python 2.5.2

Locale:
  LANG=fr_FR.UTF-8

Revision history for this message
Christophe CHAUVET (christophe-chauvet) wrote :
Changed in openobject-server:
status: New → Confirmed
Changed in openobject-server:
assignee: nobody → pap(openerp) (pap-openerp)
status: Confirmed → In Progress
Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Fixed by revision-id: <email address hidden> .
Thanks.

Changed in openobject-server:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.