Strings to translate split in several lines with / are wrong extracted.

Bug #606708 reported by Jordi Esteve (www.zikzakmedia.com)
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Low
OpenERP's Framework R&D

Bug Description

Strings to translate in the code (inside _(...) ) that are split in several lines with / are wrong extracted.

For example, module account, file account.py, line 1071

                        _('There is no default default debit account defined \n' \
                                'on journal "%s"') % move.journal_id.name)

is extracted as

There is no default default credit account defined
' \n 'on journal "%s"

BTW, original English messages in lines 1071 and 1078 have the word "default" duplicated.

Changed in openobject-addons:
assignee: nobody → OpenERP's Framework R&D (openerp-dev-framework)
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Olivier Dony (Odoo) (odo-openerp) wrote :

Hello Jordi,

This has been fixed in the recent improvements of the translation engine.
All translations templates have also been cleaned up of spurious terms now.

Thanks for reporting!

Changed in openobject-addons:
milestone: none → 6.0-rc2
status: Confirmed → 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.