msgstr in .pot file must be '' while exporting template translation

Bug #627299 reported by Christophe CHAUVET
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
Fix Released
High
Anup(SerpentCS)

Bug Description

OpenObject: 5.0
Server revno: 2096
Addons revno: 2831
Client revno: 1088
Web revno: 2920

I found a regression in revision 2086 when export a template translation,
now the msgstr is fill and made a bad behavior when merge an existing PO file

in template file (POT), msgstr must only containt ""

eg:
msgid "test"
msgstr ""

regards,
--------------8<---------------8<-------------
revno: 2086
fixes bug(s): https://launchpad.net/bugs/608029
author: ACH(OpenERP),ViktorNagy
committer: Jay(Open ERP)<email address hidden>
branch nick: 5.0
timestamp: Mon 2010-07-26 18:12:56 +0530
message:
  [FIX] Translation should not fail if lang=False is passed anyhow
--------------8<---------------8<-------------

Distribution: Ubuntu
Version: 9.10 (karmic)
Python 2.6.4

Locale:
  LANG=fr_FR.UTF-8

Related branches

Revision history for this message
Anup(SerpentCS) (anup-serpent) wrote :

Hello Christophe,

    We confirm the issue, thanks for reporting.
    We will come with a solution soon.

Thanks.

Changed in openobject-server:
assignee: nobody → Anup (OpenERP) (ach-openerp)
Revision history for this message
Anup(SerpentCS) (anup-serpent) wrote :

Hello Christophe,

    I have found a solution for it. Would you please apply the attached patch and check it.

Thanks

Changed in openobject-server:
status: Confirmed → In Progress
Revision history for this message
Anup(SerpentCS) (anup-serpent) wrote :
Revision history for this message
Christophe CHAUVET (christophe-chauvet) wrote :

Hi Anup

I've check the export of template (POT) and after an export of french language, and both works fine

You can apply your patch

Thanks

Regards,

summary: - [5.0] regression when export template translation
+ msgstr in .pot file must be '' while exporting template translation
Revision history for this message
Anup(SerpentCS) (anup-serpent) wrote :

Hello Christophe,

   It has been fixed by revision 2097 <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.