[IMP] ir_ui_view: move xml translation function to openerp.tools.translate