← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

I'm attaching a patch that adds the possiblity of translation for the
messages mentioned.

Even though I did it for a 5.0.X client, it the code in the 6.0 series
hasn't changed for this, so it should apply there as well.

Please remember to do whatever you have to do to notify translators
after it's applied.

** Patch added: "Patch to set the two strings as translatable."
   https://bugs.launchpad.net/openobject-client/+bug/681889/+attachment/1746166/+files/translation-openerp-client.diff

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





References