Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <bastien@blender.org>2021-11-02 19:00:23 +0300
committerBastien Montagne <bastien@blender.org>2021-11-02 19:02:33 +0300
commitcde982d672322ab816e90baaa2865ac54d23598d (patch)
treea3ed3d0c9fbce56ad2a20a525b722748cda9230d
parent6981bee2c77f826570df36e9e7cf90adfae4d409 (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.
-rw-r--r--release/scripts/modules/bl_i18n_utils/settings.py2
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