Comment 20 for bug 933496

Revision history for this message
Pedro Manuel Baeza (pedro.baeza) wrote :

I have checked deeply the patch, and it's correct. The problem with still untranslated terms comes from pot files: they are incorrect. Problem has been detected for example on purchase module from 6.1 addons. You have these comments in pot file for the msgid "Purchases" (term for the main menu):

#. module: purchase
#: model:ir.actions.act_window,name:purchase.action_purchase_line_product_tree

In es.po, you can find though this other ones:

#. module: purchase
#: model:ir.actions.act_window,name:purchase.action_purchase_line_product_tree
#: model:ir.actions.act_window,name:purchase.open_board_purchase
#: model:ir.ui.menu,name:purchase.menu_board_purchase
#: model:ir.ui.menu,name:purchase.menu_purchase_config

Which is logical, because these comments are synchronized from the translation focus branch (7.0 in this case), but there's must be one comment on pot file that is missing:

#: model:ir.ui.menu,name:base.menu_purchase_root

With this one and the patch, "Purchases" main menu is translated.

Exporting pot file from OpenERP interface, resulting file is equal, without that comment, so the problem seems to be with the export. I'm going to open another bug for reflecting this.

Regards.