← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 660494] [NEW] Alert messages no translated in 6.0

 

Public bug reported:

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.")

** Affects: openobject-addons
     Importance: Undecided
         Status: New

** Description changed:

  There are a lot of alert (error, warning) messages that are not setted
  to be translated in 6.0 with _('text ....'). 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('" *
  
- 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' \
+ 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
+ (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('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.")
+ 
+ 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.")

** Description changed:

  There are a lot of alert (error, warning) messages that are not setted
- to be translated in 6.0 with _('text ....'). It is important to fix them
+ 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'))
+ 
+ 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.")

-- 
Alert messages no translated in 6.0
https://bugs.launchpad.net/bugs/660494
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP OpenObject.

Status in OpenObject Addons Modules: New

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.")







Follow ups

References