From 7bb08882ecec93048bf04d36c7baabd31f341c7a Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Mon, 29 Aug 2022 11:05:03 +0200 Subject: I18n: Better wording for the skipped languages in language menu file. --- release/scripts/modules/bl_i18n_utils/utils_languages_menu.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'release') 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: -- cgit v1.2.3