← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 681889] Re: confirmation messages not set for translation

 

** Also affects: openobject-client/5.0
   Importance: Undecided
       Status: New

** Also affects: openobject-client/trunk
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/681889

Title:
  confirmation messages not set for translation

Status in OpenObject GTK Client:
  New
Status in OpenObject GTK Client 5.0 series:
  New
Status in OpenObject GTK Client trunk series:
  New

Bug description:
  In openerp-client/widget/view/form_gtk/one2many_list.py

There are the following lines:

            if self.screen.current_view.view_type == 'form':
                msg = 'Are you sure to remove this record ?'
            else:
                msg = 'Are you sure to remove those records ?'

As it's shown in this code, these lines are not set for translation, they should be enclosed with _() in order for them to get translated.





References