[Bf-blender-cvs] [7bb08882ece] blender-v3.3-release: I18n: Better wording for the skipped languages in language menu file.
Bastien Montagne
noreply at git.blender.org
Mon Aug 29 12:45:00 CEST 2022
Commit: 7bb08882ecec93048bf04d36c7baabd31f341c7a
Author: Bastien Montagne
Date: Mon Aug 29 11:05:03 2022 +0200
Branches: blender-v3.3-release
https://developer.blender.org/rB7bb08882ecec93048bf04d36c7baabd31f341c7a
I18n: Better wording for the skipped languages in language menu file.
===================================================================
M release/scripts/modules/bl_i18n_utils/utils_languages_menu.py
===================================================================
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:
More information about the Bf-blender-cvs
mailing list