Translate Error and Warning dialog titles (7.0 lp:1297525)

https://github.com/odoo/odoo/pull/22