diff options
author | Bastien Montagne <bastien@blender.org> | 2022-08-29 12:05:03 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2022-08-29 12:05:03 +0300 |
commit | 7bb08882ecec93048bf04d36c7baabd31f341c7a (patch) | |
tree | 7470eb06cd718d2e280acf61e28ef300cc15dcfd /release/scripts/modules/bl_i18n_utils | |
parent | 7b56c74881060d4e5681e2134a5eb5ba36cc2b3d (diff) |
I18n: Better wording for the skipped languages in language menu file.
Diffstat (limited to 'release/scripts/modules/bl_i18n_utils')
-rwxr-xr-x | release/scripts/modules/bl_i18n_utils/utils_languages_menu.py | 10 |
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: |