{"push_id":706692752,"size":1,"distinct_size":1,"ref":"refs/heads/master-i18n-rco","head":"18f0e81ddb3af9b7960347971d1f1286365ef8a3","before":"bed5873ef6e0f2d5775ee0e1b02fa9412dec3803","commits":[{"sha":"18f0e81ddb3af9b7960347971d1f1286365ef8a3","author":{"email":"fcee45b878db1f337818c5c606c1542797080a40@openerp.com","name":"Raphael Collet"},"message":"[IMP] translate: translation optionally wrap translated terms inside a <span>\n\nNote: We do not translate `<a>` elements inline.  Translating `<a>` elements is\ntriggering issues in the website editor tool: menu items are screwed up.  The\nmenu items are handled by bootstrap, which expects menu items to be `<a>`\nelements inside `<li>` inside `<ul>` elements.  The introduction of a `<span>`\nin the middle of this hierarchy breaks its functionality.  Therefore we decided\nto not translate `<a>` elements inline.\n\nWhen invoking `read()` with `'website_editor`' in the context, missing\ntranslations are automatically created, so that translated terms are always\nwrapped as `<span data-oe-translation-id=\"...\">...</span>`.","distinct":true,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/18f0e81ddb3af9b7960347971d1f1286365ef8a3"}]}