← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

** Branch linked: lp:~openerp-dev/openobject-client/trunk-dev-client

-- 
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:
  Fix Released
Status in OpenObject GTK Client 5.0 series:
  Won't Fix
Status in OpenObject GTK Client trunk series:
  Fix Released

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