← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

Hello Margarita Manterola,

Thanks for patch and the report. It has been applied in lp:~openerp-dev/openobject-client/trunk-dev-client
with revision-info as 1388 nch@xxxxxxxxxxx-20101207125621-35ttselfb3xuyjud
and will be merged soon to the trunk client.


Thanks,

** Changed in: openobject-client/trunk
       Status: In Progress => Fix Released

-- 
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