Before this commit, some error messages and others messages are not translated. This commit uses the translation function to be able to translate those messages. task-3006627 closes odoo/odoo#105192 X-original-commit: 85ef44cd66474bf5dcda4d7478d566e462d1a550 Related: odoo/enterprise#33717 Signed-off-by: Xavier Bol (xbo) <xbo@odoo.com>