Warning message about UL can't be translated in sale

Bug #680577 reported by Numérigraphe
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Low
OpenERP R&D Addons Team 1

Bug Description

In the trunk near or at line 1060, there is a warning message that is hard to translate because :
- the string is split in lots of smaller strings
- the term "UL" is a French acronym for "Unité Logistique", and should be replaced with "Shipping Unit"

I suggest you change :
                warn_msg = warn_msg + "\n\n" + _("EAN: ") + str(ean) + _(" Quantity: ") + str(qty_pack) + _(" Type of ul: ") + str(type_ul.name)
to something like :
                warn_msg = _("%s\n\nEAN: %s Quantity: %s Type of Shipping Unit: %s") % (warn_msg, str(ean), str(qty_pack), type_ul.name)

Lionel Sausin.

Tags: wording

Related branches

tags: added: wording
Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 1 (openerp-dev-addons1)
importance: Undecided → Low
status: New → Confirmed
ssi (Open ERP) (ssi)
Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
ssi (Open ERP) (ssi) wrote :

Hello Numérigraphe,

Its fixed in https://code.launchpad.net/~openerp-dev/openobject-addons/ssi-dev-addons1

Soon it will be merged into main addons.

Thanks for notifying us.

Changed in openobject-addons:
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.