diff options
author | Bastien Montagne <bastien@blender.org> | 2022-07-14 19:46:52 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2022-07-14 19:50:16 +0300 |
commit | b6de6da59afbf84b21df661d096f324360c763d7 (patch) | |
tree | 08f0d186c74191d639962c01f7d9eb7236b008ba /release/scripts/modules | |
parent | 3b15467e97abf473d4d25c7382999115d3169a57 (diff) |
I18n: Fix regex for messages from `BKE_modifier_set_error`.
Signature of this function changed at some point, regex to extract
messages from it was no longer working.
Reported/detected as part of D15418.
Diffstat (limited to 'release/scripts/modules')
-rw-r--r-- | release/scripts/modules/bl_i18n_utils/settings.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/modules/bl_i18n_utils/settings.py b/release/scripts/modules/bl_i18n_utils/settings.py index 7aeef80b0bd..9b38c512d31 100644 --- a/release/scripts/modules/bl_i18n_utils/settings.py +++ b/release/scripts/modules/bl_i18n_utils/settings.py @@ -248,7 +248,7 @@ PYGETTEXT_KEYWORDS = (() + tuple(("{}\\((?:[^\"',]+,){{3}}\\s*" + _msg_re + r"\s*\)").format(it) for it in ("BMO_error_raise",)) + - tuple(("{}\\((?:[^\"',]+,)\\s*" + _msg_re + r"\s*(?:\)|,)").format(it) + tuple(("{}\\((?:[^\"',]+,){{2}}\\s*" + _msg_re + r"\s*(?:\)|,)").format(it) for it in ("BKE_modifier_set_error",)) + # bUnitDef unit names. |