diff options
author | Campbell Barton <campbell@blender.org> | 2022-05-19 03:02:28 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-05-19 04:17:01 +0300 |
commit | 30e666f747bae89d50029cbcc505ffa9a12ab05e (patch) | |
tree | 95dc266f0e2b7d990064005611f0088aa2e2611a /release/scripts/modules/bl_i18n_utils/settings.py | |
parent | ae2d2c9361614265db2fa6e2586346b1744a2399 (diff) |
Cleanup: format, reduce line length & strip trailing space
Diffstat (limited to 'release/scripts/modules/bl_i18n_utils/settings.py')
-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 58e7486b39b..57722d06ce5 100644 --- a/release/scripts/modules/bl_i18n_utils/settings.py +++ b/release/scripts/modules/bl_i18n_utils/settings.py @@ -256,7 +256,7 @@ PYGETTEXT_KEYWORDS = (() + # bUnitDef unit names. # NOTE: regex is a bit more complex than it would need too. Since the actual # identifier (`B_UNIT_DEF_`) is at the end, if it's simpler/too general it - # becomes extremely slow to process some (unrelated) source files. + # becomes extremely slow to process some (unrelated) source files. ((r"\{(?:(?:\s*\"[^\"',]+\"\s*,)|(?:\s*NULL\s*,)){4}\s*" + _msg_re + r"\s*,(?:(?:\s*\"[^\"',]+\"\s*,)|(?:\s*NULL\s*,))(?:[^,]+,){2}" + "\s*B_UNIT_DEF_[_A-Z]+\s*\}"),) + |