[Bf-blender-cvs] [67e5edbaa3c] blender-v3.0-release: Fix: Incorrect translation search for modifier error messages

Hans Goudey noreply at git.blender.org
Wed Nov 10 17:47:01 CET 2021


Commit: 67e5edbaa3c82b7aef1bd8061f945719401c9252
Author: Hans Goudey
Date:   Wed Nov 10 10:46:49 2021 -0600
Branches: blender-v3.0-release
https://developer.blender.org/rB67e5edbaa3c82b7aef1bd8061f945719401c9252

Fix: Incorrect translation search for modifier error messages

This function was renamed in rB2bb9a465e6c0e1ca765, but it looks like
that commit missed changing the corresponding translation regular
expression.

Differential Revision: https://developer.blender.org/D13171

===================================================================

M	release/scripts/modules/bl_i18n_utils/settings.py

===================================================================

diff --git a/release/scripts/modules/bl_i18n_utils/settings.py b/release/scripts/modules/bl_i18n_utils/settings.py
index 57aeef895b9..ac932fe38dc 100644
--- a/release/scripts/modules/bl_i18n_utils/settings.py
+++ b/release/scripts/modules/bl_i18n_utils/settings.py
@@ -264,7 +264,7 @@ PYGETTEXT_KEYWORDS = (() +
           for it in ("BMO_error_raise",)) +
 
     tuple(("{}\\((?:[^\"',]+,)\\s*" + _msg_re + r"\s*(?:\)|,)").format(it)
-          for it in ("modifier_setError",)) +
+          for it in ("BKE_modifier_set_error",)) +
 
     tuple((r"{}\(\s*" + _msg_re + r"\s*,\s*(?:" +
            r"\s*,\s*)?(?:".join(_ctxt_re_gen(i) for i in range(PYGETTEXT_MAX_MULTI_CTXT)) + r")?\s*\)").format(it)



More information about the Bf-blender-cvs mailing list