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.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user