Alert messages no translated in 6.0

Bug #660494 reported by Jordi Esteve (www.zikzakmedia.com)
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Low
OpenERP R&D Addons Team 2
Odoo Server (MOVED TO GITHUB)
Fix Released
Low
OpenERP's Framework R&D

Bug Description

There are a lot of alert (error, warning) messages that are not setted to be translated in 6.0 with _('....'). It is important to fix them before releasing the RC1 of v.6.0 to allow the translations teams doing better his job.

$ grep -r "except_osv('" *
$ grep -r "except_osv(\"" *

account/account_cash_statement.py: raise osv.except_osv('Error', _('You can not have two open register for the same journal'))

auction/wizard/auction_pay_buy.py: raise osv.except_osv('Payment aborted !', 'You should pay all the total: "%.2f" are missing to accomplish the payment.' %(round(rest, 2)))

auction/wizard/auction_pay_buy.py: raise osv.except_osv('Error !', 'No auction date for "%s": Please set one.'%(lot.name))

auction/wizard/auction_catalog_flagey_report.py: raise osv.except_osv('Error!','No Lots belong to this Auction Date')

auction/wizard/auction_lots_numerotate.py: raise osv.except_osv('UserError', 'This record does not exist !')

auction/wizard/auction_lots_numerotate.py: raise osv.except_osv('UserError', 'This record does not exist !')

auction/wizard/auction_lots_numerotate.py: raise osv.except_osv('Error', 'This lot does not exist !')

auction/wizard/auction_lots_buyer_map.py: raise osv.except_osv('Error', 'No buyer is set for this lot.')

base/module/wizard/base_module_upgrade.py: raise osv.except_osv('Unmet dependency !', 'Following modules are uninstalled or unknown. \n\n'+'\n'.join(unmet_packages))

base/ir/ir_model.py: raise osv.except_osv('Invalid search criterions','The osv_memory field can only be compared with = and != operator.')

base/ir/ir_values.py: raise osv.except_osv('Error !','You do not have the permission to perform this operation !!!')

base/res/ir_property.py: raise osv.except_osv('Error', 'Invalid type')

base_calendar/base_calendar.py: raise osv.except_osv('Warning!', 'Interval can not be Negative')

base_calendar/base_calendar.py: raise osv.except_osv('Warning!', 'Count can not be Negative')

caldav/calendar.py: raise osv.except_osv('vobject Import Error!','Please install python-vobject \

document_webdav/webdav.py: raise osv.except_osv('PyWebDAV Import Error!','Please install PyWebDAV \

__init__.py: raise osv.osv.except_osv('Could not load base module', 'module base cannot be loaded! (hint: verify addons-path)')

l10n_ch/wizard/create_dta.py: raise osv.except_osv('Error', 'No address defined \n' \

grep: marketing_campaign_mailchimp: No such file or directory

olap/olap.py: raise osv.except_osv('Error (MySQLdb) : ', e)

olap/olap.py: raise osv.except_osv('Error (cx_Oracle) : ', e)

olap/olap.py: raise osv.except_osv('Error !', e)

olap/olap.py: raise osv.except_osv('Message', 'Connection Successful !')

olap/olap.py: raise osv.except_osv('Error (MySQLdb) : ', e)

olap/olap.py: raise osv.except_osv('Error (cx_Oracle) : ', e)

olap/olap.py: raise osv.except_osv('BI Error !', e)

olap/olap.py: raise osv.except_osv('MySQLdb Packages Not Installed.', e)

olap/olap.py: raise osv.except_osv('cx_Oracle Packages Not Installed.', e)

olap/wizard/wizard_load_data.py: raise osv.except_osv('MySQLdb Packages Not Installed.',e )

olap/wizard/wizard_load_data.py: raise osv.except_osv('cx_Oracle Packages Not Installed.',e )

point_of_sale/wizard/pos_discount.py: raise osv.except_osv('Error!','No Order Lines ')

purchase_requisition/wizard/purchase_requisition_partner.py: raise osv.except_osv('Error!','No Product in Tender')

stock/wizard/stock_fill_inventory.py: raise osv.except_osv('Error!','Stock Inventory is done')

marketing_campaign/marketing_campaign.py: raise osv.except_osv("Operation not supported", "Sorry, campaign duplication is not supported at the moment.")

Related branches

description: updated
description: updated
Changed in openobject-addons:
importance: Undecided → Low
milestone: none → 6.0-rc2
status: New → Confirmed
Changed in openobject-server:
status: New → Confirmed
importance: Undecided → Low
milestone: none → 6.0-rc2
Revision history for this message
xrg (xrg) wrote :

May I add a note, that some of the above messages are intended for the administrator (like "unmet dependency" etc.). These ones may be left in English, IMHO.
It should only be the user messages that worth translating.

Revision history for this message
Jordi Esteve (www.zikzakmedia.com) (jesteve-zikzakmedia) wrote :

xrg, I do not agree with your observation.

All the alert messages should be translated, including those defined in base module. If you translate all the "Adminstration" menu and submenus and all the objects related (users, groups. rules, modules, schedules, sequences, ...), to be coherent you must also translate the alert messages.

The administrators also speak other languages than English ;-)

Revision history for this message
Manu (manu-tiedra) wrote :

+1 to jordi

Changed in openobject-server:
assignee: nobody → OpenERP's Framework R&D (openerp-dev-framework)
Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 2 (openerp-dev-addons2)
Revision history for this message
Rucha (Open ERP) (rpa-openerp) wrote :

Hello it has been fixed for
Server:
in branch: lp:~openerp-dev/openobject-server/trunk-dev-framework
Revision-id: <email address hidden>
Revision no: 2257

Addons:
in branch: lp:~openerp-dev/openobject-addons/trunk-dev-addons2
Revision-id: <email address hidden>
Revision no: 3831

Thanks

Changed in openobject-addons:
status: Confirmed → Fix Committed
Changed in openobject-server:
status: Confirmed → Fix Committed
Revision history for this message
Fabien (Open ERP) (fp-tinyerp) wrote :

rpa, please use "fix released" and not "fix commited".
We don't use the fix commited tag.

Changed in openobject-server:
status: Fix Committed → Fix Released
Changed in openobject-addons:
status: Fix Committed → 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.