diff options
author | Bastien Montagne <bastien@blender.org> | 2021-11-02 19:00:23 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2021-11-02 19:02:33 +0300 |
commit | cde982d672322ab816e90baaa2865ac54d23598d (patch) | |
tree | a3ed3d0c9fbce56ad2a20a525b722748cda9230d /release/scripts/modules | |
parent | 6981bee2c77f826570df36e9e7cf90adfae4d409 (diff) |
I18n: Fix all new cpp files not being parsed by UI message extractor.
The 'new' `.cc`/`.hh` extensions were never added to UI message
extractor.
Related to T43295.
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 4825992b8e2..57aeef895b9 100644 --- a/release/scripts/modules/bl_i18n_utils/settings.py +++ b/release/scripts/modules/bl_i18n_utils/settings.py @@ -195,7 +195,7 @@ DOMAIN = "blender" # Our own "gettext" stuff. # File type (ext) to parse. -PYGETTEXT_ALLOWED_EXTS = {".c", ".cpp", ".cxx", ".hpp", ".hxx", ".h"} +PYGETTEXT_ALLOWED_EXTS = {".c", ".cc", ".cpp", ".cxx", ".hh", ".hpp", ".hxx", ".h"} # Max number of contexts into a BLT_I18N_MSGID_MULTI_CTXT macro... PYGETTEXT_MAX_MULTI_CTXT = 16 |