← Back to team overview

openerp-expert-localization team mailing list archive

updating openerp-client.mo

 

Hi all,

I suspect a problem with updating the openerp-client.mo files within
LC_MESSAGES.
Indeed the file
http://bazaar.launchpad.net/~openerp/openobject-client/trunk/files/head%3A/bin/share/locale/it/LC_MESSAGES/
was modified the 2010-12-13, while the file bin/po/it.po 4 days later:
http://bazaar.launchpad.net/~openerp/openobject-client/trunk/revision/1723
. So, this translation is still not present on client.
The translation of "OpenERP Search: %s (%%d result(s))" is
particularly important for us because, without manually modifying the
openerp-client.mo file, it is not possible to search records in a
many2one or many2many fields (with language set to Italian). We get
the following error

  File "/home/elbati/workspace/openerp/client/openobject-client/bin/modules/gui/window/win_search.py",
line 169, in update_title
    self.win.set_title(self.title_results % len(self.ids))
TypeError: not all arguments converted during string formatting

This is due to an old wrong translation containing only one parameter %s.

So, when the openerp-client.mo is supposed to be updated?

Thanks

-- 
Lorenzo Battistini                lorenzo.battistini@xxxxxxxxxxx
Via Pasture Genovesi, 16 - 6949  -  Comano  -  Switzerland
Mobile (IT): +39 3470013538
Agile Business Group sagl              http://www.agilebg.com



Follow ups