Do not crash on ValueError in gettext
Following #12370, `trytond.i18n.gettext` should not crash when the string formatting fails for `ValueError` (at least not in test mode).
issue