translation-format-interpolation (W8302)#
A string is formatted with .format() before it is translated.
Applies to Odoo 14.0 and later.
What it does#
Reports _("...".format(...)) and _("...").format(...).
Why is this bad?#
The formatted string is not in the translation catalogue, so it stays
untranslated. Pass the values as arguments to _().
Ruff’s INT002 (flake8-gettext) is similar, for _() only.