Useless _('...') in _constraints messages (v. 6.0)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Low
|
OpenERP R&D Addons Team 2 |
Bug Description
There are some useless _('...') in _constraints and _sql_constraints messages (v. 6.0) that could be removed. I suppose that the English texts extracted from this messages to create .pot files will be wrong if _('...') are no removed.
$ grep -r " _constraints" * -A 1|grep "_("
account/account.py- (_check_percent, _('Percentages for Payment Term Line must be between 0 and 1, Example: 0.02 for 2% '), ['value_amount']),
marketing_
marketing_
product/
project/project.py- (_check_recursion, _('Error ! You cannot create recursive tasks.'), ['parent_ids'])
$ grep -r "sql_constraints" * -A 1|grep "_("
base/res/
email_template/
stock/stock.py- ('name_ref_uniq', 'unique (name, ref)', _('The combination of serial number and internal reference must be unique !')),
Changed in openobject-addons: | |
assignee: | nobody → OpenERP R&D Addons Team 2 (openerp-dev-addons2) |
Changed in openobject-addons: | |
status: | Fix Committed → Fix Released |
Sorry, I don't understand how this is useless, can't _constraints and _sql_constraints be translated?
Lionel