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>2021-03-22 13:48:31 +0300
committerBastien Montagne <bastien@blender.org>2021-03-22 13:50:15 +0300
commit7a05ebf84b35cb9af0f6618db489204f2adc3c60 (patch)
tree56f29bd9803b3c384e82f17df7d69a4fd6eccbbf /source/blender/blentranslation/intern/blt_translation.c
parent2e213003b84e6a9405b31443d769a79bb3060b40 (diff)
Fix T86405: Always translate when in `en_US` locale too.
The impact of translations on UI performances is neglectable, and this gives better handling of some odd cases where original language of an add-on is not English.
Diffstat (limited to 'source/blender/blentranslation/intern/blt_translation.c')
-rw-r--r--source/blender/blentranslation/intern/blt_translation.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blentranslation/intern/blt_translation.c b/source/blender/blentranslation/intern/blt_translation.c
index 00118bc72e6..b5c0addfdfa 100644
--- a/source/blender/blentranslation/intern/blt_translation.c
+++ b/source/blender/blentranslation/intern/blt_translation.c
@@ -81,7 +81,7 @@ const char *BLT_pgettext(const char *msgctxt, const char *msgid)
bool BLT_translate(void)
{
#ifdef WITH_INTERNATIONAL
- return BLI_thread_is_main() && (U.language != ULANGUAGE_ENGLISH);
+ return BLI_thread_is_main();
#else
return false;
#endif