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>2022-08-29 13:45:14 +0300
committerBastien Montagne <bastien@blender.org>2022-08-29 13:45:14 +0300
commite4600500996a91e92d9c3b7c12fbf41c69baacf9 (patch)
treef1108d47e79219404ebf58198ad11e0007cbe7e0 /release/scripts/modules
parent613b6ad9e55fe904a90ba9166c8eb2fd654a8d85 (diff)
parent7bb08882ecec93048bf04d36c7baabd31f341c7a (diff)
Merge branch 'blender-v3.3-release'
Diffstat (limited to 'release/scripts/modules')
-rwxr-xr-xrelease/scripts/modules/bl_i18n_utils/utils_languages_menu.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/release/scripts/modules/bl_i18n_utils/utils_languages_menu.py b/release/scripts/modules/bl_i18n_utils/utils_languages_menu.py
index 833c46a732e..428b00ebc6c 100755
--- a/release/scripts/modules/bl_i18n_utils/utils_languages_menu.py
+++ b/release/scripts/modules/bl_i18n_utils/utils_languages_menu.py
@@ -9,12 +9,12 @@ import os
OK = 0
MISSING = 1
TOOLOW = 2
-FORBIDDEN = 3
+SKIPPED = 3
FLAG_MESSAGES = {
OK: "",
- MISSING: "No translation yet!",
- TOOLOW: "Not enough advanced to be included...",
- FORBIDDEN: "Explicitly forbidden!",
+ MISSING: "No translation yet.",
+ TOOLOW: "Not complete enough to be included.",
+ SKIPPED: "Skipped (see IMPORT_LANGUAGES_SKIP in settings.py).",
}
@@ -25,7 +25,7 @@ def gen_menu_file(stats, settings):
for uid_num, label, uid in settings.LANGUAGES:
if uid in stats:
if uid in settings.IMPORT_LANGUAGES_SKIP:
- tmp.append((stats[uid], uid_num, label, uid, FORBIDDEN))
+ tmp.append((stats[uid], uid_num, label, uid, SKIPPED))
else:
tmp.append((stats[uid], uid_num, label, uid, OK))
else: