← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 681889] [NEW] confirmation messages not set for translation

 

Public bug reported:

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.

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

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

Status in OpenObject GTK Client: 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.





Follow ups

References