From e070ff45c45c7aa9c5f14b3bcefddb5458ea8245 Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Tue, 31 Oct 2023 15:11:33 +0100 Subject: [PATCH] I18N/UI: Work around #114080: Lack of Khmer script in built-in fonts. Khmer was added for this release and is barely translated yet (about 1%), so it's not too bad. We will ensure that the Khmer script is added to our default font for 4.1, but this is too late for 4.0. --- locale/languages | 4 ++-- scripts/modules/bl_i18n_utils/settings.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/locale/languages b/locale/languages index 52eedf683ff..c16fa37eda8 100644 --- a/locale/languages +++ b/locale/languages @@ -50,7 +50,7 @@ 31:Hungarian (Magyar):hu_HU 27:Indonesian (Bahasa indonesia):id_ID # Skipped (see IMPORT_LANGUAGES_SKIP in settings.py). #44:Kazakh (Қазақша):kk_KZ -50:Khmer (ខ្មែរ):km +# Skipped (see IMPORT_LANGUAGES_SKIP in settings.py). #50:Khmer (ខ្មែរ):km 29:Kyrgyz (Кыргыз тили):ky_KG 25:Nepali (नेपाली):ne_NP 3:Dutch (Nederlands):nl_NL @@ -64,4 +64,4 @@ 46:Thai (ภาษาไทย):th_TH 30:Turkish (Türkçe):tr_TR # Skipped (see IMPORT_LANGUAGES_SKIP in settings.py). #39:Uzbek Cyrillic (Ўзбек):uz_UZ@cyrillic -# Skipped (see IMPORT_LANGUAGES_SKIP in settings.py). #38:Uzbek (Oʻzbek):uz_UZ@latin \ No newline at end of file +# Skipped (see IMPORT_LANGUAGES_SKIP in settings.py). #38:Uzbek (Oʻzbek):uz_UZ@latin diff --git a/scripts/modules/bl_i18n_utils/settings.py b/scripts/modules/bl_i18n_utils/settings.py index 0ffa27c53f6..4970a67d8a9 100644 --- a/scripts/modules/bl_i18n_utils/settings.py +++ b/scripts/modules/bl_i18n_utils/settings.py @@ -104,7 +104,7 @@ IMPORT_MIN_LEVEL = 0.0 # Languages in the working repository that should not be imported in the Blender one currently... IMPORT_LANGUAGES_SKIP = { - 'am_ET', 'et_EE', 'ro_RO', 'uz_UZ@latin', 'uz_UZ@cyrillic', 'kk_KZ', + 'am_ET', 'et_EE', 'ro_RO', 'uz_UZ@latin', 'uz_UZ@cyrillic', 'kk_KZ', 'km', } # Languages that need RTL pre-processing.