Official add-ons: fix printf-style format translation for i18n
commit27ee4329658590cba7917d2aaa825fdb8faf849f
authorDamien Picard <pioverfour>
Tue, 15 Nov 2022 10:12:25 +0000 (15 11:12 +0100)
committerBastien Montagne <bastien@blender.org>
Tue, 15 Nov 2022 10:13:22 +0000 (15 11:13 +0100)
tree94596ac3158b665d56d19d6a145972580d27c9e0
parent61ff4faf8c7d01fa8e12717f0242faea94e0ccf6
Official add-ons: fix printf-style format translation for i18n

Following up to D15615, I noticed that many messages are either
properly extracted, but not translated due to the use of printf-style
formatting in strings, or not extracted at all. Using the pgettext
function explicitly before formatting fixes that.

Since the affected messages are already extracted, no additional work
is needed from translators.

Reviewed By: mont29

Differential Revision: https://developer.blender.org/D16373
blender_id/__init__.py
io_anim_bvh/import_bvh.py
io_curve_svg/import_svg.py
io_import_images_as_planes.py
io_scene_fbx/export_fbx_bin.py
io_scene_fbx/import_fbx.py